Thanks for that link. Not entirely sure whether I've done exactly what your guide stated but here's how I found a '
solution'. This is FAR from elegant, and I'm hoping somebody picks it apart and explains why I've had to run one script, to then run another!
However, it does mean that I can use Switch to produce executable .TXT files with Variables on a whim without changing the original 'Action' Script.
The
Execute Command has been set up :
Name :
Description :
Execution mode : Concurrent
Command or path : /Users/Studio/Documents/Switch Storage/050-HDD Add-on/Switch-SCRIPT/NotifyV02
Arguments :
Output :
Fail If exit code is : Nonzero
Fail If stdout contains :
Fail If stderr contains :
The contents of
NotifyV02 :
Code: Select all
#!/bin/bash
cd /Users/Studio/Documents/Switch\ Storage/050-HDD\ Add-on/Switch-SCRIPT/
open Notify
The contents of
Notify :
Code: Select all
growlnotify -H 192.168.XXX.XX -t "Notice" -m "COMPLETE" -P password