Code: Select all
#IfWinActive, ahk_exe msedge.exe
^f::^!l
^m::^f
!up::^+u
#IfWinActive
Code: Select all
SetTitleMatchMode, 2
#IfWinActive, Stylus
;nuovi tasti
#IfWinActive
Can you tell me what I'm doing wrong?
Thank you.
Code: Select all
#IfWinActive, ahk_exe msedge.exe
^f::^!l
^m::^f
!up::^+u
#IfWinActive
Code: Select all
SetTitleMatchMode, 2
#IfWinActive, Stylus
;nuovi tasti
#IfWinActive
Code: Select all
SetTitleMatchMode, 2
browser = msedge
exclude = Stylus
#If WinActive("ahk_exe" browser ".exe") && !WinActive(exclude)
^f::MsgBox, Test
#If
Code: Select all
#If WinActive("ahk_exe" browser ".exe") && !WinActive(exclude) && !WinActive(".pdf")
Code: Select all
SetTitleMatchMode, 2
GroupAdd, browser, ahk_exe msedge.exe
GroupAdd, exclude, Stylus
GroupAdd, exclude, .pdf
#If WinActive("ahk_group browser") && !WinActive("ahk_group exclude")
^f::MsgBox, Test
#If