Knewbee Posted August 20, 2017 Share Posted August 20, 2017 Hi, Can any one help me, this is what i want to do, i want to run the script only in that window and that window is not active, ill be sending key strokes and a mouse click. here is my script $f2:: Loop { Send, {f2} Sleep, 250 MouseClick, left, 406, 327 Sleep, 250 if GetKeyState("f2", "P") break } Link to comment Share on other sites More sharing options...
Danp2 Posted August 20, 2017 Share Posted August 20, 2017 This looks like an AutoHotkey script. Are you trying to rewrite it in AutoIT? Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Knewbee Posted August 20, 2017 Author Share Posted August 20, 2017 8 hours ago, Danp2 said: This looks like an AutoHotkey script. Are you trying to rewrite it in AutoIT? Yes, my friend told me that it is possible to run that scrip in AutoIT even if the window is minimized Link to comment Share on other sites More sharing options...
Danp2 Posted August 20, 2017 Share Posted August 20, 2017 While your friend may be correct, AutoIT is a completely different language so the script would need to be completely rewritten. BTW, what program are you trying to automate? Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
13lack13lade Posted August 20, 2017 Share Posted August 20, 2017 (edited) You will need to activate the window, or controlsend to that window. However, that's all the help your going to get considering this is definitely a gaming script..... Edited August 20, 2017 by 13lack13lade 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