Anyone know how I can make a button to run an existing script? I want the button to link to the script so that if I changed the script, I don't need to update the button.
Note: In the "user" menu, I have 2 "open with" scripts and 1 "run script" script. I want to make buttons for each of them.
How to make a button to run an existing script?
-
binocular222
- Posts: 1424
- Joined: 04 Nov 2008 05:35
- Location: Win11, Win10, 100% Scaling
Re: How to make a button to run an existing script?
You want to add custom toolbar button?
Right click Toolbar > Customize toolbar > Add a few User Buttons > OK
Right click any newly added user button > Edit > On click: Load "ScriptName.xys"
I advise that you save scripts to separate .xys files for easy calling instead of wirting it directly in User > Manage command > open with...
Right click Toolbar > Customize toolbar > Add a few User Buttons > OK
Right click any newly added user button > Edit > On click: Load "ScriptName.xys"
I advise that you save scripts to separate .xys files for easy calling instead of wirting it directly in User > Manage command > open with...
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
-
Stefan
- Posts: 1360
- Joined: 18 Nov 2008 21:47
- Location: Europe
Re: How to make a button to run an existing script?
Hi, I had posted a picture over there > http://www.xyplorer.com/xyfc/viewtopic. ... 908#p40908ghost zero wrote:Anyone know how I can make a button to run an existing script?
Maybe that helps a bit...
- - -
To see the attached files, you need to log into the forum.
XYplorer Beta Club