[vlc-devel] Controlling VLC with another application (Matlab) in Mac OSX

Arslan, Ali ali_arslan at brown.edu
Mon Feb 13 07:20:41 CET 2012


Hi everyone,
thanks for the help. I used the http interface and a while loop within
matlab to query the playback status, using the trick here:
http://forum.videolan.org/viewtopic.php?f=12&t=45408
Best,
Ali

On Wed, Feb 8, 2012 at 4:01 AM, Jan Winter <jwinter at gmx.net> wrote:
> Hi Ali,
>
> the common OS X way would be Applescript.
>
> Use Applescript Editor to make a script like:
>
> tell application "VLC"
> activate
> play
> end tell
>
> Save it as vlc.scpt and you can call that in MATLAB with:
>
> system('osascript vlc.scpt')
>
> Open the Dictionary in the Applescript Editor to see which commands VLC
> supports.
>
> Best regards
> J.
>
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>



-- 
Ali B Arslan, M.Sc.
Cognitive, Linguistic and Psychological Sciences
Brown University



More information about the vlc-devel mailing list