
Collect and paste
Re: Collect and paste
Thank you so much serenditpity!! 

Re: Collect and paste
Is this feature already catered by XYplorer by default? It seems not.
This script is already buggy since it still used the old script syntax. I got an error when running this script.
Thanks a lot to @PeterH for informing about the new syntax - http://www.xyplorer.com/xyfc/viewtopic. ... pt+command
So I've corrected all the errors in the attached file. Well I hope it already covers all.
By the way, why this very useful script is not included in this list - http://www.xyplorer.com/xyfc/viewtopic. ... ty#p111834
Thank you.
This script is already buggy since it still used the old script syntax. I got an error when running this script.
Thanks a lot to @PeterH for informing about the new syntax - http://www.xyplorer.com/xyfc/viewtopic. ... pt+command
So I've corrected all the errors in the attached file. Well I hope it already covers all.
By the way, why this very useful script is not included in this list - http://www.xyplorer.com/xyfc/viewtopic. ... ty#p111834
Thank you.
Last edited by aimy on 01 Oct 2014 03:01, edited 1 time in total.
Re: Collect and paste
Thank you for rejuvenating this topic. It was undoubtedly a super-useful script in its time.
I've been using a similar but much much simpler script for the job.
If anybody's interested, here's XYCollector, a combination of my system with XY_Collect. --------old uploads-------- [/size]
I've been using a similar but much much simpler script for the job.
If anybody's interested, here's XYCollector, a combination of my system with XY_Collect. --------old uploads-------- [/size]
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: Collect and paste
Thank you Sammy for your correction.
Yes, I truly find this script is very practical and useful since it's very common to do such operation i.e. copying/moving several files from multiple locations.
So I really hope that this can be included by default in future versions of XYplorer or at least please list it out among the major available scripts.
Thank you.
Yes, I truly find this script is very practical and useful since it's very common to do such operation i.e. copying/moving several files from multiple locations.
So I really hope that this can be included by default in future versions of XYplorer or at least please list it out among the major available scripts.
Thank you.
Re: Collect and paste
great script, but is there a quick way to mark all the checkboxes or disable them?
Re: Collect and paste
good script
can i show collected items as a paper folder?
i used last version by SammaySarkar

can i show collected items as a paper folder?
i used last version by SammaySarkar
Re: Collect and paste
@sinilill: right click any item and choose "Check All"/"Uncheck All"
@yusef: done. Check my original post above.
Always uses a paper folder called XYCollector, but you can uncomment a particular line in the script to get a choice of target paper folder at runtime.
@yusef: done. Check my original post above.
Always uses a paper folder called XYCollector, but you can uncomment a particular line in the script to get a choice of target paper folder at runtime.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
- Posts: 4317
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 24H2 Build 26100.3915 at 100% 2560x1440
Re: Collect and paste
Nice script - it will be very useful. I've made it the right click on a CTB along with Selection Store though it appears they may be very similar. Thanks for updating to Sammay and Aimy. 

