novrizal1991 Posted December 8, 2010 Posted December 8, 2010 Hello, Can u help me to make a script autoit ? i just want to make a script auto it - i press f1 - wait 2 seconds - and script will press TAB key sorry, I'm just a newbie who wants to learn autoit T____T
JohnOne Posted December 8, 2010 Posted December 8, 2010 "Help me make a script" Sure, but you have to read up on the functions in the help file, deal? Heres how you write a simple function Func _myfunc() ;do some stuff, like run other functions or something EndFunc And heres how you call that function to do its stuff _myfunc() A loop can be used to keep a script running until it is called upon to do something, like this While 1 Sleep(10) WEnd You want to be looking at functions HotKeySet() Send() Sleep() AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
taietel Posted December 8, 2010 Posted December 8, 2010 Quote sorry, I'm just a newbie who wants to learn autoit T____TI could not help myself: novrizal1991, how would you define learn? Just curious... Things you should know first...In the beginning there was only ONE! And zero... Progs: Reveal hidden contents Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text
novrizal1991 Posted December 8, 2010 Author Posted December 8, 2010 While 1=1xxxxxxxxxxxxxSleep(1000)Send("{F1}")Sleep(2000)WEndi want to xxxxxxxxxxxxx = if i press Key F1 then press TABor use function if else ?how the code ?sorry for my bad english
JoHanatCent Posted December 8, 2010 Posted December 8, 2010 'novrizal1991 said: or use function if else ?how the code ? Try:Type this word into Scite without the quotation marks."HotKeySet"Press the special function key F1
KingNED Posted December 8, 2010 Posted December 8, 2010 On 12/8/2010 at 5:20 AM, 'novrizal1991 said: While 1=1 xxxxxxxxxxxxx Sleep(1000) Send("{F1}") Sleep(2000) WEnd i want to xxxxxxxxxxxxx = if i press Key F1 then press TAB or use function if else ? how the code ? sorry for my bad english This should be it: HotKeySet('{F1}', '_myFunc') Func _myFunc() Send('{TAB}') ConsoleWrite('TAB Pressed!') EndFunc While 1 Sleep(10) WEnd
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