Jump to content

Recommended Posts

Posted

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

Posted

"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.

Posted

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 :graduated:

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...