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

Jan Winter jwinter at gmx.net
Wed Feb 8 10:01:55 CET 2012


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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120208/ba0d9a25/attachment.html>


More information about the vlc-devel mailing list