Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoTrayIcon
- #If WinActive("ahk_class #32770") and WinActive("Notepad")
- ~LButton::
- ~NumpadEnter::
- ~Enter::
- ~Space::
- Sleep, 200
- #IfWinActive, ahk_class Notepad
- ~^s::
- WinWaitActive, ahk_class #32770
- IfWinActive, ahk_class #32770
- {
- ControlFocus, ComboBox3, ahk_class #32770
- Loop, 4
- {
- Send, u
- Sleep, 10
- ControlGetText, text, ComboBox3, ahk_class #32770
- If (text == "Unicode")
- break
- }
- ControlFocus, Edit1, ahk_class #32770
- }
- return
- #IfWinActive
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement