mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 18:38:26 +02:00
- Demo
This commit is contained in:
@@ -5,6 +5,8 @@
|
|||||||
DetectHiddenWindows, On
|
DetectHiddenWindows, On
|
||||||
Run, %A_ScriptDir%\detectUSB.ahk
|
Run, %A_ScriptDir%\detectUSB.ahk
|
||||||
|
|
||||||
|
Run, C:\Users\%A_UserName%\.keypressosd\KeypressOSD_kinto.ahk
|
||||||
|
|
||||||
; I_Icon = %A_ScriptDir%\assets\kinto-white.ico ; MacModifiers
|
; I_Icon = %A_ScriptDir%\assets\kinto-white.ico ; MacModifiers
|
||||||
; IfExist, %I_Icon% ; MacModifiers
|
; IfExist, %I_Icon% ; MacModifiers
|
||||||
; Menu, Tray, Icon, %I_Icon%,, 1 ; MacModifiers
|
; Menu, Tray, Icon, %I_Icon%,, 1 ; MacModifiers
|
||||||
@@ -48,6 +50,9 @@ tray_suspend(){
|
|||||||
Menu, Tray, Tip, Suspended - Kinto
|
Menu, Tray, Tip, Suspended - Kinto
|
||||||
IfWinExist, detectUSB.ahk
|
IfWinExist, detectUSB.ahk
|
||||||
WinClose
|
WinClose
|
||||||
|
IfWinExist, KeypressOSD_kinto.ahk
|
||||||
|
WinClose
|
||||||
|
Run, C:\Users\%A_UserName%\.keypressosd\KeypressOSD.ahk
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
menu, tray, unCheck, Suspend Kinto
|
menu, tray, unCheck, Suspend Kinto
|
||||||
@@ -55,6 +60,9 @@ tray_suspend(){
|
|||||||
; I_Icon = %A_ScriptDir%\assets\kinto-white-invert.ico ; WinModifiers
|
; I_Icon = %A_ScriptDir%\assets\kinto-white-invert.ico ; WinModifiers
|
||||||
Menu, Tray, Icon, %I_Icon%,,1
|
Menu, Tray, Icon, %I_Icon%,,1
|
||||||
Run, %A_ScriptDir%\detectUSB.ahk
|
Run, %A_ScriptDir%\detectUSB.ahk
|
||||||
|
IfWinExist, KeypressOSD.ahk
|
||||||
|
WinClose
|
||||||
|
Run, C:\Users\%A_UserName%\.keypressosd\KeypressOSD_kinto.ahk
|
||||||
}
|
}
|
||||||
; Refocus last active Window
|
; Refocus last active Window
|
||||||
Send {LAlt down}{tab}{LAlt up}
|
Send {LAlt down}{tab}{LAlt up}
|
||||||
@@ -63,7 +71,11 @@ tray_suspend(){
|
|||||||
Exit() {
|
Exit() {
|
||||||
IfWinExist, detectUSB.ahk
|
IfWinExist, detectUSB.ahk
|
||||||
WinClose
|
WinClose
|
||||||
|
IfWinExist, KeypressOSD.ahk
|
||||||
|
WinClose, C:\Users\%A_UserName%\.keypressosd\KeypressOSD.ahk ahk_class AutoHotkey
|
||||||
|
IfWinExist, KeypressOSD_kinto.ahk
|
||||||
|
WinClose, C:\Users\%A_UserName%\.keypressosd\KeypressOSD_kinto.ahk ahk_class AutoHotkey
|
||||||
|
|
||||||
ExitApp
|
ExitApp
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user