Jump to content

Recommended Posts

Posted

if i wanted my script to click or tpye something,say everytime i pressed the (L key(example)) what would i have to have in the script for this to work?

Posted (edited)

Check the help file under the following headings

-Hotkeyset

-Send

-Mouseclick

If after you have read up on these topics and ur still completely lost, post some attempted code.

Im sure ppl will be more than happy to help, you after they know that you have tryed to help yourself

Edited by nova
Posted

thanks,ill look udner hotkeyset...I was just saying if i wanted to hit tab or something and stuff as a example..

Posted (edited)

Heres a fully commented example script, commented a bit too much maby :idiot:

all the same this should help you out.

Run this script and then press the TAB button ,a msg box will appear.

;Sets the Tab button as a hotkey, so as when its pressed, the function ShowMessage is called.
HotKeySet("{TAB}", "ShowMessage")

;This keeps the script open,so the hotkey is kept waiting to be pressed
While 1
    Sleep(100)
WEnd

;This is the function which is called by the hotkey TAB
Func ShowMessage()
    MsgBox(4096,"","This is a message.")
EndFunc

Enjoy

Edited by nova
Posted

What do you mean this-is-me ?

Are you saying that ive taken something from you ?

That code was taken from the helpfile and edited to suit his needs

What ever are you talking about ?

Posted

I though u wer refering to me :idiot:

I also didnt get the joke coz I was my pants frequently so I dont get Lint in my pockets :D

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
×
×
  • Create New...