Re: Quicktime export permissions.
Re: Quicktime export permissions.
- Subject: Re: Quicktime export permissions.
- From: Shane Stanley <email@hidden>
- Date: Sat, 03 May 2014 10:06:33 +1000
On 3 May 2014, at 4:47 am, Rasmus Kreiner <email@hidden> wrote:
Do i need set some permissions to save a file via Applescript or is it a problem with the code?
It's a problem with the code. Try:
export front document in file filePath using settings preset "480p"
I'm not sure why you had curly brackets in there.
Commands like open/export/save take a file or alias. In a lot of cases you can pass a path, and it gets converted to a file on-the-fly. But you can't do that with a sandboxed app -- they insist on some kind of file object. And QuickTime is sandboxed.
02/05/14 21.36.31,014 QuickTime Player[28106]: .sdef warning for argument 'FileType' of command 'save' in suite 'Standard Suite': 'saveable file format' is not a valid type name.
That means there's a bug in QuickTime Player's scripting dictionary, in the save command. You should report the error.
|
_______________________________________________
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