mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 18:38:26 +02:00
- Added proper disabling of the autodetect feature when program is disabled.
This commit is contained in:
@@ -46,11 +46,15 @@ tray_suspend(){
|
|||||||
I_Icon = %A_ScriptDir%\assets\kinto-color-invert.ico
|
I_Icon = %A_ScriptDir%\assets\kinto-color-invert.ico
|
||||||
Menu, Tray, Icon, %I_Icon%,, 1
|
Menu, Tray, Icon, %I_Icon%,, 1
|
||||||
Menu, Tray, Tip, Suspended - Kinto
|
Menu, Tray, Tip, Suspended - Kinto
|
||||||
|
IfWinExist, detectUSB.ahk
|
||||||
|
WinClose
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
menu, tray, unCheck, Suspend Kinto
|
menu, tray, unCheck, Suspend Kinto
|
||||||
I_Icon = %A_ScriptDir%\assets\kinto-white.ico
|
; I_Icon = %A_ScriptDir%\assets\kinto-white.ico ; MacModifiers
|
||||||
|
; 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
|
||||||
}
|
}
|
||||||
; Refocus last active Window
|
; Refocus last active Window
|
||||||
Send {LAlt down}{tab}{LAlt up}
|
Send {LAlt down}{tab}{LAlt up}
|
||||||
|
Reference in New Issue
Block a user