Macos 删除“";引用的“表格”;在Applescript中?

Macos 删除“";引用的“表格”;在Applescript中?,macos,applescript,finder,Macos,Applescript,Finder,我有以下代码来复制Finder中多个选定项的路径: activate application "Finder" tell application "Finder" set theSel to (selection of application "Finder") set pathList to {} repeat with anItem in theSel set the end of pathList to quoted form of (POSIX p

我有以下代码来复制Finder中多个选定项的路径:

activate application "Finder" tell application "Finder" set theSel to (selection of application "Finder") set pathList to {} repeat with anItem in theSel set the end of pathList to quoted form of (POSIX path of (anItem as alias)) end repeat set savedDelimiters to AppleScript's text item delimiters set AppleScript's text item delimiters to " " set the clipboard to pathList as string set AppleScript's text item delimiters to savedDelimiters end tell 激活应用程序“查找器” 告诉应用程序“查找器” 将sel设置为(选择应用程序“查找器”) 将路径列表设置为{} 在论文中用一个项目重复 将路径列表的结尾设置为带引号的形式(POSIX path of(anItem作为别名)) 结束重复 将savedDelimiters设置为AppleScript的文本项分隔符 将AppleScript的文本项分隔符设置为“ " 将剪贴板设置为字符串形式的路径列表 将AppleScript的文本项分隔符设置为savedDelimiters 结束语 唯一的问题是,它会导致以下情况:

'/Applications/Burn.app/' '/Applications/Caffeine.app/' '/Applications/Calculator.app/' “/Applications/Burn.app/” “/Applications/Caffeine.app/” “/Applications/Calculator.app/” 这基本上就是我想要的,但我不想要那些该死的单蓝引语。我怎样才能摆脱它们?我已经尝试过删除的引用形式,但运气不佳


谢谢

你所要做的就是拿出“报价单”


你所要做的就是拿出“报价单”


嗯,我想我以前试过。也许我打错了。你用什么编辑applescript?我使用了默认编辑器,还尝试了脚本调试器…我只是使用脚本编辑器,而且一直在使用它。我正在运行最新的操作系统,嗯,我想我以前试过。也许我打错了。你用什么编辑applescript?我使用了默认编辑器,还尝试了脚本调试器…我只是使用脚本编辑器,而且一直在使用它。我也在运行最新的操作系统
    activate application "Finder"
tell application "Finder"
    set theSel to (selection of application "Finder")
    set pathList to {}
    repeat with anItem in theSel
        set the end of pathList to (POSIX path of (anItem as alias))
    end repeat
    set savedDelimiters to AppleScript's text item delimiters
    set AppleScript's text item delimiters to "
"
    set the clipboard to pathList as string
    set AppleScript's text item delimiters to savedDelimiters
end tell