Code: Select all
#Ifwinactive, ahk_class Notepad
^o::
XYplorerID := WinExist("ahk_class ThunderRT6FormDC")
NotepadID := WinExist("ahk_class Notepad")
DllCall("SetParent", "uint", XYplorerID, "uint", NotepadID)Code: Select all
#Ifwinactive, ahk_class Notepad
^o::
XYplorerID := WinExist("ahk_class ThunderRT6FormDC")
NotepadID := WinExist("ahk_class Notepad")
DllCall("SetParent", "uint", XYplorerID, "uint", NotepadID)@Burningfeetman: I use AHK to do this - can't remember where I got the script but I use the following (invoked with Win + T):One other feature that I'd like to ask about (which fits into my overall goal of using XYplorer to replace an in-application browser) is; can XYplorer also have a toggle added so that it always remains on top of all other applications (similar to Windows Task Manager)? That way when the below application (with the crap in house file browser) is being manipulated/used, XYplorer will remain on top in it's own corner, ready for interaction at any given time.
Code: Select all
#t::
ActiveHwnd := WinExist("A")
WinGetTitle, WindowTitle, ahk_id %ActiveHwnd%
WinGet, ExStyle, ExStyle, ahk_id %ActiveHwnd%
if (ExStyle & 0x8)
OnTop=1
else
OnTop=0
Winset, AlwaysOnTop, Toggle, ahk_id %ActiveHwnd%
StringReplace, WindowTitle, WindowTitle, %A_Space%- (Pinned)
if not OnTop
WindowTitle:=WindowTitle . " - (Pinned)"
WinSetTitle, ahk_id %ActiveHwnd%,,%WindowTitle%
return
Code: Select all
#t:: Winset, Alwaysontop, , A
but, it would be nice to be able to go completely minimalistic temporarily via scripts especially for viewing thumbnails in various photo folders. We can remove all the other bars via scripting but the not titlebar. It would be great if we could remove the titlebar temporarily even if it was only through scripting. Obviously, we wouldn't use it for normal operations in XYplorer. Those thumbs are from my camera, not internet wallpaper this time.admin wrote:I'm not ready to give up my trademark titlebar for it, sorry
12,000?binocular222 wrote:How many more vote do we need to change Don's mind?
highend wrote: ↑21 Jan 2014 23:31 Why not just use a SetTimer command in Autohotkey?
100 msecs should be enough (this app won't consume any noticable amount of cpu power with it)...Code: Select all
#NoTrayIcon #SingleInstance force #Persistent SetTimer, RemoveWindowElements, 100 return RemoveWindowElements: ;WS_MAXIMIZEBOX 0x10000 + WS_MINIMIZEBOX 0x20000 + WS_CAPTION 0xC00000 = 0xC30000 WinSet, Style, -0xC30000, ahk_class ThunderRT6FormDC return