Page 1 of 1

follow mouse

Posted: 17 Jun 2014 21:21
by yusef88
when hit this command in catalog #550; the menu pops up away from mouse

Re: follow mouse

Posted: 17 Jun 2014 21:34
by TheQwerty
Do you have the PopupMenusAtSelection tweak enabled?

Re: follow mouse

Posted: 17 Jun 2014 21:38
by yusef88
Thanks for solution i changed it to 0
PopupMenusAtSelection=1

Re: follow mouse

Posted: 17 Jun 2014 21:46
by yusef88
possible to change command icon in catalog?

Re: follow mouse

Posted: 17 Jun 2014 21:51
by bdeshi
Set the item's title/caption like this:

Code: Select all

Caption text|path\to\icon.ico

Re: follow mouse

Posted: 17 Jun 2014 22:02
by yusef88
SammaySarkar very thanks

Re: follow mouse

Posted: 17 Jun 2014 22:41
by Stef123
Sammay,
do you know where I find a list with the abbreviations for the internal icons?
I know some from the examples in the help file (:mru = recent locations, :udc = edit user commands, etc), but mostly it is tedious trial and error - I spent 10min on various combinations until I got :favs for favorite folders.

Re: follow mouse

Posted: 17 Jun 2014 22:59
by bdeshi
Stef, first add a ctb to the toolbar. Then (hold CTRL and) right-click on the ctb and choose customize.
Now in the "customize toolbar" list all buttons will have their shortnames beside their display name, like this: Favorite Folders [favs]. Just add a colon and serve. :biggrin:

EDIT: Now you may want to first click "remove all", then right click the list on left, and select "copy all items" to copy all button names+IDs to clipboard

Re: follow mouse

Posted: 17 Jun 2014 23:41
by Stef123
Thanks a ton,
You're the man, Sammay :beer: :beer:
wish I they had you sitting on the hotlines I have to deal with occasionally.

So it's essentially the same twist as with command IDs - never noticed that :oops:
Your second hint really rocks - I sorted the whole list alphabetically and now I am set to go .. :D

Re: follow mouse

Posted: 18 Jun 2014 06:27
by bdeshi
Haha, I just have too much time on my hands! :biggrin:

Thank Don, not me, for these outstanding little features!

Re: follow mouse

Posted: 18 Jun 2014 14:14
by TheQwerty
FYI, instead of adding a CTB to the toolbar you can see the labels by just running this script:

Code: Select all

button(,256);
Note the comma. ;)