Filemaker有能力使用AppleScript。如何使用AppleScript創建文件夾(包含子文件夾)
從Filemaker內部我想創建一個新的文件夾(名稱爲FileMaker字段),其中包含6個子文件夾。
我是一個完整的noob,它涉及到Applescript。
這是我的腳本至今:
tell application "FileMaker Pro Advanced"
set folder_name to cell "FolderName" of current record
end tell
tell application "Finder"
activate
make new folder at folder "Desktop" of folder "dick" of folder "Users" of startup disk with properties {name:folder_name}
end tell
tell application "Finder"
activate
make new folder at folder {name:folder_name} of folder "Desktop" of folder "dick" of folder "Users" of startup disk with properties {name:"subfolder"}
end tell
我的問題是: 「Subfolder1」 的創作
什麼是我的錯嗎?
幫助深表感謝