在适当的格式方面,我无法弄清楚或找到如何设置文件路径的示例。
-- set up the attachment folder path
tell application "Finder"
**set folderName to "License Agreements" as text**
**set homePath to "~/Desktop/Uber Drive/UOT - EchoSign" as text**
set attachmentsFolder to (homePath & folderName) as text
end tell
我想设置路径〜/ Desktop / Uber Drive / UOT - EchoSign,但我真的很难找到任何例子,而且我已经花了很长时间在黑暗中拍摄。有什么帮助吗?
答案 0 :(得分:1)
在黑暗中停止拍摄......
-- You don't need a "Finder" block
set folderName to "License Agreements"
set homePath to POSIX path of (path to desktop as text) & "Uber Drive/UOT - EchoSign"
set attachmentsFolder to homePath & "/" & folderName