I like the template's footer on all of my scripts. So i was simply tired of copy n paste.
Maybe it's of use or at least an appetizer for all those XY users to come in cohorts.
For a more refined way to do footer needs - compare http://www.xyplorer.com/xyfc/viewtopic.php?t=2311
Code: Select all
// \Scripts\[XYscipts].xys
// Scripts file to work with world-famous XYplorer since v7 © 2000 (ongoing) Donald Lessau
// XYplorer 7.00, the "Scripting Edition", has been released on 31-Mar-2008
// General syntax: "Caption[ : Label]"[ ][::]command param, arg1, arg2, ..., switch[ ];[ ][::]command...
// These double slashes make up comment lines
// - sets a divider to the pop-up menu this scripts file will show on execution
// For detailed syntax go to Help menu > Scripting commands (Reference)
// and jacky's overwhelming base of knowledge, the XYWiki at
// http://88.191.26.34/XYwiki/index.php/Scripting
// http://88.191.26.34/XYwiki/index.php/Script_file
// Copy this code to a blank text file and call it xyscripts.xys
// or whatever you like and put it into your XYplorer NewItems folder
// as well as [template] folder of your favorite editor(s)
// Best with jacky's easing Syntax Coloring Scheme in EditPadPro
// Note: some advanced editors use special headers
// (and/or special file types [extensions] for their template files (e.g. NoteTab)!
// Edit this to your needs and liking
-
"Edit this scripts file" open <xypath>\Scripts\[XYscipts].xys
// Replace [XYscipts] with name of the scripts file you created from this template
// If you got a scriptable editor like NoteTab you may set a variable to do that for you
"Choose scripts file to edit" inputfile $file, <xypath>\Scripts\, xys, Select Scripts File; open $file
"Edit all scripts in Scripts folder" open "editpadpro" <xypath>\Scripts\*.xys
// Replace "editpadpro" with basename of your registered tabbed editor
// or define a PFA xys (active and top) for your favorite tabbed editor
// Note: the wildcard (*.xys) syntax will not work with non-tabbed editors like notepad
// Refer to Help menu > Scripting commands for alternative solutions
-
"CANCEL"