Re: poking at a cross OS network connection
Re: poking at a cross OS network connection
- Subject: Re: poking at a cross OS network connection
- From: Andrew Oliver <email@hidden>
- Date: Sun, 19 Dec 2004 11:18:38 -0800
On 12/19/04 10:28 AM, "doug rogers" <email@hidden> wrote:
>> From: doug rogers <email@hidden>
>> Date: December 19, 2004 1:25:33 PM EST
>> To: Applescript Users List <email@hidden>
>> Subject: poking at a cross OS network connection
>>
>>
>> Follow along as I puzzle out this question. I believe the problem has
>> something to do with mismatched network protocols.
>>
[snip]
>>
>> Aha! choose URL showing File Servers
>>
>> property u : " "
>>
>> set u to choose URL showing File servers
>> --mount volume u as user name "MyName" with password "MyPassword"
>> --works of course
>> --choose application --works
>> tell application "Finder" of machine u to beep --could not establish
>> connection to host
>>
>> Hmmm.....?
>>
>> And can I do it without mounting the disk?
Assuming what you get back from choose URL is a URL that you can pass to
'mount volume' (as your code and question imply), this is never going to
work.
The URL for a remote machine to target Apple Events is:
eppc://host.net/
The URL for a remote volume is something like:
afp://host.net/sharename
So there's no way the 'afp' URL is going to work for remote events.
If using Choose URL you'll need to strip out the protocol element (afp, smb,
etc.) and build a new 'eppc://' url using the hostname.
Andrew
:)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden