Code: Select all
SetTitleMatchMode, RegEx
Code: Select all
SetTitleMatchMode, 2
Code: Select all
SetTitleMatchMode, RegEx
Code: Select all
SetTitleMatchMode, 2
Code: Select all
SetTitleMatchMode, RegEx
SetTitleMatchMode, 2
WinActivate, .otepad
Code: Select all
SetTitleMatchMode, RegEx
Numpad2::
IfWinActive ^.*Browse.*$
Send 1
Return
Code: Select all
SetTitleMatchMode, 2
Numpad3::
WinGet, ExStyle, ExStyle, ahk_exe mpv.exe
If (ExStyle & 0x8)
winSet, alwaysOnTop, toggle, a
Send {LCtrl Down}{LShift Down}{LAlt Down}{LWin Down}{scB}{LCtrl Up}{LShift Up}{LAlt Up}{LWin Up}
retur
Code: Select all
SetTitleMatchMode, RegEx
Numpad2::
IfWinActive ^.*Browse.*$
Send 1
Return
SetTitleMatchMode, 2
Numpad3::
WinGet, ExStyle, ExStyle, ahk_exe mpv.exe
If (ExStyle & 0x8)
winSet, alwaysOnTop, toggle, a
Send 2
Return
Code: Select all
SetTitleMatchMode, RegEx
Numpad2::
IfWinActive ^.*Browse.*$
Send 1
Return
SetTitleMatchMode, 2
Numpad3::
WinGet, ExStyle, ExStyle, ahk_exe mpv.exe
If (ExStyle & 0x8)
winSet, alwaysOnTop, toggle, a
Send 2
Return
Code: Select all
SetTitleMatchMode, RegEx
Numpad2::
IfWinActive ^.*Browse.*$
Send 1
Return
Code: Select all
SetTitleMatchMode, 2
Numpad3::
WinGet, ExStyle, ExStyle, ahk_exe mpv.exe
If (ExStyle & 0x8)
winSet, alwaysOnTop, toggle, a
Send 2
Return
SetTitleMatchMode, RegEx
Numpad2::
IfWinActive ^.*Browse.*$
Send 1
Return
Code: Select all
etTitleMatchMode, 2
Numpad3::
WinGet, ExStyle, ExStyle, ahk_exe mpv.exe
If (ExStyle & 0x8)
winSet, alwaysOnTop, toggle, a
Send 2
Return
Code: Select all
Numpad3::
WinGet, style, ExStyle, ahk_exe mpv.exe
If (style & 0x8)
WinSet, AlwaysOnTop,, A
Send 2
Return
Numpad2::
SetTitleMatchMode, RegEx
If WinActive("^.*Browse.*$")
Send 1
Return
Code: Select all
Numpad3::
Return
MsgBox, TEST
Numpad2::
Return
Code: Select all
Numpad3::
WinGet, style, ExStyle, ahk_exe mpv.exe
If (style & 0x8)
WinSet, AlwaysOnTop,, A
Send 2
Return
Numpad2::
SetTitleMatchMode, RegEx
If WinActive("^.*Browse.*$")
Send 1
Return
Code: Select all
Numpad3::
WinGet, style, ExStyle, ahk_exe mpv.exe
If (style & 0x8)
WinSet, AlwaysOnTop,, A
Send 2
Return
Numpad2::
SetTitleMatchMode, 2
Send % WinActive("Browse") ? "1" : ""
Return
Code: Select all
SetTitleMatchMode, 2
Numpad3::
WinGet, style, ExStyle, ahk_exe mpv.exe
If (style & 0x8)
WinSet, AlwaysOnTop,, A
Send 2
Return
Numpad2::Return
#IfWinActive Browse
Numpad2::Send 1
The ahk_exe format does not require setting the match mode.Every newly launched thread (such as a hotkey, custom menu item, or timed subroutine) starts off fresh with the default setting for this command. That default may be changed by using this command in the auto-execute section (top part of the script).
Code: Select all
Numpad1:: ; 1 F9 sc43
SetTitleMatchMode, RegEx
IfWinNotActive ahk_exe anki.exe
{
Send, {sc41} ; F7
Sleep 10
Send, {Space}
Return
}
else
{
WinActivate, ^.*Engvidshortcut.*$
}
Return
Code: Select all
Numpad1:: ; 1 F9 sc43
SetTitleMatchMode, RegEx
IfWinNotActive ahk_exe anki.exe
{
WinActivate, ^.*Engvidshortcut.*$
}
Return
Code: Select all
Numpad1:: ; 1 F9 sc43
SetTitleMatchMode, RegEx
IfWinNotActive ahk_exe anki.exe
{
Send, {sc41} ; F7
Sleep 10
Send, {Space}
Return
}
else
{
Sleep 100
WinActivate, ^.*Engvidshortcut.*$
Sleep 500
Send, {scA}
Sleep 500
Send 1
}
Return
Users browsing this forum: Bing [Bot], CoffeeChaton, GEOVAN and 171 guests