re: mount volume
re: mount volume
- Subject: re: mount volume
- From: roy whelden <email@hidden>
- Date: Wed, 4 Jun 2003 18:24:01 -0700
Rich,
One of the commands in the standard additions (look in the Script
Editor menu "File -- open file -- "standard additions") is "mount
volume." This is probably what you want.
Here are two simple examples.
Example 1: (which I use to access a volume on my LAN)
mount volume "powermac" on server "powermac" as user name "roy" with
password "xxx"
Note that here, the password is sent over the network in an unencrypted
form.
Example 2: (using the Apple File Protocol (afp) over a TCP/IP network)
mount volume "afp://192.34.70.30:Hal"
Note here that you will be prompted for a username and a password.
There are other cool ways to do it using the Unix "mount" command in
combination with AppleScript's "do shell script."
Hope this works for you.
Roy Whelden
_______________________________________________
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.