added #+y::Monitor_toggleNotifyIconOverflowWindow()

This commit is contained in:
joten 2013-03-25 22:30:12 +01:00
parent 86b3787eac
commit 77bc2168e1
4 changed files with 26 additions and 1 deletions

View File

@ -461,6 +461,7 @@ Config_saveSession(original, target)
#+Space::Monitor_toggleBar()
#Space::Monitor_toggleTaskBar()
#y::Bar_toggleCommandGui()
#+y::Monitor_toggleNotifyIconOverflowWindow()
;; Administration
#^e::Run, edit %Config_filePath%

View File

@ -19,7 +19,7 @@
*/
Monitor_init(m, doRestore)
Monitor_init(m, doRestore)
{
Global
@ -293,6 +293,25 @@ Monitor_toggleBar()
Manager_winActivate(Bar_aWndId)
}
Monitor_toggleNotifyIconOverflowWindow()
{
Static wndId
If Not WinExist("ahk_class NotifyIconOverflowWindow")
{
WinGet, wndId, ID, A
DetectHiddenWindows, On
WinShow, ahk_class NotifyIconOverflowWindow
WinActivate, ahk_class NotifyIconOverflowWindow
DetectHiddenWindows, Off
}
Else
{
WinHide, ahk_class NotifyIconOverflowWindow
WinActivate, ahk_id %wndId%
}
}
Monitor_toggleTaskBar()
{
Local m

View File

@ -15,6 +15,8 @@
(+) Session auto-save and restore. Layout and Window information is
stored periodically so that it may be recovered after a restart.
(+) A hotkey and corresponding function for toggling the overflow window
of the 'notify icons'.
=8.3.0=

View File

@ -212,6 +212,9 @@ pressing the left Windows key and the shift key and the q key
: #Space::**Monitor_toggleTaskBar()**
Hide / Show the task bar.
: #+y::**Monitor_toggleNotifyIconOverflowWindow()**
Toggle the overflow window of the 'notify icons'.
=== Logging/Debugging related hotkeys ===