Selection Store 1.0.1 (March 27, 2014)

Discuss and share scripts and script files...
Enternal
Posts: 1174
Joined: 10 Jan 2012 18:26

Selection Store 1.0.1 (March 27, 2014)

Post by Enternal »

1.0.1 - March 27, 2013
* By default, the current name is automatically shown when saving Store file. Makes the process of Loading and Saving smoother. By default, the name is automatically highlighted so you don't need to delete to type in a new name. Just type and it will automatically overwrite it if you don't want to save the Store with the current name.
1.0 - March 25, 2013
* Menu is now vastly cleaned up and each function is now much clearer.
* Now possible to save and load the Store as *.sstore files. Allows saving and loading as many Stores as you want. No longer limited to 2.
* Added Goto Menu Entry to go to folder where Store (*.sstore) files are saved by default.
* When showing Store items, the tabs that is opened is locked. It's now unlocked to make it less of a hassle to close.
* You can load a Store file by clicking on "Current Store..." menu entry in addition to the separate Load Store entry menu.
* Various bug fixes and changes.
* Code: Now commented.
0.1 - July 24, 2013
* Initial Release.

Allows you to add selected items into containers called "Store". It is then possible to view all items at once and perform mass action on all items in Store regardless of the items' actual locations on your system such as copy them somewhere else, batch rename them, and more.

Features
Drag & Drop If you use it as a catalog item, it can behave as a drag & drop.
Mass Action Perform mass actions on all items in Store
Save & Load Store Save and Load as man Stores as you want.
SelectionStore.png
SelectionStore.png (11.92 KiB) Viewed 6599 times
The original thread where the development over time occurred is:
http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=9484
Although the script could do some refinements, for what I have been using it for, it works. Therefore just going to leave it as is and just posted in case others find it useful. Well have fun!

Setup
Extract where you want. If you use it as a catalog item, you can even drag items onto to add them to the Store. It can also be used as a Custom User Button with full Drag n' Drop support. When saving a Store, they are always stored in the folder SStore under XYplorer's script folder with the file extension *.sstore.

References
http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=9484
http://www.xyplorer.com/xyfc/viewtopic. ... 045#p59045

Enjoy!
SelectionStore1.0.1.xys
V1.0.1 (March 27, 2014)
(20.01 KiB) Downloaded 446 times
Attachments
SelectionStore1.0.xys
V1.0 (March 25, 2014)
(19.98 KiB) Downloaded 318 times
SelectionStore.xys
V0.1 (July 24, 2013)
(11.98 KiB) Downloaded 316 times
Last edited by Enternal on 27 Mar 2014 20:18, edited 5 times in total.

klownboy
Posts: 4369
Joined: 28 Feb 2012 19:27
Location: Windows 11, 24H2 Build 26100.4770 at 100% 2560x1440

Re: Selection Store 0.1 (July 24, 2013)

Post by klownboy »

Hi Enternal, Thanks for sharing. It seems to be working fine. I noticed you said that we can drag and drop if assigned to a catalog item. I haven't looked at the code closely yet, but have you tried setting it up to work (i.e., drag and drop) with a CTB?
Thanks,
Ken

Enternal
Posts: 1174
Joined: 10 Jan 2012 18:26

Re: Selection Store 0.1 (July 24, 2013)

Post by Enternal »

Haha I never thought about that. Anyway I checked to make sure and drag & drop does indeed work for CTBs. Anyway thank you!

CookieMonster

Re: Selection Store 0.1 (July 24, 2013)

Post by CookieMonster »

The script isn't working for me ?

Enternal
Posts: 1174
Joined: 10 Jan 2012 18:26

Re: Selection Store 0.1 (July 24, 2013)

Post by Enternal »

It doesn't? It does not pop any sort of menu or anything? What version of XYplorer are you using?

CookieMonster

Re: Selection Store 0.1 (July 24, 2013)

Post by CookieMonster »

There isn't any menu that pops up. I'm using XYplorer 12.60.

Enternal
Posts: 1174
Joined: 10 Jan 2012 18:26

Re: Selection Store 0.1 (July 24, 2013)

Post by Enternal »

How are you loading the file? Did you put it in your Catalog because that's what I had it mind when I wrote it. You're suppose to have it as a catalog item which you can then drag stuff onto it. Another method is selecting items in the list and then use the address bar with the command ::load path\to\SelectionStore.xys; but that's not what I intended it to be used as.

CookieMonster

Re: Selection Store 0.1 (July 24, 2013)

Post by CookieMonster »

Image

I placed it in a catalog, it worked, except when I tried to place anything in the store, I got the above error, anything I did, resulted in an error.

Enternal
Posts: 1174
Joined: 10 Jan 2012 18:26

Re: Selection Store 0.1 (July 24, 2013)

Post by Enternal »

I noticed is aid "File: Internal". How about saving SelectionStore.xys (link above) and put the link to the actual script into the catalog. Hopefully it works.

CookieMonster

Re: Selection Store 0.1 (July 24, 2013)

Post by CookieMonster »

Add the script as an actual catalog item ? If that is what you meant, no success :(

Enternal
Posts: 1174
Joined: 10 Jan 2012 18:26

Re: Selection Store 0.1 (July 24, 2013)

Post by Enternal »

Try loading the script into the catalog using a fresh install and see if it works.

2nd, try loading the following file into the catalog again and when the menu pops out, click Error Check. Copy and paste it so that I can see what you get.
SelectionStoreMod.xys
(12.12 KiB) Downloaded 330 times

CookieMonster

Re: Selection Store 0.1 (July 24, 2013)

Post by CookieMonster »

There isn't an error, all I get is a list of files that I wanted to store into Selection Store, the information most likely won't be of help to you ! :)

Enternal
Posts: 1174
Joined: 10 Jan 2012 18:26

Re: Selection Store 0.1 (July 24, 2013)

Post by Enternal »

No. That's what I wanted to see. It said Check Error but it's not supposed to be returning an error. It's supposed to return a list of variables content that I'm using to check to see if the script is loading what it's supposed to do.

CookieMonster

Re: Selection Store 0.1 (July 24, 2013)

Post by CookieMonster »

The error code is delivered :)

Enternal
Posts: 1174
Joined: 10 Jan 2012 18:26

Re: Selection Store 0.1 (July 24, 2013)

Post by Enternal »

So after taking a look at the "Error", it seems for some reason the script is not loaded correctly. Can you try these steps?

1. Download SelectionStore.xys into your XYplorer Data\Scripts\ directory. Basically save it to <xyscripts>
2. In your catalog, right click under any category and click Add New Item Here...
3. Type in:
Caption: Selection Store
Location: ::load "<xyscripts>\SelectionStore.xys"
4. Hit OK
5. Try dragging files onto that new catalog item
6. Click catalog item Selection Store
7. Click "Show Store #1"

Are you getting what you dragged in into it?

Post Reply