funkinater Posted February 5, 2010 Posted February 5, 2010 I am brand new to AutoIt, but was told this might be the tool I need to accomplish this task. I have a utility that I run daily (let's call it "x.exe" for purposes of this discussion) that, once ran from a command line, I always do the same keystrokes: * Type CV * Press Enter * Type 3 * Press Enter * Type Y * Press Enter Can some of you more experienced AutoIt guys point me in the right direction on how to accomplish this using an AutoIt script? Thanks for your help...
bogQ Posted February 5, 2010 Posted February 5, 2010 (edited) open help file on Index tupe "Send" and after you do some examples from the help file for that command and read remarks try "ControlSend" Edit: and there is also "ShellExecute" and "Run" in help file if i did not understand your question correctly. Edited February 5, 2010 by bogQ TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.
NerdFencer Posted February 5, 2010 Posted February 5, 2010 Run this script, when in the program, press Shift F5 HotKeySet("!{F5}","SendXKeystrokes") While 1 Sleep(15) WEnd Func SendXKeystrokes() Send("CV{enter}3{enter}Y{enter}") EndFunc _________[u]UDFs[/u]_________-Mouse UDF-Math UDF-Misc Constants-Uninstaller Shell
bogQ Posted February 5, 2010 Posted February 5, 2010 @NerdFencer that will not work if they did not change ! in last update Let the user test from help file first, if he have problems after that asist him with code TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.
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