limelect Posted January 11, 2011 Posted January 11, 2011 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!!!
JohnOne Posted January 11, 2011 Posted January 11, 2011 To the text area of what? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
limelect Posted January 11, 2011 Author Posted January 11, 2011 To the text area of what?Any text area of ANY !!! window For Example if NotPad is openon Any line where the mouse was last, therethe "Delphi" word will be placed.
JohnOne Posted January 11, 2011 Posted January 11, 2011 What is its behaviour if there are multiple text areas? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Mat Posted January 11, 2011 Posted January 11, 2011 I think he just wants the 'Send' function JohnOne. Limelect, read the helpfile, it's in there 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 AutoIt Project Listing
limelect Posted January 11, 2011 Author Posted January 11, 2011 I think he just wants the 'Send' function JohnOne. Limelect, read the helpfile, it's in there 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now