Applescript Excel 2016仅作为只读使用

时间:2015-10-27 15:25:08

标签: applescript applescript-excel

我试图让Applescript打开一个共享的Excel文件,但是只读函数似乎不能使用开放别名语法,我做错了吗?

类似于以下的代码。

set MasterFile to ""Macintosh HD:Users:myname:Desktop:Test File.xlsb"" as text
tell application "Microsoft Excel"
    activate

    open alias MasterFile with read only
end tell

谢谢, VD

0 个答案:

没有答案