• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: QuickTime document file in Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >QuickTime document file in Leopard (From: Laine Lee <email@hidden>)

  • Prev by Date: Re: Removing spaces from a list in a Text file
  • Next by Date: Re: QuickTime document file in Leopard
  • Previous by thread: QuickTime document file in Leopard
  • Next by thread: Re: QuickTime document file in Leopard
  • Index(es):
    • Date
    • Thread