Doman 0 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. Share this post Link to post Share on other sites
Fubarable 1 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 Share this post Link to post Share on other sites
somdcomputerguy 103 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. Share this post Link to post Share on other sites
pyzonet 0 Posted January 23, 2011 Would you like to have a seat and help yourself to some donuts while we create some code for you? Example Script(s): Export Listview to Excel & Print!....(¯`v´¯)..... ·.¸.·´...¸.·´.. (☻//▌♥♥/ \ ... Wake up the dawn and ask her why ...╔══╗ ♥ ♫ ♥║██║ ♫ ♥ ♫║(O)║♥A dreamer dreams she never dies♥╚══╝۩۞۩ஜ1984'09ஜ۩۞۩ Share this post Link to post Share on other sites