Would it also be possible an addition like
Code: Select all
+ 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;