Re: set volume from shell
Re: set volume from shell
On 26 May 2011, at 17:00, Ronald Hofmann wrote: Hi all, I got a problem with 'set volume 8'. When using in AppleScript Editor it works great.
But when trying to use itlike this: set theCMD to "osascript \"set volume 8\""
try set theCMD to "osascript -e \"set volume 8\""
I get this error: error "osascript: set volume 8: No such file or directory"
I also tried single quotes, no quotes it´s always the same.
Why this: 'No such file or directory'?
I´m using do shell script pretty often and know how to use it.
I´m lost. What is wrong here?
Greetings, Ronald
Regards
Jonathan Mitchell
Developer Mugginsoft LLP
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden