• 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
Re: uhoh
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: uhoh


  • Subject: Re: uhoh
  • From: Ron Bishop <email@hidden>
  • Date: Wed, 10 Jul 2002 09:22:04 -0500

>guess I am not entirely sure about some syntax though I should be.
>
>I use this:
>
>mount volume "Apps" on server "server" as user name "ms" with password
>"n4xse"
>
>and I guess the syntax should be
>
>"apps://server;ms:n4xse@kcs8554/BWAds"
>
>and darn it what is after the "@"? BWAds is a folder in kcs8554?
>
>yikes
>
Sorry - "kcs8554/BWAds" are the server/volume names from our script.

Yours would be probably be "afp://ms:n4xse@server/Apps" if it's an AppleShare say from an NT machine or
Apple Server. You could continue to use what you already have -


------------------------------
in OS 9

tell application "Finder"
activate

set theDisks to {}

try

mount volume "Apps" on server "server" as user name "ms" with password "n4xse"

repeat until theDisks contains "Apps"
set theDisks to name of every disk
end repeat

end try

---whatever you want to do now...

end tell

------------------------------

in OS X

tell application "Finder"
activate

set theDisks to {}
set theVolume to "afp://ms:n4xse@server/Apps"

try

open location theVolume

repeat until theDisks contains "Apps"
set theDisks to name of every disk
end repeat

end try

---whatever you want to do now...

end tell

------------------------------

Ron Bishop
www.daddydoodaa.com
_______________________________________________
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: Re: Two questions
  • Next by Date: Re: [OT] URL terminators
  • Previous by thread: Re: remote volume mounted
  • Next by thread: Force quiting URL Access Scripting
  • Index(es):
    • Date
    • Thread