Workspace Switcher

← Back to tools

DEPRECATED! See WorkspacesPro instead.

Win XP and/or some/all versions of .NET cause color properties not loading correctly thus stopping the indicator from functioning. Ask for an alternative verison if you have this problem.

Use it and if you like it please pay the amount you think it is worth
hence the law of equal exchange persists

The ‘indicator’ lets you quickly and comfortably switch workspaces.
Easy to install, highly customizable: define the placement, color, and size of the buttons.
You can define the workpaces separately on any chart, which lets you setup many routes through your workspaces.
You can attach it to an active chart, or create a blank template, so you can have a separate switcher window, or you can place one tiny button to the corner of a chart to turn hide all charts, and then have them back (does the pain of getting to your desktop and back to your charts sound familiar? )


Import: Control Center: File → Utilities→Import NinjaScript, then select the downloaded zip-file (DO NOT unzip it manually)
Attach: you can attach the tool as a normal indicator to any charts (Right-Click on chart → Indicators)

Per instance settings

After attaching the indicator to a chart you will be able to set the workspaces that you want to be handled by the indicator. (These settings are unique for each chart. You will need to use templates or global default settings if you want to default your settings)

You can set the placement of the buttons in the menu as well.


Global default settings (advanced)

By editing the source code you can alter the default values for the following settings (the default settings are copied to the settings panel,when you attach the indicator to the chart):

-Workspace1-7 (ws1-ws7) eg.: ws1=@”ES”;
-ButtonPanelX (leftX)
-X instead of name

-Active Button Color (actCol)
-Passive Button Color (passCol)

To do this, you need to go into the editor (full license, or demo license is required!)

Control Center. Tools  → Edit NinjaScript…  → Indicator…, then choose _Workspace

When ready, don’t forget to compile!

Tips for use

X instead of name setting:  this setting controls the text on the buttons: if turned to true and the workspace-name contains an underline character _ the following two characters will be displayed (this way you can use abbreviations, and still preserve  verbose filenames. Eg.: RussellFast_TF will display TF on the buttons). If there is no “_”, “X” will be displayed.
If turned to false, the workspace name will be displayed.

Separate-window-switcher: make a blank template, with black background and black bars, and attach the indicator to this chart. You can then resize the window, the indicator is on the topmost layer. You can save it to a template afterwards and easily add the same switcher to your other workspaces.

Desktop button: make an empty workspace, name it to desktop, add a separate-window-switcher containing your active workspaces, then add the “desktop” workspace to your active switchers and you have a tool for reaching your desktop fast, and restoring any of your workspaces after.

V2.0: converted to real buttons
V2.1: minor bugfixes
V2.11: minor bugfixes
V2.12: button color handling
V2.13: corrected import error

3 Responses to Workspace Switcher

  1. avatar Steve Boyd says:

    I tried to downland and install your script, however after downloading I went to Control Center: File → Utilities→Import NinjaScript and nothing appears. Although the file is definitely in my download directory. Any thoughts?


    • avatar CTC says:

      NT is looking for .zip files solely when importing: and always starts in its default script folder.
      Make sure you don’t unzip the file, before trying to import it!

  2. avatar Okem says:

    I like the simple copcent and how you get another complete desktop with it’s own taskbar, tray, etc. I don’t like how the spaces other than default do not respect all Windows key shortcuts and do not display Aero glass.The quick switch keystrokes I assigned to go to the next/previous spaces (Windows+Alt+Up, Windows+Alt+Down) only bring up an image of the space, rather than switching to the space itself. If I press Ctrl+Enter it will complete the switch, but that defeats the purpose of a quick switch keystroke (i.e., it’s no faster than Windows+S, arrow, enter).

Leave a reply: