Re: set volume from shell
Re: set volume from shell
- Subject: Re: set volume from shell
- From: Ron Hunsinger <email@hidden>
- Date: Thu, 26 May 2011 09:38:55 -0700
On May 26, 2011, at 9:00 AM, Ronald Hofmann wrote: 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\"" do shell script theCMD
I get this error:
You're missing the -e flag that tells osascript that you're passing an actual script, instead of the name of a script file.
Use:
set theCMD to "osascript -e \"set volume 8\"" do shell script theCMD
|
_______________________________________________
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