So after a similar battle today…
you can’t define S=’/Launch’ as string like that. You have to use:
Similarly with filespec etc. You may also need to take the () off the filename – as that seemed to break it, at least in Apple Preview.
CLICK HERE to find out more related problems solutions.