rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: enanotg on June 27, 2020, 01:25:17 AM

Title: HFS With no Tray ICON
Post by: enanotg on June 27, 2020, 01:25:17 AM
Hi! I have been using HFS long time and its amazing! :D

But I need it to run with no try icon, just running the software in the background, is this possible?

Thanks! :D
Title: Re: HFS With no Tray ICON
Post by: TEA-Time on June 27, 2020, 01:42:54 AM
Hi enanotg.  Yeah, HFS is great!

If your HFS isn't already in Expert mode, click "You are in Easy mode" to switch to Expert mode, then click "Menu", then "Tray icons", then uncheck "Show main tray icon".  You can switch back to Easy mode after that if you want.

Edit: Oh, and you'll probably also want to make sure "Tray icon for each download" in the "Tray icons" menu is unchecked.
Title: Re: HFS With no Tray ICON
Post by: enanotg on June 27, 2020, 01:53:22 AM
Hi Thanks for the response.

I did that but when you minimize HFS goes to tray, so it shows an Icon, the idea it to run it in the background


Hi enanotg.  Yeah, HFS is great!

If your HFS isn't already in Expert mode, click "You are in Easy mode" to switch to Expert mode, then click "Menu", then "Tray icons", then uncheck "Show main tray icon".  You can switch back to Easy mode after that if you want.

Edit: Oh, and you'll probably also want to make sure "Tray icon for each download" in the "Tray icons" menu is unchecked.
Title: Re: HFS With no Tray ICON
Post by: TEA-Time on June 27, 2020, 02:17:57 AM
Oops, sorry I missed that.  It can be made to minimize to the task bar instead of the tray, but unfortunately I don't see any way to make it run in the background.  I've never used one myself, but I know there are utilities that allow you to run any program as a service.
Title: Re: HFS With no Tray ICON
Post by: NaitLee on June 27, 2020, 02:27:12 AM
Seems this is well:
when HFS is already minimized to tray,
right click the icon, switch Tray icons -> Show main tray icon to off (if it's already off, turn on first),
then it disappeared!

Edit: you may also need this:
In Windows 10, right click taskbar (where opened software's icon shows) -> taskbar settings -> scroll down -> select which icon appear on the taskbar
  -> Uncheck the "Always show..." switch and HFS' switch, then unwanted icons will be folded.
Title: Re: HFS With no Tray ICON
Post by: TEA-Time on June 27, 2020, 02:37:52 AM
Seems this is well:
when HFS is already minimized to tray,
right click the icon, switch Tray icons -> Show main tray icon to off (if it's already off, turn on first),
then it disappeared!

Ah.. neat little trick. :)

Now there needs to be a way to make it reappear. Heh  Maybe a way through the web interface when a certain account or member of a certain group like admin is logged in..?

Edit: Or SysInternals' Process Explorer can be used to "Restore" HFS and pop it back on the screen.
Title: Re: HFS With no Tray ICON
Post by: NaitLee on June 27, 2020, 03:03:26 AM
Now there needs to be a way to make it reappear. Heh  Maybe a way through the web interface when a certain account or member of a certain group like admin is logged in..?

The macro {.focus.} (https://rejetto.com/wiki/index.php?title=HFS:_scripting_commands#Others) can do this. With other macros detecting users (https://rejetto.com/wiki/index.php?title=HFS:_scripting_commands#Account_manipulation), this is possible ;)
Title: Re: HFS With no Tray ICON
Post by: TEA-Time on June 27, 2020, 04:13:25 AM
The macro {.focus.} (https://rejetto.com/wiki/index.php?title=HFS:_scripting_commands#Others) can do this. With other macros detecting users (https://rejetto.com/wiki/index.php?title=HFS:_scripting_commands#Account_manipulation), this is possible ;)


Ah, very cool.  8)
Title: Re: HFS With no Tray ICON
Post by: rejetto on June 27, 2020, 08:40:42 AM
yeah, something like this in events (ALT+F6)

[request]
{.if|{.%user% = rejetto.}|{:{.focus.}:}.}


 

but you can change it to make it work for groups as well
Title: Re: HFS With no Tray ICON
Post by: enanotg on June 27, 2020, 03:07:09 PM
Niceee!! Thanks! I will give it a go!
Title: Re: HFS With no Tray ICON
Post by: TEA-Time on June 27, 2020, 04:43:52 PM
yeah, something like this in events (ALT+F6)

[request]
{.if|{.%user% = rejetto.}|{:{.focus.}:}.}


 

but you can change it to make it work for groups as well

Excellent!  So easy.  Where is the list of variables?  I can't seem to find them in the wiki. :-/
Title: Re: HFS With no Tray ICON
Post by: rejetto on June 27, 2020, 08:46:50 PM
https://www.rejetto.com/wiki/index.php?title=HFS:_Template_symbols
Title: Re: HFS With no Tray ICON
Post by: TEA-Time on June 28, 2020, 03:13:28 PM
Ah.. symbols.  Thanks!