Network Paths in OS X
Network Paths in OS X
- Subject: Network Paths in OS X
- From: Paul Bunch <email@hidden>
- Date: Sat, 29 Jun 2002 21:54:24 +0100
Here's one for you OS X gurus. I have Scripted for some batch printing,
using both a UDIF image mounted on the desktop and a folder in the same
location, to emulate the folder structure of the server to be used in the
solution.
Now the test worked fine, so I plug into the LAN, mount the server and run
the script and find that the script couldn't get the path.
Okay, so I try to debug using "choose folder" and display the result in a
dialog to find that the path is exactly as I've put in the script!! Now this
happens whether I mount the server with SMB or AFP. So I alternately tried
using the full SMB then the full AFP path - no dice. Then I thought what
about the POSIX path, but that didn't work either.
The strange thing is that I can mount the same server in OS 9 using my
original format and everything works fine.
Here's an example from the script...
set folderpath to "MACSTORE:QA Testfiles:PPX:" as string -- the file path as
text
tell application "Finder"
tell folder folderpath
try
set PPfilelist to (every file whose creator type is "PPT3")
alias list
on error
set PPfilelist to (every file whose creator type is "PPT3") as
alias as list
end try
end tell
end tell
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.