LordNeo Posted August 27, 2005 Share Posted August 27, 2005 (edited) Topic pretty much explains it all.. I want to send a keystroke to another window so i can have it running while I do something else. For instance, I want a script to send my F key to one window while I surf the net on firefox. Is there a way to do this? Edited August 27, 2005 by LordNeo Link to comment Share on other sites More sharing options...
BigDod Posted August 27, 2005 Share Posted August 27, 2005 Topic pretty much explains it all..I want to send a keystroke to another window so i can have it running while I do something else.For instance, I want a script to send my F key to one window while I surf the net on firefox.Is there a way to do this?<{POST_SNAPBACK}>Look at ControlSend in the help file. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
LordNeo Posted August 27, 2005 Author Share Posted August 27, 2005 I'm a bit new to v3. I've been using v2 for years now because it has worked for my needs. Well, what I'm trying to say is I don't really understand the ControlSend command. Could you give me an example of how to use it? Link to comment Share on other sites More sharing options...
BigDod Posted August 27, 2005 Share Posted August 27, 2005 Startup notepad then minimise it and run ControlSend("Untitled", "", "Edit1", "This is a line of text in the notepad window") Maximise notepad and see the result Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
LordNeo Posted August 27, 2005 Author Share Posted August 27, 2005 Yes, I have tried that example. What I do not understand is the Edit1. What does it mean and how do I know what to put there? Link to comment Share on other sites More sharing options...
BigDod Posted August 27, 2005 Share Posted August 27, 2005 Use AutoIT Window Info, click where you require to send the text to and it will show you the ControlID to use. Try using Notepad and look for Edit1. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
LordNeo Posted August 27, 2005 Author Share Posted August 27, 2005 Alright, I got it working thank you very much Link to comment Share on other sites More sharing options...
BigDod Posted August 27, 2005 Share Posted August 27, 2005 Alright, I got it working thank you very much <{POST_SNAPBACK}>No problem, just like to help, it helps me learn. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother 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