Starting multiple Workspaces programmatically
Author: gchudublin
Creation Date: 2/1/2019 3:25 PM
profile picture

gchudublin

#1
I am using a 3rd party scanner to pick up stocks. When I get alerted I want each run has its own work space, so I can see them from different windows, any way can use program to do this, my symbol trigger with stop loss and profit target and strategy to is stored in a local SQL database. May be use AutoIt script? Can I have a desktop app to call AutoIt scripts to open a new workspace and have symbol, strategy predefined? I checked the workspace file .ws and it is just a text file, so I can just use a program to create it and call AutoIt to open it and it just runs.
profile picture

Eugene

#2
I like your line of thinking. In the absence of a programmatic way to launch a new Workspace, AutoIT should get the job done. Workspace files indeed are plain text but since its format isn't documented you cannot count on our guidance. Any bugs, crashes or questions are entirely up to you.
profile picture

Pablo4646

#3
Hi all!
I spent 3 hours looking for a function that opens the Workspace, but I didn't. I had to use this trick for open List of several WS files. Best regards.

CODE:
Please log in to see this code.


profile picture

Eugene

#4
Very creative. Thank you for sharing this with the Wealth-Lab community.
profile picture

steve_de3

#5
Seems like "Tabbed" workspaces are now in order. Some work to do there Eugene :-)
But I think that would be very worthy of your efforts.
profile picture

Eugene

#6
Tabbed workspaces are very convenient for single monitor configurations. Multiple workspaces let you utilize multiple monitors.
profile picture

steve_de3

#7
Exactly, very convenient for single monitor configurations, which are many times less expensive to own/operate.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).