Re: uhoh
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.