Wolfshare Posted October 6, 2010 Posted October 6, 2010 Hello guys I have one qeuestion :)What command i should use to make a timer which will restart my script. Tried Or ($t = 60 but that doesn't work.
AlmarM Posted October 6, 2010 Posted October 6, 2010 (edited) A little bit more code could help. EDIT: Also, I think you might want to look at TimerInit, TimerDiff functions.Or even the _Timer_ UDF. Edited October 6, 2010 by AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
Wolfshare Posted October 6, 2010 Author Posted October 6, 2010 A little bit more code could help. EDIT: Also, I think you might want to look at TimerInit, TimerDiff functions. Or even the _Timer_ UDF. One sec, i'll ask why that doesn't work, why the Google Chrome not activing? :// WinActivate("Deposit file -„Google Chrome“")
PsaltyDS Posted October 6, 2010 Posted October 6, 2010 Does the title of that window really have the goofy tick marks around 'Google Chrome'? And what does that have to do with the original topic? 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
Wolfshare Posted October 6, 2010 Author Posted October 6, 2010 (edited) Does the title of that window really have the goofy tick marks around 'Google Chrome'?And what does that have to do with the original topic? it's in the same script Wait i'll show you screen shot of title. Edited October 6, 2010 by Wolfshare
PsaltyDS Posted October 6, 2010 Posted October 6, 2010 Do it in the other topic you opened on this specific issue. 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
trung0407 Posted October 6, 2010 Posted October 6, 2010 (edited) use partial match title WinActivate("Deposit file") for timer $tinit = TimerInit() ...do something If TimeDiff($tinit) > $a_duration Then ... do something Edited October 6, 2010 by trung0407
AlmarM Posted October 6, 2010 Posted October 6, 2010 Also, try using WinGetTitle("Deposit"). Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
Wolfshare Posted October 7, 2010 Author Posted October 7, 2010 use partial match title WinActivate("Deposit file") for timer $tinit = TimerInit() ...do something If TimeDiff($tinit) > $a_duration Then ... do something Thanks you alot, winactivate is working.
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