Selection Store 1.0.1 (March 27, 2014)

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

Re: Selection Store 1.0.1 (March 27, 2014)

Post by Enternal »

Thanks to another suggestion by LittleBiG, I am testing a new option. This is mainly in regard to using the script as a CTB (custom user button). When loading a Store, the name of the Store will be truncated to the first 3 character and that 3 character will be the identifier for the Store and will become the label for the CTB. If the Store is cleared, the icon will revert back to the default icon. Also, custom user icon for the script will be respected so you are still free to pick your own script icon if you hate my choice :lol:

The script can still be used as a Catalog item as before. Now for those who use it as a CTB, it can reveal some useful information.
Default Icon
Default Icon
SStoreIcon1.png (4.63 KiB) Viewed 3788 times
Store "Test" Loaded
Store "Test" Loaded
SStoreIcon2.png (2.92 KiB) Viewed 3788 times
Custom Icons Are Honored
Custom Icons Are Honored
SStoreIcon3.png (3.48 KiB) Viewed 3788 times
Attachments
SelectionStore1.0.2Beta.xys
Selection Store 1.0.2 Beta (March 27, 2014)
(21.68 KiB) Downloaded 235 times

sinilill
Posts: 111
Joined: 02 Dec 2013 18:37

Re: Selection Store 1.0.1 (March 27, 2014)

Post by sinilill »

Image

Is this a BUG? Tried it with 1.0.1 and the latest beta.
'Show Store Content' always shows item(s) I stored the first time + currently stored item(s). 'Edit Store Content' is OK and shows only the currenlty stored item(s)!

Stef123

Re: Selection Store 1.0.1 (March 27, 2014)

Post by Stef123 »

Dreaming of something really cool: All saved stores as sub-entries under SelStore in the catalog, or upon right-clicking the CTB
Clicking on such a MyList.sstore would open it directly. Immediate access to a new brand of super-charged favorites, a bit like the mini-tree, only much more flexible and easier/ faster to set up.

ojcuts
Posts: 54
Joined: 03 Feb 2013 15:15

Re: Selection Store 1.0.1 (March 27, 2014)

Post by ojcuts »

It only works once, then won't work anymore after the first operation is done.

The first time adding selections, status msg showed item(s) added to store (default), fine with this.
After copy or move and cleared the store , add selections again,status msg showed item(s) added to store ($P_SStoreName),, any further operations won't work.
ze ojc uts

eil
Posts: 1815
Joined: 13 Jan 2011 19:44

Re: Selection Store 1.0.1 (March 27, 2014)

Post by eil »

it seems latest version 1.0.2 is broken -most of things do nothing with error = Load "", "_Add";
Win 7 SP1 x64 100% 1366x768|1900x1080

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

Re: Selection Store 1.0.1 (March 27, 2014)

Post by Enternal »

Really sorry everyone! I have been really busy so haven't been on the forums in a long time. Anyway, these bugs are definitely weird. Everything is working on my side so I'm still trying to figure out a way to replicate that behavior.

On the other hand, I don't think it's worth it anymore since Don finally implemented the virtual folders (Paper Folders) which the script was created as a temporary solution.

EDIT: Out of curiosity, what version of XYplorer are you all running?

eil
Posts: 1815
Joined: 13 Jan 2011 19:44

Re: Selection Store 1.0.1 (March 27, 2014)

Post by eil »

Enternal wrote:EDIT: Out of curiosity, what version of XYplorer are you all running?
14.20.204
as a master you probaby know that it's bad to leave your creation unfinished even if it seems to be obselete. who knows where Store still can be better. :wink:
Win 7 SP1 x64 100% 1366x768|1900x1080

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

Re: Selection Store 1.0.1 (March 27, 2014)

Post by Enternal »

eil wrote:
Enternal wrote:EDIT: Out of curiosity, what version of XYplorer are you all running?
14.20.204
as a master you probaby know that it's bad to leave your creation unfinished even if it seems to be obselete. who knows where Store still can be better. :wink:
Hahaha yes I completely agree. I was working on it a couple hours ago and found another bug. I will try to get this bug figured out so that I can push a final version and uhh... leave it there until I feel like polishing it up further heh. Anyway, thanks!

Stef123

Re: Selection Store 1.0.1 (March 27, 2014)

Post by Stef123 »

A few years down the road ... in some virtual antiques corner ... some folks will thank you for the nostalgia to run XY in legacy mode ...

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

Re: Selection Store 1.0.1 (March 27, 2014)

Post by Enternal »

I could not figure out the problem.

For those who were having issues, could you copy this and paste it into the addressbar and then run it?

Code: Select all

Goto "*?Tags:SelectionStoreTag /r";
What do you see? If there are any files that are showing that should not be there, please unlabel them by selecting all of them and run this code in the addressbar:

Code: Select all

Tag SelectionStoreTag,,1,2;
Then let's clear all variable and state by go to Scripting > Run Script and use the code:

Code: Select all

Tag SelectionStoreTag,$P_SStore,1,2;
Unset $P_SStore, $P_SStoreName;
Now report to me again if you have the same problem as before.

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: Selection Store 1.0.1 (March 27, 2014)

Post by yusef88 »

in show store content tab,can i customize the icon?
Attachments
2014-08-24_180009.png
2014-08-24_180009.png (9.25 KiB) Viewed 3438 times

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Selection Store 1.0.1 (March 27, 2014)

Post by bdeshi »

In the script, search for:

Code: Select all

"_Show"
In this subscript, there's a command that renames a tab:

Code: Select all

Tab("Rename", "Store ($P_SStoreName)");
Now, tab naming convention in XY is "Tab Title|tab icon path".
So replace that line with:

Code: Select all

Tab("Rename", "Store ($P_SStoreName)|<xyicons>\scheme\select.ico");
use the icon path you want.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: Selection Store 1.0.1 (March 27, 2014)

Post by yusef88 »

thanks

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: Selection Store 1.0.1 (March 27, 2014)

Post by yusef88 »

Hi , i need some help
in blow command if store is empty it shows warring "nothing in store and doesn't open any tabs

Code: Select all

"_Show"
	If $P_SStore > 0 {
		Tag SelectionStoreTag,$P_SStore,1; //Tag each item with the SelectionStoreTag.
		Tab("New"); //Open up a new tag.
		Goto "*?Tags:SelectionStoreTag /r"; //Display all file with the SelectionStoreTag tag.
		    Tab("Rename", "Store ($P_SStoreName)|:meta");; //Rename the tba to make it a clea distinction.
		Tab("Lock","0"); } //Unlock the tab so that closing the tab won't be a hassle with a confirmation dialog.
	If $P_SStore == "" {
		Status "Nothing in Store ($P_SStoreName).",,"alert";
		Msg "Nothing in Store ($P_SStoreName)."; }
now i'm trying open store in paper folder how to do same behavior not opening tab if store is empty

Code: Select all

"View in paper Folder|:paper"
	$pfName = "ShowStore";
	//$pfName = input("Name of PaperFolder","(paper folders with same name is overwitten)", $pfName, s,, 300);
	//uncomment the command above to choose target PF
	paperfolder($pfName, $P_SStore, '|', n);
	tab(new, "paper:".$pfName);
	//to display the paper folder in the current, active tab:
	// 1) replace the "n" mode in paperfolder() command with "nl",
	// 2) and remove/comment out the tab() command.
	If $P_SStore == "" {
		Status "Nothing in Store ($P_SStoreName).",,"alert";
		Msg "Nothing in Store ($P_SStoreName)."; }
second command is copied from SammaySarkar XYCollector script

Post Reply