I'm an applescript and I think this likely a beginner error. I am trying to open a location in order to copy some files. The following works:
The problem is finder puts up a dialog to select the specific disk. I thought the following should work but doesn't:
Can someone tell me how to select the disk in this script? TIA.
Code:
set mydata_disk "afp://userid:password@10.0.1.131"
tell application "Finder"
open location mydata_disk
end tell
Code:
set mydata_disk "afp://userid:password@10.0.1.131/Mac Data"
tell application "Finder"
open location mydata_disk
end tell