



= copies the current weekday to the clipboard = copies the current date to the clipboard = copies the current path to the clipboard * SC (Scripting Command) "set": now, any general XY variables found in the value are resolved.= run the 2nd script found in testscripts.txt = loads RegExp-Both.xys if it exists and RegExp-Both doesn't. Note that separators and other non-script items do NOTĬount, so script #2 is the 2nd script, not necessarily If no script of that number exists, the menu is popped. Of that number (first script = 1) without popping a menu. # script to run: optional, will directly run the script You can skip adding the extension in the loadscriptfile "file.xys", so if you call your script files *.xys If the given file is not found then XY will look for scriptfile: required, can be relative to app path. Those scripts, or execute one of the scripts in the file = sets "well" to "well, well, well" and copiesĪction: Load a file with scripts and pop up a menu made from ::set well, well, well, well::copytext well = sets " " to "," and copies "a, a" to the clipboard Having to reset it using the "sep" command. Supply arguments containing the argument separator without Now allows having the argument separator (by default a comma If position is a, i, or f, count is ignored New Syntax: selpos position|"a"|"i"|"f", Ĭount: number of items to select, starting with position Paste this script to a file scripts.xys in app path:Ĭopy the newest file from Desktop : copynew If no caption is defined then there is no ID for this script. If no ID is defined the ID defaults to the caption itself. The separator is " : " (comma would be unpractical because it might be used in captions). Now, the script caption can contain a 2nd optional field for an ID (anything goes) that you can assign to the script. = run the (first) "demo" script in testscripts.txt = run the 1st script found in testscripts.txt See next paragraph for how to define this ID. If the argument start with #, the script isĮlse the script is identified by an ID which is script to run: optional, will directly run the News: Now, you can reference the scripts to executeĭirectly from file by an ID (your free choice),
