KurogamineNox Posted September 21, 2010 Share Posted September 21, 2010 Okay, I want to make a quick and simple program so I need to know what I should use. In short There is 3 things. 2 different folders called Res Res - Custom What the 3rd thing is my program. I want it to when a window exists, It renames Res to Res - Original and change Res - Custom to Res, then when the window does not exist anymore, it changes Res back to Res - Custom and Res - Original to Res. What commands and stuff should I use? Link to comment Share on other sites More sharing options...
PsaltyDS Posted September 21, 2010 Share Posted September 21, 2010 WinExists() and DirMove(), see help file. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Varian Posted September 21, 2010 Share Posted September 21, 2010 Try thisWhile 1 WinWait('Your Window', '') DirMove('C:\Res', 'C:\Res - Original') DirMove('C:\Res - Custom', 'C:\Res') WinWaitClose('Your Window', '') DirMove('C:\Res', 'C:\Res - Custom') DirMove('C:\Res - Original', 'C:\Res') WEnd Link to comment Share on other sites More sharing options...
KurogamineNox Posted September 21, 2010 Author Share Posted September 21, 2010 Alright, thanks. Ill take a look into this. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now