Sign in to follow this  
Followers 0
limelect

small script from AutoHotkey to AutoIt3

6 posts in this topic

I am new to AutoIt3 can you help me translate

this AutoHotkey script to AutoIt3

thanks

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.

SendMode Input ; Recommended for new scripts due to its superior speed and reliability.

SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

^1:: send,delphi

what it dose it just send the text "delphi" to text area when activated

with cntr 1

thanks

P.S i can disable the script on the toolbar important!!!

Share this post


Link to post
Share on other sites



To the text area of what?

Any text area of ANY !!! window

For Example if NotPad is open

on Any line where the mouse was last, there

the "Delphi" word will be placed.

Share this post


Link to post
Share on other sites

I think he just wants the 'Send' function JohnOne.

Limelect, read the helpfile, it's in there :x You must remember that most of the automation commands in AutoHotkey have similar counterparts in AutoIt (or vice versa), so looking up "Send" in the helpfile should have been the first step.

I think what you mean is:

HokeySet("^1", "_SendIt")

While 1
    Sleep(100)
WEnd

Func _SendIt()
    Send("delphi")
EndFunc

Share this post


Link to post
Share on other sites

I think he just wants the 'Send' function JohnOne.

Limelect, read the helpfile, it's in there :x You must remember that most of the automation commands in AutoHotkey have similar counterparts in AutoIt (or vice versa), so looking up "Send" in the helpfile should have been the first step.

I think what you mean is:

HokeySet("^1", "_SendIt")

While 1
    Sleep(100)
WEnd

Func _SendIt()
    Send("delphi")
EndFunc

Thank you guy 's that did it

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