Scripting RealPlayer 10

I have found tons of examples for scripting RealOne Player, but none of them work in the latest RealPlayer (The free version 10)

I’m building a media database in filemaker with the ability to launch the appropriate player (Apple DVD player, Quicktime Player, VLC, etc…) and RealPlayer is stumping me.

You would think that something this bloody obvious would work:

tell application "RealPlayer"
activate
open alias "Macintosh HD:test.rm"
end tell

Nope… nada.

Or this:

tell application "RealPlayer"
activate
open clip with url "file://test.rm"
end tell

Not that either. I’ve also played with many variations of “open clip player 0 with url…” and that doesn’t do it either.

So far, the only thing that works is to tell the Finder to open it, and I’m not sure that will work since eventually I want to have the script set full screen playback. Anyone have any ideas on how to get RealPlayer 10 to open and play a local file?

After this is sorted, it’s on to Windows Media Player. What fun. It will have to be scripted via the UI.

Model: PB G4
AppleScript: whatever is in 10.3.9
Browser: Safari
Operating System: Mac OS X (10.4)