Page 1 of 1

Commands without # shortcut

Posted: 25 Aug 2026 13:14
by mackem
I want to create a shortcut button for a command that doesn't have a # code assigned to it. For example, I have a shortcut button for #630 (tools-list management-mini tree) that brings up a menu that has the option 'Clear list'. Is there a way to create a shortcut that operates 'Clear list' directly? I know that it's only substituting 1 click for 2, but it's my knowledge and understanding that I want to further as much as the shortcut.

Apologies in advance if it's really too obvious or simple (or not possible) - I've looked through the help files and this forum but can't see anything
Many thanks

Re: Commands without # shortcut

Posted: 25 Aug 2026 20:46
by klownboy
I don't believe there is anything like that, but you could instead feed keys into that dialog box using the undocumented scripting command "sendkeys". https://www.xyplorer.com/xyfc/viewtopic ... 94#p119994

sendkeys "{tab 2}{down 2}{Enter 2}"; #630 ;
sendkeys "%c{Tab}~"; #630 ; Using the "alt" key as in Alt "C" %c to clear the list works, but the use of alt seems to affect using "Enter" afterwards to exit and save the changes.

You could use the same technique to clear other List Management items, like "History..." #618. sendkeys "{tab 2}{down 2}{Enter 2}"; #618 ;

Re: Commands without # shortcut

Posted: 26 Aug 2026 13:46
by mackem
Thanks so much for such a quick response - looking forward to experimenting ;)