I'm using information from 'wiki.cheatengine.org/index.php?title=Lua:Class:SaveDialog' and didn't actually test this. By use I mean I've pretty much lifted the example and changed a couple of things to actually use the SaveClass.
Code:
local save_dialog = createSaveDialog(self)
save_dialog.InitalDir = os.getenv('%USERPROFILE%')
if save_dialog.execute() then
print(save_dialog.FileName)
end
You'd replace the 'print' text with most of the bit that saves the image. ie:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum