viewpoint-particle

Author Topic: HowTo rearrange open script tabs in WB Studio  (Read 89 times)

cssyphus

  • Newbie
  • *
  • Posts: 28
HowTo rearrange open script tabs in WB Studio
« on: October 03, 2019, 01:14:16 pm »
Is there a way to rearrange open script tabs in WB Studio? Drag/Drop doesn't seem to do it. Any method is fine, even if it involves closing Studio and editing an ini/text file somewhere... ?

td

  • Tech Support
  • *****
  • Posts: 3079
    • WinBatch
Re: HowTo rearrange open script tabs in WB Studio
« Reply #1 on: October 03, 2019, 01:44:51 pm »
No "ini" file.  The information is stored in the registry and is based on the project being opened.  You can find the file order under the Workspaces registry key.  There is a "window_#" key where the "#" is the number that reflects the load order.  Each project including the "default" project has its own set of "window_#" keys.  I have never needed to change the order of the tabs so I haven't tried it but the easiest way to change the order might be to rename the "window_#" keys based on the file name in the underlying "PathName" value.   

It might be easier to just close all windows and reopen the files from a project.  Of course, this would require that you see the wisdom of organizing your work using the workspace/project functionality...

Good luck.   
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

cssyphus

  • Newbie
  • *
  • Posts: 28
Re: HowTo rearrange open script tabs in WB Studio
« Reply #2 on: October 05, 2019, 07:32:14 pm »
Many thanks, Tony. I appreciate the answer and will play around with this a bit.  Your suggestion may be the best course, but it's nice to understand how it works so I feel solid about the decision.

td

  • Tech Support
  • *****
  • Posts: 3079
    • WinBatch
Re: HowTo rearrange open script tabs in WB Studio
« Reply #3 on: October 07, 2019, 09:40:44 am »
WinBatch Studio's registry use is straight forward enough.  The interesting bits of WBS are hidden from the user and include the use of RPC and multi-threading among other technologies.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade