我想使用AppleScript在數字文件中複製工作表(我需要每天基於模板創建一個新工作表)。 我真的很新的AppleScript,但我已經用它來填補,在某些細胞的結果,我從一個Python腳本我運行得到但這一點仍然是手動... =/使用AppleScript複製數字表
tell application "Numbers"
tell document 1
set thisSh to make new sheet with properties {name:"May14"}
duplicate sheet "Template" to sheet "May14"
end tell
end tell
的上面的代碼返回錯誤:error "Numbers got an error: Sheets can not be copied." number -1717
,因此,我的問題:有沒有辦法複製數字表?
我目前正在使用數字3.2運行iWork '14 3.2
謝謝!
P.S.我也試過duplicate every table of sheet "Template" to sheet "May14"
,有類似的錯誤:Tables can not be copied.
你有哪個版本的Numbers? –
@GrzegorzAdamKowalski,我正在使用Numbers 3.2 – pekapa