【发布时间】:2018-09-13 07:05:17
【问题描述】:
操作系统:MacOS High Seirra (10.13.6)
我正在使用下面的代码从苹果脚本中打开一个 Excel 文件
`set excelFile to "TestExcel_ReadOnly.xlsx"
set filepath to ¬
((folder of file (path to me) of application "Finder" as text) ¬
& excelFile) as alias
set sourcePath to POSIX path of filepath
tell application "Microsoft Excel"
activate
open sourcePath
end tell`
【问题讨论】:
标签: excel macos applescript