Good evening,
Is it possible to create a script that copies the data from the custom column named 'EXAMPLE' from the selected row to the clipboard?
Or even better: from the row you hover over with the mouse without selecting it?
Copy data custom column to clipboard
Re: Copy data custom column to clipboard
copytext report("{example}", <curitem>);
?One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 63687
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Copy data custom column to clipboard
Ah yes. Should work next time.
BTW, if you pass the item as file (or variable resolving to a file), the report will generate fresh data for that item:
You can usually achieve the same results (when just one item is selected), but with less work for XY, by passing number 1 for "all selected items". It will simply copy the data already present in the list:
BTW, if you pass the item as file (or variable resolving to a file), the report will generate fresh data for that item:
Code: Select all
copytext report("{example}", <curitem>);
Code: Select all
copytext report("{example}", 1);
FAQ | XY News RSS | XY Bluesky
-
- Site Admin
- Posts: 63687
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Copy data custom column to clipboard
Cool idea!

FAQ | XY News RSS | XY Bluesky
Re: Copy data custom column to clipboard
It is possible to check if the files displayed with listfolder() have comments and note in the variable $hasComment = True only for files that have such text?
Re: Copy data custom column to clipboard
Look at
quicksearch()
instead, it can return only the ones that have a comment but ofc you could iterate over the listfolder()
result and get the necessary stuff via tagitems()
...One of my scripts helped you out? Please donate via Paypal
Re: Copy data custom column to clipboard
Thank you both very much for all the help! :-)