Skip to content

Commit

Permalink
add reload
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuheiKubota committed Jan 25, 2023
1 parent 050a45c commit 63f3fc3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions k7jis.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ FileInstall "normal.ico", "icon\normal.ico", true
FileInstall "f.ico", "icon\f.ico", true
TraySetIcon "icon\normal.ico"

A_TrayMenu.Add
A_TrayMenu.Add "&Reload", MenuReload
A_TrayMenu.Add
A_TrayMenu.Add "&Toggle", MenuToggleFMode
A_TrayMenu.Default := "&Toggle"
Expand All @@ -33,6 +35,8 @@ LAlt & Esc::Send "{vkF3sc029}"
fmode := false
!BS::ToggleFMode()

~F & 1::F1

#hotif fmode
1::F1
2::F2
Expand Down Expand Up @@ -69,6 +73,11 @@ MenuToggleFMode(ItemName, ItemPos, MyMenu)
ToggleFMode
}

MenuReload(ItemName, ItemPos, MyMenu)
{
Reload
}

ToggleFMode()
{
global fmode
Expand Down

0 comments on commit 63f3fc3

Please sign in to comment.