Hi,
Really, the only thing i need to do is to redirect an auto screenshot image to the Desktop...
cheers
AGS is forbidden to save files anywhere outside the game folder, or special folders like User Documents and AppData (and for a reason...).
The only solution I could think of is to combine a batch script (*.bat) which moves image file from game folder to Desktop, and a Shell Plugin (http://www.adventuregamestudio.co.uk/forums/index.php?topic=30948.msg397988#msg397988). Use plugin to execute the batch
- something like
AGS Script:
ShellExecute("open", "move_to_desktop.bat", "image_file_name.bmp");
In bat file:
move %1 %USERPROFILE%\Desktop
hi Crimson,
QuoteAGS is forbidden to save files anywhere outside the game folder,
i was aware of this but thought there must be a way to hack it.. like you mentioned.
At the moment everything works as it should, saved screenshot with players name, date etc etc on a certificate...
cheers ;)