How can I write a macro that clicks (places the caret) in the English edit box?
How to click in an edit box Topic is solved
Re: How to click in an edit box
NotePad Example:
HTH
Code: Select all
ControlFocus, Edit1, Untitled - Notepad
Re: How to click in an edit box
Thank you! I'm running this macro from TextPad and I can see that the text cursor is placed in the correct edit box. However, after that, the right mouse button click and the other commands are send to TextPad again.
How can I have them send to my Resource Editor?
How can I have them send to my Resource Editor?
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
^g::
ControlFocus, Edit4, Amax Resource Translator
sleep, 250
Click, Right
sleep, 250
sendinput {down}
sleep, 50
sendinput {down}
sleep, 50
sendinput {down}
sleep, 50
sendinput {down}
sleep, 50
sendinput {down}
sleep, 50
sendinput {down}
sleep, 50
sendinput {enter}
Click, Right
sleep, 250
sendinput {down}
sleep, 50
sendinput {down}
sleep, 50
sendinput {down}
sleep, 50
sendinput {enter}
- NovaRanger
- Posts: 68
- Joined: 23 Oct 2014, 02:05
Re: How to click in an edit box Topic is solved
Hi,
replace and
with and
replace
Code: Select all
sendinput {enter}
Code: Select all
Sendinput {down}
with
Code: Select all
controlsend, Edit4, {enter}, Amax Resource Translator
Code: Select all
controlsend, Edit4, {Down}, Amax Resource Translator
Who is online
Users browsing this forum: Google [Bot] and 323 guests