Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
就像您可以使用 启动默认浏览器一样browseURL,有没有办法启动默认文本编辑器以打开给定文件?就像是
browseURL
editFile("path/to/file.txt")
您正在寻找file.edit:
file.edit
file.edit("path/to/file.txt")