[XYScript] XYSpawner: Consolidate and Start Scripts

Discuss and share scripts and script files...
Post Reply
WirlyWirly
Posts: 312
Joined: 21 Oct 2020 23:33
Location: XY 64-Bit | Win 10 @ 100% (3440x1440)

[XYScript] XYSpawner: Consolidate and Start Scripts

Post by WirlyWirly »

XYSpawner
XYSpawner.png

Introduction
XYSpawner is a script-launcher that allows you to define and then load script or #ID commands.

The goal of this script is to provide a single menu to consolidate a large number of scripts/commands, while keeping them all only a few keystrokes away.


Instructions
Download and load the XYSpawner.xys script. You will be presented with a list of example scripts. Configuration is done by editing the XYSpawner.ini file, where you can add/remove scripts.

In the config, I have included various settings you can set, a few of which will change the XYSpawner Icon/WindowTitle. If you want to have multiple XYSpawner configs for different things, changing the Icon/WindowTitle will help you in differentiating between them.

In the config I have included various script examples using a simple syntax...
script=NAME|SCRIPT or #ID|ICON (optional)

Example

Code: Select all

script=Downloads|goto lax("%userreal%\Downloads\")|%userreal%\Downloads
script=Empty Recycycle Bin|#642
script=XYForums|open("https://www.xyplorer.com/xyfc/search.php?search_id=active_topics")|<xy>

If you want to write more complex scripts that would be difficult to fit into a single line, I would still recommend the traditional route of saving them as a .xys file and then using XYSpawner to load them either directly or using their command # if you have registered them as a UDC...

Code: Select all

script=Favoritos|load("<xyscripts>\Favoritos.xys")
script=Favoritos|#1400
For the more advanced users, I have also included a functions.xys file, where you can create helper-functions that will be imported into XYSpawner and made available to your scripts.

Download
XYSpawner.zip
You do not have the required permissions to view the files attached to this post.

Post Reply