Is there a way to get the file opened in VLC with AppleScript?

Viewed 599

I want to get the full name of file that opened in VLC now.

I have only found out this:

tell application "VLC"
    set current_file to name of first window
end tell

But it returns in current_file current window's title which is only file name without extension. whereas I need a full path.

Can I get this done?

Thank you.

1 Answers
Related