No problem. First is a XY script to invoke a thumbnail view which will also hide basically everything including the Titlebar via the saved layout "thumbs" and the ahk script .
Code: Select all
if(get("pane") == "2") {#802;}
loadlayout("thumbs");
if($TitleBar == "0") {run "D:\Tools\AutoHotkey\AutoHotkey.exe" "D:\Tools\AutoHotkey\AHK scripts\TB_XY_unhide.ahk", , 2,0;
perm $TitleBar = "1";}
goto "G:\Pictures\Ireland\2012";
winpos 0, 0; winsize 1920, 1080;
run "D:\Tools\AutoHotkey\AutoHotkey.exe" "D:\Tools\AutoHotkey\AHK scripts\TB_XY_hide.ahk", , 0,0;
perm $TitleBar = "0";
Next is the AHK script.
Code: Select all
#SingleInstance force
DetectHiddenWindows, on
#MaxMem 1
HWND := WinExist("ahk_class ThunderRT6FormDC")
IfWinActive, ahk_id %HWND%
{
WinGet, Style, Style, ahk_id %HWND%
if (Style & +0xC00000) {
WinSet, Style, -0xC00000, ahk_id %HWND%
exitapp
}
exitapp
}
Reverse the "+" to "-" and '-" to "+" to have an TB_XY_unhide.ahk script.
You can invoke how you choose, but I set up a User Defined Commands to open certain photo folders in full screen no bars mode. I have another numpad key set to reverse everything and get me back to my normal configuration the way I would normally work....something like this: Note: I use some perm ($TitleBar) such that XY knows/remembers the status of the titlebar.
Code: Select all
if(get("instance") == "2") {exit n} //this is here if I use a XY second instance in some cases
elseif((get("instance") == "1") AND ($TitleBar == "0"))
{run "D:\Tools\AutoHotkey\AutoHotkey.exe" "D:\Tools\AutoHotkey\AHK scripts\TB_XY_unhide.ahk", , 2,0;
perm $TitleBar = "1";}
#348; seltab 1;
if(get("pane") == "2") {#802; #348; seltab 1;}
loadlayout("normal");
winpos 24, 6; winsize 1852, 1068;