• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Network Paths in OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Buffered-Unbuffered data in AS?
  • Next by Date: Re: Setting Memory allocation for Desktop Printers
  • Previous by thread: Re: Buffered-Unbuffered data in AS?
  • Next by thread: Re: AppleScript commandsa for AppleWorks Spread Sheets
  • Index(es):
    • Date
    • Thread