0
我有AS正在向Word 2011中的表中寫入數據,我可以獲取該表格的屬性,但是如何複製表格並向活動文檔添加新表格,但是一個不同的名字/ ID? abFile在tell塊之前指定。使用Applescript複製Word表格
tell application "Microsoft Word"
activate
open abFile
set tableProps to get properties of tables of active document
end tell
我想是這樣說的:
make new table in active document with tableProps and name "2"
據我可以告訴字典,MS字表沒有「名稱」屬性。至少不適用於OSX 10.8.5上的Word 2011。此外,我認爲對於任何正確實施的applescript字典,對象id始終**由applescript運行時環境分配,並且只讀爲腳本 –
查看SL中的Word 2011字典我會同意但我怎麼能用相同的屬性創建一個新表,然後讓AS照看ID? – Dan