然而到一个AppleScript工作流程解决方案AppleScript的Posix的混乱
的语法和排序当我创建了下面的代码
tell application "Finder"
set remote_p to alias (POSIX file '/Volumes/WAM XSAN/Audio/AAA)
set main_folder to (make new folder at remote_p with properties {name:temp_name}) as alias
end tell
一切工作正常再次狼狈不堪。不过,我需要建立在依赖于输入“client_code”和“部门”的不同位置main_folder,所以我想这:
tell application "Finder"
set x_san to "/Volumes/WAM XSAN/"
set x_sannewpath to (x_san & department & "/" & client_code)
set x_sanfolder to POSIX file x_sannewpath
set remote_p to alias (POSIX file x_sanfolder)
set main_folder to (make new folder at remote_p with properties {name:temp_name}) as alias
end tell
和错误回来“无法得到”卷/ WAM XSAN /音频/ AAA“的应用程序查找器”
我在哪里设置POSIX路径出错?
请帮忙!!!!
非常好。谢谢轩辕! –