我很难从另一台机器上读取文本文件。我已经尝试像这样映射文件\10.212.9.20\Eggplant\Test\propertyfile.txt。但它不起作用。这是我的代码:
set the itemDelimiter to "="
repeat with theParams = each line of file "\\10.212.9.20\Eggplant\Test\propertyfile.txt"
insert item 2 of theParams after myList
end repeat
put item 6 of myList into ServerURL
put item 10 of myList into Username
put item 9 of myList into Password
谢谢您的帮助。