sha*_*ote 3 macos applescript vlc
我想获取现在在VLC中打开的文件的全名。
我只发现了这一点:
tell application "VLC"
set current_file to name of first window
end tell
Run Code Online (Sandbox Code Playgroud)
但是它将返回current_file当前窗口的标题,该标题只是没有扩展名的文件名。而我需要一条完整的道路。
我能做得到吗?
谢谢。
您是否在Skript-Editor中的VLC词典中浏览了一下?你会发现类似
tell application "VLC"
log (get name of current item)
log (get path of current item)
end tell
Run Code Online (Sandbox Code Playgroud)
在VLC Suite中。
享受,迈克尔/汉堡
| 归档时间: |
|
| 查看次数: |
415 次 |
| 最近记录: |