Script command to edit the catalog please!

Features wanted...
Post Reply
highend
Posts: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Script command to edit the catalog please!

Post by highend »

Can you please! add a new script command that lets us edit catalog entries?

E.g. catalogedit()

I have about 120 file and folder entries (90% of them are folders) currently and due to structural network changes I need to change a local path (drive letter) to a UNC-path instead.

I can't do this manually for such an amount of entries (error prone and too time consuming)^^

Even something simple would work (for me) atm (and it could be a non-offical command until it is fully fledged out)...
Like: An import catalog script command that is able to read the content of a .txt file that we've filled with a catalogexport() before (and edit the .txt file with a normal editor before reading it back with the import command)...
One of my scripts helped you out? Please donate via Paypal

klownboy
Posts: 4459
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8037 at 100% 2560x1440

Re: Script command to edit the catalog please!

Post by klownboy »

I recently updated some drives and associated catalog paths and have more to do. So, I can see where something along these lines would be helpful land a logical request. :tup:

autocart
Posts: 1378
Joined: 26 Sep 2013 15:22

Re: Script command to edit the catalog please!

Post by autocart »

+1 :tup:
I had this wish from day one of becoming aware of the catalog.

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

Re: Script command to edit the catalog please!

Post by admin »

Sorry, I don't have time for this right now.

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

Re: Script command to edit the catalog please!

Post by admin »

Had an idea. The next beta will have this new function: cataloglocation([index=-1], [location]) Should do.

highend
Posts: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Script command to edit the catalog please!

Post by highend »

Thanks! Will immediately report if it works :appl:
One of my scripts helped you out? Please donate via Paypal

highend
Posts: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Script command to edit the catalog please!

Post by highend »

Works great so far!

There is only a very minor issue: When doing (successful) path replacements the menu entry
File - Settings Special - Save Catalog doesn't show the * in front of it

So users should be aware that the catalog needs to be saved afterwards (if not done via the script itself)
One of my scripts helped you out? Please donate via Paypal

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

Re: Script command to edit the catalog please!

Post by admin »

:tup:

Post Reply