QuickTimeX in Applescript / Scripting Bridge
Posted
by JP
on Stack Overflow
See other posts from Stack Overflow
or by JP
Published on 2010-05-17T18:09:36Z
Indexed on
2010/05/24
16:01 UTC
Read the original article
Hit count: 269
I'd 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 functions in QuickTime X's applescript dictionary to get the metadata from a document
object (the same data you can see in QT's 'Show Movie Inspector' HUD) — does anyone have any ideas?
© Stack Overflow or respective owner