Re: QuickTime 7 Original File now posix path - Is this a bug?
Re: QuickTime 7 Original File now posix path - Is this a bug?
- Subject: Re: QuickTime 7 Original File now posix path - Is this a bug?
- From: Brennan <email@hidden>
- Date: Sun, 22 May 2005 11:53:12 +0200
On 9/5/05 at 20:14, Laine Lee <email@hidden>
wrote:
> In QuickTime Player versions 5 and 6, "original file of movie
> 1" returns an alias, but in QuickTime Player 7 it returns a
> unix file path string. This appears to be an undocumented
> change. Why the change?
The QT7 Player has been rewritten from scratch in cocoa. Cocoa scripting
has the dubious distinction of using posix paths extensively.
I am still hunting down all these changes myself.
> What I'm getting at is if I fix this in my scripts, is it
> likely to change back because it's wrong?
For now, if you want to write a script which works with both the QT6
player and the QT7+ player, you will have to test the type of the variable
first, which you should probably be doing anyway because there are now so
many different kinds of pathname.
See pages 268-269 of "AppleScript: The Definitive Guide" for all the
coercions and contortions that ought to be at your fingertips!
Brennan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden