Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, AndrewAMD), 722 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 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,725
Chicago
AndrewAMD Online OP
Serious User
AndrewAMD  Online OP
Serious User

Joined: Feb 2017
Posts: 1,725
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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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,725
Chicago
AndrewAMD Online OP
Serious User
AndrewAMD  Online OP
Serious User

Joined: Feb 2017
Posts: 1,725
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,725
Chicago
AndrewAMD Online OP
Serious User
AndrewAMD  Online OP
Serious User

Joined: Feb 2017
Posts: 1,725
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: 134
S
SBGuy Offline
Member
SBGuy  Offline
Member
S

Joined: May 2018
Posts: 134
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 | chip programmers | 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