[mythtv-users] Re: VLC and MythVideo
rkaraff at emory.edu
Fri Jun 17 13:21:43 UTC 2005
I posted my question on the Videolan forum. This is the only response
> This is a hack in mplayer that is used because the MPlayer interface
> is actually a seperate application. Therefore the Mplayer video
> application needs to force it's window to the front. However, this is
> not normal behaviour from an application and VLC will not behave as
> such. Applications are normally launced into the Background when
> launched trough Terminal or standard C-style launchmachanisms.
> If you want to open an application from another application and force
> it to the foreground, then you need to use the Cocoa class NSWorkspace
> to do this. Or you have to send the opened application an applescript
> This should be easy to implement into MythTV for someone with the
> slightest experience in Mac OS X programming.
I don't know anything about NSWorkspace, but I can ask some folks
elsewhere about sending an applescript event. Good Luck!
More information about the mythtv-users