Is it possible to assign a user button (you know, these blue-with-white-star ones) to a script file?
I have tried (of course, I have foo.xys in Script folder), but it gives me an error.
Assign button to a script file
-
John_C
- Posts: 336
- Joined: 16 May 2018 20:04
Assign button to a script file
To see the attached files, you need to log into the forum.
-
klownboy
- Posts: 4480
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
Re: Assign button to a script file
You have to load the script file.
load "foo.xys"; Take a look at script command "load in Scripting Commands Reference in the Help for more examples. You shouldn't need a path before the script as long as it resides in your XYplorer script folder.-
John_C
- Posts: 336
- Joined: 16 May 2018 20:04
Re: Assign button to a script file
@klownboy
Works, thanks.
Works, thanks.
XYplorer Beta Club