Page 1 of 1
Popup by Tag/Cmt column right-click
Posted: 03 Nov 2010 07:40
by sandra
I use Tags and Comments very much and have "Popup by Tag/Cmt column right-click" checked to be able to use the commands "Copy/Paste/Remove Comment". I wouldn't need the popup for Tags, because all functionality is available via toolbar button or the menu.
One side effect I observed is that I often open the Tags popup by mistake. I never had this problem with the Comments column because I have it located on the far right side of the list.
Would it be possible to have:
1) an Option/Tweak to only have the popup for the comments column
2) OR the "Copy/Paste/Remove Comment" commands under "Customize Keyboard Shortcuts - Miscellaneous"?
Re: Popup by Tag/Cmt column right-click
Posted: 03 Nov 2010 07:58
by admin
Remind me later.
Re: Popup by Tag/Cmt column right-click
Posted: 03 Nov 2010 08:05
by sandra
Alright, thanks.
Re: Popup by Tag/Cmt column right-click
Posted: 03 Nov 2010 20:08
by TheQwerty
You too can make option 2 happen today!
So here's a simple script file that contains items for:
- Copy Comment from...
- Focused Item
- Selected Item(s)
- All Items in List
- Paste Clipboard As Comment for Selected Item(s)
- Remove Comment(s) from Selected Item(s)
Now you have a couple options to get it so you can assign keyboard shortcuts:
- Assign it to a User Defined Command (UDC) as a single "Run Script" or save it to a file and use the "Load Script File" UDC.
And then you can assign that UDC a keyboard shortcut either in the UDC dialog or in Customize Keyboard Shortcuts. This will display a menu of the items which also have keyboard accelerators, so to Copy the focused comment you would use your custom keyboard shortcut and then press 'f'.
- You can take each script from the script file and assign them to different "Run Script" UDCs, and assign each one a shortcut key.
This thread may be of some help to you:
http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=5750
Or just ask if that's not quite clear or working for you!
Code: Select all
/*############################################################################
## Commentate.xys
##
## Copy, Paste, or Remove Comments.
##
## Author: TheQwerty
## Forum: http://www.xyplorer.com/xyfc/viewtopic.php?p=54118#p54118
## Version: 20101103.0625
#############################################################################*/
"Copy &Focused Comment|:copy : copy" CopyText Report('{Comment}', "<focitem>");
"Copy &Selected Comments|:copy : copySel" CopyText Report("{Comment}<crlf>", 1);
"Copy &All Comments|:copy : copyAll" CopyText Report("{Comment}<crlf>");
"-" //-----------------------------------------------------------------------------
"&Paste Comment|:paste : paste" Comment("<clipboard>");
"-" //-----------------------------------------------------------------------------
"&Remove Comment|:del : remove" Comment();
Re: Popup by Tag/Cmt column right-click
Posted: 04 Nov 2010 08:05
by sandra
TheQwerty wrote:You too can make option 2 happen today!
Thank you, TheQwerty.
Because of your great description I was able to make it work in about 30 seconds. It's absolutely amazing. I had no idea that such things are already possible with so little effort (and a scripting genius, of course).
Again, thank you so much for your great help!
