opening potplayer
press shortcut for opening window for inserting url (in my case its ctrl+z)
paste url
press enter
Code: Select all
Run C:\Program Files\DAUM\PotPlayer\PotPlayerMini64.exe
WinWaitActive, PotPlayer ahk_class PotPlayer64
Send, {LControl Down}
Sleep, 47
Send, {z}
Send, {LControl Up}
Sleep, 500
Send, {Enter}
i was hoping somebody here can help me find a better way for executing this task