Laycat: simple picker for layouts and catalogs

Discuss and share scripts and script files...
Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Laycat: simple picker for layouts and catalogs

Post by Filehero »

Hi,

after Don has introduced native support for layouts and Tree/Catalog to the right, everything is so much easier now. So, it's time to say good-bye to my layout manager script, its lifecycle ends here. :wink:

So here is Laycat, a simple combined picker for XY layouts and catalogs. It justs looks for saved layouts and/or catalogs and offers them in a plain menu. Icons are configurable. That's it.

Update 2014-06-21 (V1.1):
- added support for Column layouts
- minor improvements
Laycat.xys
(3.64 KiB) Downloaded 585 times
Edit: a little shot
Laycat.png
Laycat.png (4.16 KiB) Viewed 11535 times
I hope I have factored in all standard constitutions.


Cheers,
Filehero

/e: added smiley
Last edited by Filehero on 21 Jun 2014 12:01, edited 4 times in total.

klownboy
Posts: 4090
Joined: 28 Feb 2012 19:27

Re: Laycat: simple picker for layouts and catalogs

Post by klownboy »

Thanks Filehero, I'm not planning on retiring your Layout Manager or Session Manager just yet though. One is a right click of a CTB and the other the left.
Ken
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Laycat: simple picker for layouts and catalogs

Post by Filehero »

Hi Ken,

thanks for your kind words. :)

Indeed, I too still have it around on the right click slot of one CTB. I just think, the only "unique" function left (indicating a current layout) is not really worth the effort (and cpu time) to "migrate" it over.


Cheers,
Filehero

FluxTorpedoe
Posts: 855
Joined: 05 Oct 2011 13:15

Re: Laycat: simple picker for layouts and catalogs

Post by FluxTorpedoe »

Just a quick word to say:
Cool one! :D

Well, a few more XY releases and we'll be able to retire… :mrgreen:
(Just kidding! We're only there because Don is so far ahead anyway…)

Have a nice day, 8)
Flux

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Laycat: simple picker for layouts and catalogs

Post by Filehero »

Hi Flux,
FluxTorpedoe wrote:Cool one! :D
Thanks. :)
FluxTorpedoe wrote:Well, a few more XY releases and we'll be able to retire… :mrgreen:
Me? Yes!
You? Don't think so. :mrgreen:

Just kidding. Will you do an update to SessionManager for the layout stuff (I'm pretty sure you are thinking about it. :wink: )?

OMG, it's so freakin' hot over here..... :beer:


Cheers,
Filehero

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: Laycat: simple picker for layouts and catalogs

Post by aurumdigitus »

To put Laycat on steroids how about incorporating "Load Columns"?

Rationale: As long as the car is in the shop might as well take care of everything. :biggrin:

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Laycat: simple picker for layouts and catalogs

Post by Filehero »

aurumdigitus wrote:To put Laycat on steroids how about incorporating "Load ?
Will have a look at it. But cannot give any eta since I currently have other priorities: summer, :ball: and :beer:.

:wink:

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Laycat: simple picker for layouts and catalogs

Post by Filehero »

Filehero wrote:Will have a look at it.
Done. See opening post.


Cheers,
Filehero

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: Laycat: simple picker for layouts and catalogs

Post by aurumdigitus »

A sweet gift on the first day of summer.

Thank you indeed.

May the soccer gods smile favorably on your chosen team!

:ball:

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Laycat: simple picker for layouts and catalogs

Post by Filehero »

aurumdigitus wrote:Thank you indeed.
My pleasure. :)
aurumdigitus wrote:May the soccer gods smile favorably on your chosen team!
Only one hour to wait.

klownboy
Posts: 4090
Joined: 28 Feb 2012 19:27

Re: Laycat: simple picker for layouts and catalogs

Post by klownboy »

Hi Filehero, I just noticed your latest update. Looking good...thanks! Are you ready for Thursday's match? Good thing I'm retired, it's at noon time here.
Ken
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Laycat: simple picker for layouts and catalogs

Post by Filehero »

Hi Ken,

thanks a lot for testing and feedback. :)

Sure, we're all ready over here. Following the pattern seen so far, this will become a thriller match.
Time is nearly perfect: 6 pm.

Cheers, Filehero

klownboy
Posts: 4090
Joined: 28 Feb 2012 19:27

Re: Laycat: simple picker for layouts and catalogs

Post by klownboy »

Hi Filehero, I toyed with your very nice script for layouts and catalogs. I thought it would be nice to include a Toolbar loader as well as menu items for saving all those attributes. I'm surprised that Don hasn't included a built-in method to quickly load and save toolbars. It's so seamless and fast that I think if it was included, more people would certainly use it. It's easy to build 2 or 3 custom toolbars since all your customized toolbar buttons do appear on the left side column in the Customize Toolbar dialog. You could have different toolbars for different operations you'll be performing. Especially now with the same capability for Catalogs, Layouts and Column layouts.

Stefan submitted one very nice script for managing toolbars here ToolbarManager. It works great, but it's saving all the toolbars in one file so for that reason tends to be a much more complicated script than it probably needs to be. But, Stefan also provided a more quick and dirty method in his very helpful How to use and execute a script ? This is the one I built upon. I figured for simplicity why not have each toolbar in it's own text file especially now, since that's how Don saves and loads layouts and columns. The toolbars txt files would be in their own folder off <xydata> just as the columns and layout folder are.

Anyway here's a shot of the end result. I won't post the script without your permission since the majority is your work. :) :whistle:
Thanks Filehero and Sammy for your help.
Ken
Layouts and Toolbar2.PNG
Layouts and Toolbar2.PNG (18.26 KiB) Viewed 11148 times
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Laycat: simple picker for layouts and catalogs

Post by Filehero »

Hi Ken,

I haven't got around yet to play with indicidual and context-specific toolbars. Your shot looks nice.
klownboy wrote:I won't post the script without your permission since the majority is your work. :) :whistle:]
Thanks a lot Ken for your nice words and fair play.

For the sake of the XY community I'd like to ask you to post your script asap. :D


Cheers,
Filehero

klownboy
Posts: 4090
Joined: 28 Feb 2012 19:27

Re: Laycat: simple picker for layouts and catalogs

Post by klownboy »

Thanks Filehero, I want to provide a little more error checking before posting. It works fine for me but I need to get a toolbar folder created if it doesn't exist off of <xydata> and possibly add Don's "default" toobar in it as well as a starting point for new users and so something shows up on the toolbar section of the menu. From that point, users can save their current toolbar and starting playing to make up new ones. Other than that, it's working fine including a flag for the currently used toolbar.
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

Post Reply