Page 1 of 1

Make FC Always On Top

Posted: 30.09.2019, 17:28
by kagard
Greetings:

I'd like to make the FreeCommander window stay on top of all other windows.
I searched the menus, the help file, and the board, but didn't find anything.
Is this possible, and if so, how?

TIA,

Keith

Re: Make FC Always On Top

Posted: 30.09.2019, 22:32
by Dreamer
Hello Keith, welcome to the FreeCommander forum.

I don't think so.

Workaround, external tool like HotkeyP, useful free program, you can make any window always on top with a custom shortcut.

Re: Make FC Always On Top

Posted: 03.10.2019, 19:37
by kagard
Thanks for the reply. I'll code something quick in AutoHotkey. Odd FC doesn't have that option. Many of the dual-pane file managers do. I'll like FC best, though, so I'll figure it out.

Thanks,

Keith

Re: Make FC Always On Top

Posted: 03.10.2019, 19:56
by ralfso
This autohotkey-code is in my standard-AHK-script:

Code: Select all

; Hotkeys:
; Always_on_top_AHK - Strg + Win + A - make window always on top

^#a::
WinGet, currentWindow, ID, A
WinGet, ExStyle, ExStyle, ahk_id %currentWindow%
if (ExStyle & 0x8)  ; 0x8 is WS_EX_TOPMOST.
{
	Winset, AlwaysOnTop, off, ahk_id %currentWindow%
	SplashImage,, x0 y0 b fs12, OFF always on top.
	Sleep, 1500
	SplashImage, Off
}
else
{
	WinSet, AlwaysOnTop, on, ahk_id %currentWindow%
	SplashImage,,x0 y0 b fs12, ON always on top.
	Sleep, 1500
	SplashImage, Off
}
return

Re: Make FC Always On Top

Posted: 30.10.2019, 11:57
by Forez
ralfso wrote: 03.10.2019, 19:56 This autohotkey-code is in my standard-AHK-script:
So this script is appliabe to every window?

What does the Strg stand for?

Re: Make FC Always On Top

Posted: 30.10.2019, 12:24
by ralfso
Forez wrote: 30.10.2019, 11:57 So this script is appliabe to every window?
I think so, even dialog windows are fixed on top.
Forez wrote: 30.10.2019, 11:57 What does the Strg stand for?
excuse me, Strg on german keyboard is Ctrl on english keyboard.
Shortcut ^#a = Ctrl + Win + a
but you can define every shortcut you want (if it's not in use by system or foreground program)

Re: Make FC Always On Top

Posted: 31.10.2019, 20:52
by Dreamer
With HotkeyP it's easier:

Hot Key: any
Command: Always on top

That's all, you can use the custom global shortcut to toggle always on top for any program/window.