Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 14,141 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Allow Zorro to minimize to Tray Icon #488018
12/28/23 14:44
12/28/23 14:44
Joined: Feb 2017
Posts: 1,806
Chicago
AndrewAMD Online OP
Serious User
AndrewAMD  Online OP
Serious User

Joined: Feb 2017
Posts: 1,806
Chicago
Can there be an option / button / switch / feature that allows a Zorro session to minimize to a tray icon?

Obvious uses include running a very long process that the user does not want to accidentally interrupt, such as downloading data for 100 stocks, long training and backtests, all the while developing a completely different Zorro script (whose window is open).

Re: Allow Zorro to minimize to Tray Icon [Re: AndrewAMD] #488039
01/02/24 12:15
01/02/24 12:15
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
You mean a script command for minimizing? Have you tried to minimize with the window handle (https://zorro-project.com/manual/en/hwnd.htm)?

Re: Allow Zorro to minimize to Tray Icon [Re: AndrewAMD] #488040
01/02/24 12:26
01/02/24 12:26
Joined: Feb 2017
Posts: 1,806
Chicago
AndrewAMD Online OP
Serious User
AndrewAMD  Online OP
Serious User

Joined: Feb 2017
Posts: 1,806
Chicago
I didn’t think of that. I’ll try it out. Thanks!

Re: Allow Zorro to minimize to Tray Icon [Re: jcl] #488041
01/02/24 14:38
01/02/24 14:38
Joined: Feb 2017
Posts: 1,806
Chicago
AndrewAMD Online OP
Serious User
AndrewAMD  Online OP
Serious User

Joined: Feb 2017
Posts: 1,806
Chicago
Originally Posted by jcl
You mean a script command for minimizing?
To answer your question, not just minimize, but make the window disappear from view and from the desktop entirely, and leave only a Zorro icon in the "taskbar notification area", otherwise known as the "tray". Whether it means adding a script command or a new button to the Zorro interface, or simply changing the default behavior of the minimize button, it makes no difference to me.

Right now, the easiest workaround is to use an external app that minimizes windows to the tray, like Traymond. I'll try it out later:
https://github.com/fcFn/traymond/

Re: Allow Zorro to minimize to Tray Icon [Re: AndrewAMD] #488099
01/13/24 16:34
01/13/24 16:34
Joined: May 2018
Posts: 136
S
SBGuy Offline
Member
SBGuy  Offline
Member
S

Joined: May 2018
Posts: 136
I've been using CMDOW reliably for the past number of years.

https://community.chocolatey.org/packages/cmdow

I just put that in a scheduled task that performs various intraday file/server management activities.

This DOS batch file command minimizes all Zorro windows

for /f "tokens=1" %%a in ('cmdow /t /f^|find /i "Zorro"') do cmdow %%a /min

Last edited by SBGuy; 01/13/24 16:48.

Moderated by  Petra 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1