addressing multiple instances with applescript

macOS specific usage questions
tcg
New Cone
New Cone
Posts: 2
Joined: 17 Aug 2020 12:05

addressing multiple instances with applescript

Postby tcg » 17 Aug 2020 12:19

By searching this forum I found Mr Kuehne's script for opening several instances of the VLC player...

Code: Select all

on run do shell script "open -n /Applications/VLC.app" end run on open theFiles repeat with theFile in theFiles do shell script "open -na /Applications/VLC.app " & quote & (POSIX path of theFile) & quote end repeat end open
...which works like a charm. But I couldn't find a way to address the different instances with applescript. I there a solution to this?
Sorry if this is maybe a basic question, but I'm new to VLC and scripting as well... ;-) Thanks for all your help!

Tom

Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: Cubie and 49 guests