+ SC tab enhanced: New operation "lockhomezone", analog to "Lock Home Zone" in menu View | Tab. The "data" parameter, if missing, toggles the status, whereas 0 unlocks and 1 locks. The "index" parameter can be used to define the tab to lock to home zone (leftmost tab = 1). If missing then the current tab is closed. Examples: tab("lockhomezone"); //toggles the Lock Home Zone status of the current tab tab("lockhomezone", 1); //sets the Lock Home Zone status of the current tab ON tab("lockhomezone", , 2); //toggles the Lock Home Zone status of the second tab tab("lockhomezone", 1, 2); //sets the Lock Home Zone status of the second tab ON;

+ SC tab enhanced: New operation "lockhomezone", analog to "Lock Home Zone" in menu View | Tab. The "data" parameter, if missing, toggles the status, whereas 0 unlocks and 1 locks. The "index" parameter can be used to define the tab to lock to home zone (leftmost tab = 1). If missing then the current tab is closed. Examples: tab("lockhomezone"); //toggles the Lock Home Zone status of the current tab tab("lockhomezone", 1); //sets the Lock Home Zone status of the current tab ON tab("lockhomezone", , 2); //toggles the Lock Home Zone status of the second tab tab("lockhomezone", 1, 2); //sets the Lock Home Zone status of the second tab ON;

?

May I ask why you need this in scripting? I find it hard to imagine a use case for this.

It's part of a script that tries to emulate the (upcoming) Workspace feature.With this addition I can create tabs with a locked home zone without focusing them. Creating and modifing them in background I should see some performance improvement and less seizure-triggering flickering on screen.

Marco wrote:It's part of a script that tries to emulate the (upcoming) Workspace feature.With this addition I can create tabs with a locked home zone without focusing them. Creating and modifing them in background I should see some performance improvement and less seizure-triggering flickering on screen.

Ah, I see.

Let me tell you that Wordspaces will be the very next big feature in XY, and is likely to appear before Xmas. So don't waste too much time on a script that will be of not much use in future.

Marco wrote:It's part of a script that tries to emulate the (upcoming) Workspace feature.With this addition I can create tabs with a locked home zone without focusing them. Creating and modifing them in background I should see some performance improvement and less seizure-triggering flickering on screen.

Ah, I see.

Let me tell you that Wordspaces will be the very next big feature in XY, and is likely to appear before Xmas. So don't waste too much time on a script that will be of not much use in future.

Oh well, if this is the order of things and your second name is Santa I'll sit here patiently. Forget my last request.