klyhutch
Jun 21 2007, 06:30 PM
Is there a way to set a Hotkey to start, stop and/or pause a SW script, in much the same way {F2} will start and pause ACTool Macros?
If this has been posted somewhere else, my appologies. I have used the search engine and cannot find the answer.
GKusnick
Jun 21 2007, 08:30 PM
There are no built-in hotkeys for those specific functions. You can however start and stop scripts from the chat line using /swc run scriptname and /swc stop as described in the Console section of the SkunkWorks documentation.
There are also API functions for responding to hotkeys, and for starting and stopping scripts, so you could use those in combination to write a script that starts other scripts in response to hotkeys.
It's possible for script authors to implement a Pause function into their scripts, and there's a module in the UserWare section to help with this. But it requires the script author to insert safe pause points into the script. There's no general mechanism for pausing a script that's not written to allow pausing.