Closing All Other Tabs...

Discuss and share scripts and script files...

Re: Closing All Other Tabs...

Postby Marco » 29 Nov 2011 11:07

Everything works as expected :)
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;

?

:roll: :D
Marco
 
Posts: 1671
Joined: 27 Jun 2011 14:20

Re: Closing All Other Tabs...

Postby admin » 29 Nov 2011 11:15

Marco wrote:Everything works as expected :)
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;

?

:roll: :D

May I ask why you need this in scripting? I find it hard to imagine a use case for this. :)
admin
Site Admin
 
Posts: 32639
Joined: 22 May 2004 15:48
Location: Cologne

Re: Closing All Other Tabs...

Postby Marco » 29 Nov 2011 11:19

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
 
Posts: 1671
Joined: 27 Jun 2011 14:20

Re: Closing All Other Tabs...

Postby admin » 29 Nov 2011 11:25

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.
admin
Site Admin
 
Posts: 32639
Joined: 22 May 2004 15:48
Location: Cologne

Re: Closing All Other Tabs...

Postby Marco » 29 Nov 2011 11:28

admin wrote:
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 :D I'll sit here patiently. Forget my last request.
Marco
 
Posts: 1671
Joined: 27 Jun 2011 14:20

Previous

Return to Script Exchange



Who is online

Users browsing this forum: No registered users and 2 guests