Originally Posted by pdurrant
If you use Script Editor to open the script up, you'll be able to see exactly what commands are needed and how they're issued.
Thanks for the tip pdurrant. Just shows I have still a lot to learn before I can mess around in Terminal. Great stuff!