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 0.1 (July 24, 2013)

Post by Enternal »

I took a look at the video and that is very very odd. It should not being doing that at all and the script relies on XYplorer's functions so it should not be adding random files from somewhere. Is it repeatable? Have you add those 2 images before in the past? Try doing a restart of XYplorer first and then run this in the address bar and tell me what you get:

Code: Select all

Goto "*?Tags:SelectionStoreItems /r";
Also, look at your Status bar and see what it tells you. I wrote it so that if you add *count* items, it will tell you that it added that many items to the Store. So if you selected 5 items and added it to the Store, the status bar should show "5 Item(s) Added to Store (Default)".

As for your suggestion about the menu, I do think that I'm not satisfied with the current organization. But I don't think yours is better either. I'm going to give it some more thought to see if it makes sense and how it could be better. How is everything else though? Also thank you very much for the feedback! :biggrin:

EDIT: How about this?

Current Store: Default
----------------------------
Add Selected Item(s) to Store
Remove Selected Item(s) from Store
----------------------------
Show Store Item(s)
Edit Store Item(s)
----------------------------
Copy Store Item(s) to Clipboard
Edit Store Item(s) to Clipboard
Copy Store Item(s) to Here
Move Store Item(s) to Here
----------------------------
Save Store
Load Store
Goto Store Folder
Clear Store


I could perhaps also the idea of using XYplorer's clipboard editor as a way to edit the item list as well but I need to also make sure to preserve whatever stuff is already on the clipboard. That way you don't need to edit the store items in text mode. But lets get the current version fully working first haha.

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

Re: Selection Store 0.1 (July 24, 2013)

Post by yusef88 »

liked the new organization it's a logical Arranged :appl:
forgot to tell that the two images i added them before to a store then deleted it and clear every thing after
any next releases or that is the final? thank you & sorry for my weak english

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

Re: Selection Store 0.1 (July 24, 2013)

Post by Enternal »

yusef88 wrote:liked the new organization it's a logical Arranged :appl:
forgot to tell that the two images i added them before to a store then deleted it and clear every thing after
any next releases or that is the final? thank you & sorry for my weak english
So it does work? Just to be sure, run the SelectionStoreClean.xys script I attached below. BACKUP YOUR DATA. This script will clean up all of my tags that I have used for Selection Store and clean up all the Stores in memory (the files will remain) so that you have a clean state for Selection Store. Anyway, I have also attached a new version of the script and there are some slight changes in there that's mostly cosmetics and names. Also, I changed the file extension for the Store from .store to .sstore. If everything else works for you then, this version should be the final. All I needed to do left is add comments for people who want to modify the code... maybe if I'm not lazy :)

I also removed all "Item(s)" and change the menu simply to "Content". Makes it look cleaner. For status and messages, I also changed it so that if you add 1 item, it will say "item" and if you add more than 1, it will say "items". Proper English!! I feel so proud of myself even though it's something so simple and stupid :whistle:
2014-03-23_181334.png
2014-03-23_181334.png (12.59 KiB) Viewed 3759 times
Attachments
SelectionStore_Beta4.xys
(11.11 KiB) Downloaded 195 times
SelectionStoreClean.xys
(2.15 KiB) Downloaded 191 times

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

Re: Selection Store 0.1 (July 24, 2013)

Post by yusef88 »

works fine expect 1 issue: old items even they are cleared still remains in "show store content" tag search
(i create clean profile to test the script)
Here are the steps:
1-add some files and save the store "test.sstore" (it will clear and switch back the default store)
2 add files the default store
3-press show store content (important)
4- load "test.sstore"
5-press show store content
Attachments
21.png
21.png (35.02 KiB) Viewed 3744 times

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

Re: Selection Store 0.1 (July 24, 2013)

Post by Enternal »

Oh... That is an unexpected scenario. The problem is if you leave that tab open, then the problem you encountered will happen. I expected people to close that tab and if they do, that problem won't occur.

Anyway, see if this works for you now. It should now work since I added an extra code that takes into account when people don't close the results tab. It simply was one line of code.
Attachments
SelectionStore_Beta4.1.xys
(11.19 KiB) Downloaded 200 times

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

Re: Selection Store 0.1 (July 24, 2013)

Post by yusef88 »

perfect..your efforts are commendable :appl:
(what about open "Show Store Content" in new tab)

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

Re: Selection Store 0.1 (July 24, 2013)

Post by Enternal »

yusef88 wrote:perfect..your efforts are commendable :appl:
(what about open "Show Store Content" in new tab)
The "Show Store Content" had always opened it in a new tab so when you told me it did not, it was confusing. But with a fresh install, it indeed was doing what you said it was. I then found out that my current installation had:
Configuration -> Find Files & Branch View -> Show name search results in current tab
unchecked which pretty much force all name search to open in a new tab which also explained why when I told it to open a new tab, it opened 2 new tabs :shock:

Anyway, it's not added and I will post it up once I get a couple more things ready. Also found a small bug so that's going to be fixed as well. I think the final version should be ready sometime tonight. :) Also need to add more comments. Otherwise other script tinkerers and programmers are going to hate me. It's funny since I'm usually really good with commenting code (even though I'm not exactly a programmer) but when it comes to XYplorer scripts, I don't comment as much as I'm supposed to. Don's excellent programming makes me lazy :whistle:

Thanks for all the testing!

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

Re: Selection Store 0.1 (July 24, 2013)

Post by yusef88 »

I hope that the final version is nearing completion..we are waiting

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

Re: Selection Store 0.1 (July 24, 2013)

Post by Enternal »

yusef88 wrote:I hope that the final version is nearing completion..we are waiting
Hello! Sorry for the late reply. Was gone yesterday. Anyway, final version is now posted and ready! Thank you for all the testing!
http://xyplorer.com/xyfc/viewtopic.php?f=7&t=9983

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

Re: Selection Store 1.0 (March 25, 2014)

Post by yusef88 »

when the debug button should be used.. big thank you :appl:

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

Re: Selection Store 1.0 (March 25, 2014)

Post by Enternal »

yusef88 wrote:when the debug button should be used.. big thank you :appl:
Aaargh. It shouldn't be. I removed it. You can redownload if you wish. Basically you don't really need to use it unless you want to take a look at my code. That debug menu makes it easier to open it in notepad.

Anyway, thanks!

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

Re: Selection Store 1.0 (March 25, 2014)

Post by yusef88 »

yes,looks pretty without it.. thanks.

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Selection Store 1.0 (March 25, 2014)

Post by LittleBiG »

May I ask a small and simple improvement on this great script? If there is a store loaded, and I click on the "Save store", the actual store name (if it is other than "Default") should appear in the input box by default. The Load Store-Add files-Save Store process would be smoother. Thanks in advance.

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

Re: Selection Store 1.0 (March 25, 2014)

Post by Enternal »

LittleBiG wrote:May I ask a small and simple improvement on this great script? If there is a store loaded, and I click on the "Save store", the actual store name (if it is other than "Default") should appear in the input box by default. The Load Store-Add files-Save Store process would be smoother. Thanks in advance.
Oh! Yeah that would smooth the process a lot.
http://xyplorer.com/xyfc/viewtopic.php? ... 983#p89888

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Selection Store 1.0 (March 25, 2014)

Post by LittleBiG »

Enternal wrote:Oh! Yeah that would smooth the process a lot.
http://xyplorer.com/xyfc/viewtopic.php? ... 983#p89888
Thanks, perfect! :appl:

Post Reply