Sign in to follow this  
Followers 0
lint

telling scrip to start

9 posts in this topic

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?

Share this post


Link to post
Share on other sites



#2 ·  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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

#4 ·  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

Share this post


Link to post
Share on other sites

Will you please get out of my pockets? Sorry - couldn't resist.


Who else would I be?

Share this post


Link to post
Share on other sites

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 ?

Share this post


Link to post
Share on other sites

His name is lint - Need I say more?


Who else would I be?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Yea the more frequent I wash mine it seems the more lint I have.

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0