Re: Collect and paste
I used to have a shell ext called PikyBasket in my pre-XY days; XYCollector, or rather it's simpler version, was born to mimic that. (this script is more true to pikyBasket's behavior than SelStore)
After all, It's only natural to try replacing the best part of other programs with XY/Script.
After all, It's only natural to try replacing the best part of other programs with XY/Script.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: Collect and paste
i hope it won't be "too necro".. can smb please help to modify this script to add one more function >
- when you collect items with this script and use "Show collected items", it shows them as:
item1
item2
item3
i need to transform this into:
"item1" "item2" "item3"
and copy to clipboard as a text.
this thing is very helpful when you need to past a list of files in some app for send/upload(say Skype "select files to send" system popup window).
- when you collect items with this script and use "Show collected items", it shows them as:
item1
item2
item3
i need to transform this into:
"item1" "item2" "item3"
and copy to clipboard as a text.
this thing is very helpful when you need to past a list of files in some app for send/upload(say Skype "select files to send" system popup window).
Win 7 SP1 x64 100% 1366x768|1900x1080
Re: Collect and paste
No clue which script (and version) you mean, there are several ones in this thread...
Using Sammays last version..
Old
New
If it's not, do it yourself
Using Sammays last version..
Old
Code: Select all
"Show collected items|:qfv : _show"
$ViewItems = input("You have collected $p_CollectPaste_Count item".(($p_CollectPaste_Count=1)?'.':"s."), "You can edit the list below -- one line per item.", replace($p_CollectPaste_Items, "|",<crlf>), m, , 600, 50%);
unset $ViewItems;
//$p_CollectPaste_Items = inputselect("You have collected $p_CollectPaste_Count item".(($p_CollectPaste_Count=1)?'.':"s.")."<crlf>You can edit the itemlist here -- check the items you want to keep", $p_CollectPaste_Items,, 1+2+64, , 600, 50%, "XYCollector - Collected Items");
$p_CollectPaste_Count = gettoken($p_CollectPaste_Items, count, "|");
writepv;
status "collected itemlist updated";
Code: Select all
"Show collected items|:qfv : _show"
$ViewItems = input("You have collected $p_CollectPaste_Count item".(($p_CollectPaste_Count=1)?'.':"s."), "You can edit the list below -- one line per item.", '"' . replace($p_CollectPaste_Items, "|",'" "') . '"', m, , 600, 50%);
$p_CollectPaste_Items = formatlist(replace($ViewItems,<crlf>,"|"), sde, "|");
copytext $p_CollectPaste_Items;
unset $ViewItems;
//$p_CollectPaste_Items = inputselect("You have collected $p_CollectPaste_Count item".(($p_CollectPaste_Count=1)?'.':"s.")."<crlf>You can edit the itemlist here -- check the items you want to keep", $p_CollectPaste_Items,, 1+2+64, , 600, 50%, "XYCollector - Collected Items");
$p_CollectPaste_Count = gettoken($p_CollectPaste_Items, count, "|");
writepv;
status "collected itemlist updated";
One of my scripts helped you out? Please donate via Paypal
Re: Collect and paste
thank you highend , your variant works as desired
. my bad not stating what script i was referring to, but you guessed right i it was about Sammay's last version.
one little question: XY has clipboard button that allows to edit it and show clipboard content on hover - do you know if user buttons can acquire this hover feature?

one little question: XY has clipboard button that allows to edit it and show clipboard content on hover - do you know if user buttons can acquire this hover feature?
Win 7 SP1 x64 100% 1366x768|1900x1080
Re: Collect and paste
Sammay - After making a collection I use the "Copy items to..." menu choice. This brings up the window showing all items collected, with checkboxes. I right-click on any item and the copy choices are "Copy item", "Copy all items", and "Copy checked items". The first two choices seem to do nothing i.e. if I pick either one and then press "OK", the script just ends. Checkmarking items and then using "Copy checked items" works fine. Can the two dud entries be fixed or removed?
Re: Collect and paste
Those context menu items are a feature of inputselect() and they copy the text of the item(s)
to the clipboard^^
to the clipboard^^
One of my scripts helped you out? Please donate via Paypal
-
- Posts: 37
- Joined: 13 Dec 2016 10:58
- Location: Stuttgart, Germany
Re: Collect and paste
Hi,
am I really the only one getting script errors when using the two scripts?
Do I have somewhere a wrong setting?
I'm running latest XY, 18.50.0200 portable
Talking about these 2 scripts:
- XYplorer_Collect v2.xys - Updated on Wednesday, 01 October, 2014
- XYCollector.xys - Latest
Errors like this one:

I could fix all errors in XYplorer_Collect v2.xys. Some missing " " .
In XYCollector.xys I don't know how to fix this one:

Is there something wrong on my end?
greetz
am I really the only one getting script errors when using the two scripts?
Do I have somewhere a wrong setting?
I'm running latest XY, 18.50.0200 portable
Talking about these 2 scripts:
- XYplorer_Collect v2.xys - Updated on Wednesday, 01 October, 2014
- XYCollector.xys - Latest
Errors like this one:

I could fix all errors in XYplorer_Collect v2.xys. Some missing " " .
In XYCollector.xys I don't know how to fix this one:

Is there something wrong on my end?
greetz