Re: QuickTime document file in Leopard
Re: QuickTime document file in Leopard
- Subject: Re: QuickTime document file in Leopard
- From: Matt Deatherage <email@hidden>
- Date: Sun, 4 Nov 2007 12:54:16 -0600
On 11/3/07 at 7:41 PM, Laine Lee <email@hidden> wrote:
Is there any way to get rid of the garbage before the posix path other
than to write a perl snippet and file a bug report?
tell application "QuickTime Player"
set x to (original file of document 1)
set y to (POSIX path of x)
end tell
...sets y to a valid POSIX path, but trying to copy/coerce it
back to a
"file" object still gives the bogus pathname you saw in step 1.
If all
you need is the text, though, that should work.
This clearly seems to be a bug either in QuickTime Player or in
Leopard's AppleScript coercion, so file a bug at
<http://bugreporter.apple.com/> so it can get fixed.
--Matt
--
Matt Deatherage <email@hidden>
GCSF, Incorporated <http://www.macjournals.com>
"Warning signs that your lover is bored:
1) Passionless kisses
2) Frequent sighing
3) Moved, left no forwarding address" -- Matt Groening
_______________________________________________
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