How to Run XYS Script as a Macro or a ShortCut ?
Posted: 13 Apr 2023 17:33
Please forgive my ignorance, these are truly the first toddler steps in the complex world of XYplorer scripting.
I truly tried searching in the program's embedded help file, and in this forum, but the search result were a "killer" to me, like a kid asking "what day is it today" and he gets 10 thousand answers, I got an Amazon jungle thrown at me without being able to spot a the right tree from the huge forest offered.
SO HERE IS MY QUESTION :
I want to associate the "event sounds" (new function) XYS file (contains : ces(); //show "Edit Event Sounds" dialog) with my system so that a plain click on that XYS file will show the Event Sounds dialog.
Or a tweaked shortcut (like those with some extra command-line info) will also do.
But simply associating XYS files with XYplorer in my system (Windows 10), e.g. the way I would associate JPG files with Irfan View, doesn't do the job.
A tweaked shortcut with the command-line "C:\...\XYplorer\XYplorer.exe" "C:\...\XYplorer\Data\Scripts\Event Sounds.xys" also doesn't work.
Basically, I am trying to avoid having to go through multiple clicks to execute this : Menu -> Scripting -> Run Script -> enter "ces(); //show "Edit Event Sounds" dialog" -> OK.
I want it to be a one-click thing.
Thanks in advance !
I truly tried searching in the program's embedded help file, and in this forum, but the search result were a "killer" to me, like a kid asking "what day is it today" and he gets 10 thousand answers, I got an Amazon jungle thrown at me without being able to spot a the right tree from the huge forest offered.
SO HERE IS MY QUESTION :
I want to associate the "event sounds" (new function) XYS file (contains : ces(); //show "Edit Event Sounds" dialog) with my system so that a plain click on that XYS file will show the Event Sounds dialog.
Or a tweaked shortcut (like those with some extra command-line info) will also do.
But simply associating XYS files with XYplorer in my system (Windows 10), e.g. the way I would associate JPG files with Irfan View, doesn't do the job.
A tweaked shortcut with the command-line "C:\...\XYplorer\XYplorer.exe" "C:\...\XYplorer\Data\Scripts\Event Sounds.xys" also doesn't work.
Basically, I am trying to avoid having to go through multiple clicks to execute this : Menu -> Scripting -> Run Script -> enter "ces(); //show "Edit Event Sounds" dialog" -> OK.
I want it to be a one-click thing.
Thanks in advance !