Ensuring syntax checking is on when writing scripts
Posted: 27 Jan 2021 20:04
Lately I've been using a Customized File Association to ensure Syntax Checking is on when I'm either writing, testing, or modifying scripts.It works to ensure Syntax Checking is on but ideally, I'd like to turn it off when I'm done. Although it's not really necessary to turn it back off obviously so I simply leave it on. XYplorer doesn't have something equivalent to AHK's command "WinWaitClose" (EDIT: actually "runwait" may be more appropriate here) which waits until a program close and then will perform an action. Something along those lines would be a nice addition to XYplorer. Though I don't know if it would be possible since it would require monitoring the system to see if that program has closed. Any thoughts?
Code: Select all
"Run XYS Script [Shift]|:openwith" xys>::selectitems <pfaitem>;if (get("Shift")){load "<pfaitem>";} else {savesettings 1;if (getkey("ScriptStrictSyntax", "Settings") == "0") {#758;}openwith "D:\Tools\AkelPad\AkelPad.exe", s;}