PostMessage Notepad PopUp

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
s0ftnauxz
Posts: 17
Joined: 12 Oct 2014, 16:06

PostMessage Notepad PopUp

Post by s0ftnauxz » 16 Sep 2021, 05:48

That exam work for uTorrent traypopup

Code: Select all

#IfWinActive, A
F1::   
SoundPlay, %A_WinDir%\Media\ding.wav	
DetectHiddenWindows On
PostMessage, WM_COMMAND := 0x111, UM := 60, 1,, µTorrent ;Resume All Torrents \xb5Torrent key=1:&Hide/Show µTorrent-ID=60
return

Code: Select all

#IfWinActive, A  ; for MainMenu of Notepad working, but for PopUp not :(
F1::
PostMessage, 0x111, 2, 1,, ahk_class Notepad ;2:&Open...	CTRL+O-ID=2  
return
i stuck in PASTE of Popup (RightClick mouse) for Notepad, code bellow dont work.

Code: Select all

PostMessage, WM_COMMAND := 0x111, UT := 770, 1, Notepad ;Notepad Popup - 5:Paste-ID=770

Return to “Ask for Help (v1)”