Fixed bug from issue #40
This commit is contained in:
parent
0480e1924d
commit
8a728fc785
4 changed files with 6 additions and 1 deletions
BIN
bugn.exe
BIN
bugn.exe
Binary file not shown.
|
@ -254,6 +254,7 @@ Config_redirectHotkey(key)
|
||||||
{
|
{
|
||||||
If (key = Config_hotkey_#%A_index%_key)
|
If (key = Config_hotkey_#%A_index%_key)
|
||||||
{
|
{
|
||||||
|
Debug_logMessage("DEBUG[1] Config_redirectHotkey: Found " Config_hotkey_#%A_index%_key " -> " Config_hotkey_#%A_index%_command, 1)
|
||||||
Main_evalCommand(Config_hotkey_#%A_index%_command)
|
Main_evalCommand(Config_hotkey_#%A_index%_command)
|
||||||
Break
|
Break
|
||||||
}
|
}
|
||||||
|
|
|
@ -103,7 +103,10 @@ Main_evalCommand(command)
|
||||||
functionArguments := SubStr(command, i + 1, j - (i + 1))
|
functionArguments := SubStr(command, i + 1, j - (i + 1))
|
||||||
StringReplace, functionArguments, functionArguments, %A_SPACE%, , All
|
StringReplace, functionArguments, functionArguments, %A_SPACE%, , All
|
||||||
StringSplit, functionArgument, functionArguments, `,
|
StringSplit, functionArgument, functionArguments, `,
|
||||||
If (functionArgument0 < 2)
|
Debug_logMessage("DEBUG[1] Main_evalCommand: " functionName "(" functionArguments ")", 1)
|
||||||
|
If (functionArgument0 = 0)
|
||||||
|
%functionName%()
|
||||||
|
Else If (functionArgument0 = 1)
|
||||||
%functionName%(functionArguments)
|
%functionName%(functionArguments)
|
||||||
Else If (functionArgument0 = 2)
|
Else If (functionArgument0 = 2)
|
||||||
%functionName%(functionArgument1, functionArgument2)
|
%functionName%(functionArgument1, functionArgument2)
|
||||||
|
|
|
@ -325,6 +325,7 @@ View_toggleFloatingWindow(wndId = 0) {
|
||||||
WinGet, wndId, ID, A
|
WinGet, wndId, ID, A
|
||||||
v := Monitor_#%Manager_aMonitor%_aView_#1
|
v := Monitor_#%Manager_aMonitor%_aView_#1
|
||||||
l := View_#%Manager_aMonitor%_#%v%_layout_#1
|
l := View_#%Manager_aMonitor%_#%v%_layout_#1
|
||||||
|
Debug_logMessage("DEBUG[2] View_toggleFloatingWindow; wndId: " . wndId, 2)
|
||||||
If (Config_layoutFunction_#%l% And InStr(Manager_managedWndIds, wndId ";")) {
|
If (Config_layoutFunction_#%l% And InStr(Manager_managedWndIds, wndId ";")) {
|
||||||
Window_#%wndId%_isFloating := Not Window_#%wndId%_isFloating
|
Window_#%wndId%_isFloating := Not Window_#%wndId%_isFloating
|
||||||
View_arrange(Manager_aMonitor, v)
|
View_arrange(Manager_aMonitor, v)
|
||||||
|
|
Loading…
Reference in a new issue