Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing track name in QuickTime Player




On May 26, 2005, at 7:36 AM, Frank Lowney wrote:

Roger Howard <email@hidden> wrote

At best this is confusing and inconsistent, but it looks like a bug to me.

I just submitted a bugreport to Apple, assigned number 4130968. It's described in more detail there.

Can anyone look this up and read it? How would I go about doing this? I had thought that this wasn't allowed by Apple because developers might reveal something about a product they are working on that hasn't been released yet.

I'm not sure - I know I can look up my own bugs , but no I don't see a way to search other's bugs. Any way, the site is at https://bugreport.apple.com and you need an ADC account (free) to use it. Here's the full text of my report, since it's not about a beta product I see no harm posting it here. The steps I listed are very explicit - I like to be overly explicit if in doubt - but it certainly doesn't take 9 steps to see this bug...


---------

25-May-2005 07:11 PM Roger Howard:
Summary
Each track in a Quicktime movie has an editable name. Using Quicktime Player this name can be edited by bringing up the Movie Properties, and double-clicking the Name column for a track to make the field editable. Quicktime Player is also scriptable. Each track has a "name" property that is read/write. When read, this property initially corresponds to the same value shown in Quicktime Player's Movie Properties window. When this value is modified with the "set" command using AppleScript, the name property is not edited; instead, a text annotation is added to the track with a type "Title" and the value intended for the name property. Once set this way, the "name" property of Quicktime Player now reports the annotation value, not the track's (still unchanged) name.


Steps to Reproduce:
1. Open a movie in Quicktime Player (Pro)
2. Create a new script in Script Editor
3. Paste the following line into Script Editor:
tell app "Quicktime Player" to get the name of track 1 of movie 1
4. Note the value returned
5. Paste the following line into Script Editor:
tell app "Quicktime Player" to set the name of track 1 of movie 1 to "New name"
6. Run the script
7. In Quicktime Player, bring up Movie Properties
6. Select the track (the second item in the list) whose value is the same as the value returned in step 4
7. Note the value "New name" has been added as an annotation within the first track, instead of modifying the track name as shown in the track list.
8. Paste the following line into Script Editor:
tell app "Quicktime Player" to get the name of track 1 of movie 1
9. Note the value returned now reflects the value of the annotation created in step 6, rather than the value in the name column shown in Movie Properties.


Expected Results:
Modifying the name property of a track using AppleScript and Quicktime Player should modify the name of the track, and querying the name property of a track should always return the name of the track, not an associated annotation. Behavior in Quicktime Player should be consistent whether operated by a human or an AppleScript.


Actual Results:
When the name of a track is set via AppleScript, a text annotation of type "Title" and with the value provided is added to the chosen track. When later queried via AppleScript, the name property of a track will report the value of the associated "Title" annotation rather than the actual name of the teack.


Regression:
This problem has been confirmed on Mac OSX 10.4.1 and Quicktime 7; it appears to be a problem new to Quicktime 7.


Notes:
none.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-users/email@hidden

This email sent to email@hidden
References: 
 >Re: Changing track name in QuickTime Player (From: JF Neto <email@hidden>)
 >Re: Changing track name in QuickTime Player (From: Roger Howard <email@hidden>)
 >Re: Changing track name in QuickTime Player (From: Frank Lowney <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.