Doman Posted January 22, 2011 Share Posted January 22, 2011 Hi all. I have a little problem and a question for u all. Is it possible to write a script that will send keys to 3 different windows with 3 different delays? I use 3 different scripts now and don't know how to write everything in one. If anyone can write it here I will be very thankfull. Script should start after pushing F11 key and stop after pushing it again. It should send "F1, move mouse cursor to X,Y coords in this window and left mouse click" every 0,1s for window named "Window1". It should send F2 every 59s to window named "Window2". It should send F3 every 119 to window named "Window3". Thanks for all help. Link to comment Share on other sites More sharing options...
Fubarable Posted January 22, 2011 Share Posted January 22, 2011 (edited) Hi all.I have a little problem and a question for u all.Is it possible to write a script that will send keys to 3 different windows with 3 different delays?I use 3 different scripts now and don't know how to write everything in one.AFAIK, send will only send to the active window. So this can work if you activate each window before sending the keys. The other option is to use ControlSend.If anyone can write it here I will be very thankfull.Script should start after pushing F11 key and stop after pushing it again.It should send "F1, move mouse cursor to X,Y coords in this window and left mouse click" every 0,1s for window named "Window1".It should send F2 every 59s to window named "Window2".It should send F3 every 119 to window named "Window3". Would you like to have a seat and help yourself to some donuts while we create some code for you?Seriously though, that's not how it works here. The someone who should write the code is you, and then if you have problems, please show your code. What is the goal of this program anyway? Why send this information to these three windows at odd times? Edited January 22, 2011 by Fubarable Link to comment Share on other sites More sharing options...
somdcomputerguy Posted January 22, 2011 Share Posted January 22, 2011 Would you like to have a seat and help yourself to some donuts while we create some code for you? - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
pyzonet Posted January 23, 2011 Share Posted January 23, 2011 Would you like to have a seat and help yourself to some donuts while we create some code for you? 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