Page 1 of 1
User Button Programming
Posted: 12 Oct 2024 19:18
by AgentSmith007
User Button Programming
I added User Button to the tool bar. I searched forum, looked at the program help, but still don't know if script has to be used, or something else.
My goal is for that button to perform this action (as I would click menu):
File --> Settings Special --> Backup Application Data Folder...
Any help appreciated.
Re: User Button Programming
Posted: 13 Oct 2024 02:21
by RalphM
If you switch on "Help / Command ID's On Menu" the menu ID numbers are displayed in every menu.
If you then show the file menu you'll see that the function you're after has the ID #196, so your script for that button would just be #196.
Edit: Corrected reference from Keyboard Shortcuts to Menu ID's
Re: User Button Programming
Posted: 13 Oct 2024 02:34
by AgentSmith007
RalphM wrote: ↑13 Oct 2024 02:21
If you switch on "Help / Keyboard Shortcuts On Menu" the shortcut menu item numbers are displayed in every menu.
If you then show the file menu you'll see that the function you're after has the ID #196, so your script for that button would just be
#196.
Thank you, Thank you!!
Learned something new today. It works.
The only thing that confused me was that I already had
"Keyboard Shortcuts On Menu" switched on. But then I saw
"Command IDs on Menu" right below it that was not checked. After I checked that I could see all codes.
This XYplorer is just freaking awesome!