QuickTimeX in Applescript / Scripting Bridge
I would like to be able to grab the metadata of the currently playing file in Quicktime X using ScriptingBridge and Ruby, so far I have the following code
require 'osx/cocoa'
OSX.require_framework 'ScriptingBridge'
@app = OSX::SBApplication.applicationWithBundleIdentifier("com.apple.QuickTimePlayerX")
@app.documents.each do |movie|
# What now?!
end
But I can't find any functionality in the QuickTime X Application Dictionary to get the metadata from an object document
(same data you can see in QT's Show Movie Inspector) - does anyone have any ideas?
a source to share
How about downloading QuickTime Player 7 and using that instead? It will not replace QuickTime Player X and has many features that X does not (although you will need the pro serial number to access some features from the GUI). Apple is still making this version available for a good reason!
Alternatively, if you have specified some Obj-C code, you can go ahead and access the metadata directly, as shown in the picture here .
a source to share