Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to connect to another Mac on the same network?



Entity Allen Rongone spoke thus:

> Does anyone have any idea how to establish a network connection to
> another Mac in AppleScript?


set theUser to "Rachel"
set thePassword to "*****" -- put your password there
set theServer to "Gnarlodious-Cube.local"
set theProtocol to "afp"

set theURL to theProtocol & "://" & theServer & "/" & theUser as string

mount volume theURL as user name theUser with password thePassword

-- Gnarlie


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden

References: 
 >How to connect to another Mac on the same network? (From: Allen Rongone <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.