Applescript to play videos in folder using vlc

macOS specific usage questions
emmanuelObi
New Cone
New Cone
Posts: 2
Joined: 12 Apr 2017 22:34

Applescript to play videos in folder using vlc

Postby emmanuelObi » 20 Apr 2017 01:00

hello,

I am trying to play the videos in a folder using vlc whenever a new video is added to the folder,

This is what i got so far :-
--------------------------------------------------------------------------------------------------
on adding folder items to theAttachedFolder after receiving theNewItems
-- Get the name of the attached folder
-- tell application "VLC" to activate
-- open application "VLC"


set the_files to get every file of theAttachedFolder

tell application "Finder" to open {the_files} using application file "VLC.app"


end adding folder items to
-----------------------------------------------------------------------------------------------

it worked for a while, then when i restarted my computer, it stopped working. Anybody know whats wrong with it?

Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 33 guests