- Added more assets and added suspend and unique windows vs apple keyboard status icons for Windows

This commit is contained in:
Ben Reaves
2020-06-15 23:01:38 -05:00
parent 2b9598c84f
commit cc05da2f59
7 changed files with 15 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

View File

@@ -5,9 +5,15 @@
DetectHiddenWindows, On DetectHiddenWindows, On
Run, %A_ScriptDir%\detectUSB.ahk Run, %A_ScriptDir%\detectUSB.ahk
I_Icon = %A_ScriptDir%\assets\kinto-white.ico ; I_Icon = %A_ScriptDir%\assets\kinto-white.ico ; MacModifiers
IfExist, %I_Icon% ; IfExist, %I_Icon% ; MacModifiers
Menu, Tray, Icon, %I_Icon% ; Menu, Tray, Icon, %I_Icon%,, 1 ; MacModifiers
; Menu, Tray, Tip, Mac - Kinto ; MacModifiers
; I_Icon = %A_ScriptDir%\assets\kinto-white-invert.ico ; WinModifiers
; IfExist, %I_Icon% ; WinModifiers
; Menu, Tray, Icon, %I_Icon%,, 1 ; WinModifiers
; Menu, Tray, Tip, Windows - Kinto ; WinModifiers
; Set Tray menu ; Set Tray menu
; Menu, Tray, Standard ; Menu, Tray, Standard
@@ -19,7 +25,6 @@ Menu, Tray, Add, Returns to Desktop, min
Menu, Tray, Add Menu, Tray, Add
Menu, Tray, Add, Close, Exit Menu, Tray, Add, Close, Exit
Menu, Tray, Click, 1 Menu, Tray, Click, 1
Menu, Tray, Tip, Kinto
winkb(){ winkb(){
Run, %A_ScriptDir%\NoShell.vbs %A_ScriptDir%\toggle_kb.bat win, %A_ScriptDir% Run, %A_ScriptDir%\NoShell.vbs %A_ScriptDir%\toggle_kb.bat win, %A_ScriptDir%
@@ -32,15 +37,20 @@ mackb(){
min(){ min(){
; Refocus last active Window ; Refocus last active Window
Send {LAlt down}{tab}{LAlt up} Send {LAlt down}{tab}{LAlt up}
} }
tray_suspend(){ tray_suspend(){
suspend toggle suspend toggle
if (a_isSuspended = 1){ if (a_isSuspended = 1){
menu, tray, check , Suspend Kinto menu, tray, check , Suspend Kinto
I_Icon = %A_ScriptDir%\assets\kinto-color-invert.ico
Menu, Tray, Icon, %I_Icon%,, 1
Menu, Tray, Tip, Suspended - Kinto
} }
else{ else{
menu, tray, unCheck, Suspend Kinto menu, tray, unCheck, Suspend Kinto
I_Icon = %A_ScriptDir%\assets\kinto-white.ico
Menu, Tray, Icon, %I_Icon%,,1
} }
; Refocus last active Window ; Refocus last active Window
Send {LAlt down}{tab}{LAlt up} Send {LAlt down}{tab}{LAlt up}