Closing All Other Tabs...

Discuss and share scripts and script files...
Marco
Posts: 2347
Joined: 27 Jun 2011 15:20

Re: Closing All Other Tabs...

Post by Marco »

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
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Closing All Other Tabs...

Post by admin »

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. :)

Marco
Posts: 2347
Joined: 27 Jun 2011 15:20

Re: Closing All Other Tabs...

Post by Marco »

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.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Closing All Other Tabs...

Post by admin »

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
Posts: 2347
Joined: 27 Jun 2011 15:20

Re: Closing All Other Tabs...

Post by Marco »

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.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Post Reply