Jump to content

small script from AutoHotkey to AutoIt3


 Share

Recommended Posts

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!!!

Link to comment
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
Link to comment
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
Link to comment
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
 Share

  • Recently Browsing   0 members

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