Archive for the ‘QuickTime’ Category
September 10 '09 - 12:02 pm
Several users have emailed about this: If you have upgraded to Snow Leopard and are using Join Together you will need to install QuickTime Player 7. And be sure to get the latest version of Join Together.
QuickTime Player 7 is in “Optional Installs” on your Leopard Install disc. Open this folder, run “Optional Installs.mkpg”, and make sure “QuickTime Player 7″ is checked.
After installing QTP7 (or if it is already installed), you can find it in /Applications/Utilities/. Activate it and run it long enough for it to establish a full launch, and then quit it. This will be enough activity for its preferences file to be created, which Join Together needs to locate.
posted in Join Together, QuickTime, Snow Leopard
September 6 '09 - 8:21 pm
If you’ve got a script that needs to target QuickTime Player in Snow Leopard you probably really want to target “QuickTime Player 7″. Otherwise, if you target “QuickTime Player” the QuickTime Player X app will run and it doesn’t have the AppleScript Goodness like QTP7. However, if the script also has to run in Leopard, you have to target “QuickTime Player”–without the “7″. But you don’t need to write two scripts.
In OS 10.5 and later you can target an app by its application id. I remember seeing that in the AppleScript Release Notes for 10.5 thinking “Hmm. Now how can I use that” and never really thought of anything. Until I needed to access QTP in both 10.5 and 10.6.
This tell block:
tell application id "com.apple.quicktimeplayer"
-- do something in QuickTime Player
end tell
…will target “QuickTime Player” in OS 10.5 and “QuickTime Player 7″ in OS 10.6. The application id is the same for each, so it makes no difference what their names are. And the AppleScript architecture is virtually the same in both operating systems. (Remember that “QuickTime Player 7″ is an optional install either during installation or from the “Optional Installs” folder on your installation disc.)
“QuickTime Player X” is a drastically different version of the player app and scripts written for QTP7 will not play well with it. However, it is scriptable to a modest extent. Its application id is “com.apple.QuickTimePlayerX” in case you need to target QTPX specifically.
posted in AppleScript, AppleScript Syntax, Leopard, QuickTime, Snow Leopard, Tips and Info