How do I do Send key in AutoIt for Alt+NumXXXX?
For example, using AutoIt, I want to send the keystrokes Alt+Num0146 (the
smart apostrophe) and I try this, but it's not working:
Send ("!{NUMPAD0}{NUMPAD1}{NUMPAD4}{NUMPAD6}")
; change "Senza nome - Blocco note" with your notepad caption
Run("notepad.exe")
;Run("notepad.exe","", 3)
sleep(500)
AutoItSetOption("WinTitleMatchMode", 4)
WinWaitActive( "Senza nome - Blocco note", "", 5 )
ControlFocus ( "Senza nome - Blocco note","" , "Edit1" )
ControlSend("Senza nome - Blocco note","" ,"Edit1","{ASC 0126}")
send("{ASC 0146}")
; >>> C:\PROGRA~1\AUTOIT3\AUTOIT.CHM >> send
;To send UNICODE characters enter the character
;code (decimal or hex), for example this sends a Chinese character
; Send("{ASC 2709}") or Send("{ASC 0xA95}")
--
Fosco
Larry
"Fosco" <fa...@fake.invalid> wrote in message
news:ei6irm$uoo$1...@web.aioe.org...