I have several. The script I am writing pertains to Windows itself, and no games. The script will be used to automatically open a program from a directory and click buttons within the window. The script will need to be portable (includes must travel with it or be built in to the script)
1. How do I open a folder? All I could find here is how to execute a program. By the way, it didn't work in Windows 7
(Source: http://forums.scar-divi.com/showthread.php?1342-ExecProg-dll-Open-a-program-with-SCAR-Divi)
2. What would be the best way to read text (on a button) from Windows XP, Windows 7, Windows Vista (and all possible display settings)? Would I have to use tolerance, or would I have to make a procedure/function for each one and have it go through each one? OR could I get the version of windows+theme from a function and immediately run the correct procedure corresponding to it?
3. What would be the best way to open a flash drive with a specific label? Would I have to navigate to My Computer, or could I get it to use lower level functions to directly open the folder?
4. Can SCAR do things like grab a list of all open windows, like Task Manager? Say the program was running, but it got minimized. Or better yet, just have it launch task manager itself and re-maximize the program.
5. How can I get the correct %currentuser%/Desktop to work? I would like to copy both the program and script to the computer and let it open the folder right from the same folder or directory.
Can SCAR use the %currentuser% variable? I just want to be able to open the current user's desktop without the need for mouse movement.
Keep in mind that I am neither a noob to programming or SCAR, I'm just a little rusty since the last time I used it was in 2007. Good times, cutting those Draynor willows
Thanks guys!