follow mouse

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

follow mouse

Post by yusef88 »

when hit this command in catalog #550; the menu pops up away from mouse
To see the attached files, you need to log into the forum.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: follow mouse

Post by TheQwerty »

Do you have the PopupMenusAtSelection tweak enabled?

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

Re: follow mouse

Post by yusef88 »

Thanks for solution i changed it to 0
PopupMenusAtSelection=1

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

Re: follow mouse

Post by yusef88 »

possible to change command icon in catalog?

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: follow mouse

Post by bdeshi »

Set the item's title/caption like this:

Code: Select all

Caption text|path\to\icon.ico
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

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

Re: follow mouse

Post by yusef88 »

SammaySarkar very thanks

Stef123

Re: follow mouse

Post 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.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: follow mouse

Post 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
Last edited by bdeshi on 18 Jun 2014 06:28, edited 1 time in total.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Stef123

Re: follow mouse

Post 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

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: follow mouse

Post by bdeshi »

Haha, I just have too much time on my hands! :biggrin:

Thank Don, not me, for these outstanding little features!
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: follow mouse

Post 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. ;)

Post Reply