• 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: Executing an AppleScript on a networked computer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Executing an AppleScript on a networked computer


  • Subject: Re: Executing an AppleScript on a networked computer
  • From: "John C. Welch" <email@hidden>
  • Date: Sun, 27 Apr 2003 12:33:45 -0400

On 04/27/2003 12:03, "Deivy Petrescu" <email@hidden> wrote:


>
> I am assuming you have AppleTalk on on your X machine (on network pref
> panel) and that you have sharing on.
> i know, I know, but just to make sure ... 8)
>
> Did you ever try mounting the X volume via network browser or chooser?
>
> This script works for me, using the IP address of the X volume on the
> LAN (= 192.1.1.3 in this example)
>
> mount volume "afp//Nigel Garvey:censored@192.1.1.3/PowerBook HD"

You want the colon in there, after the afp, afp://

>
> And if this does not work for you, I'd eliminate the white spaces,
> since my user name is deivy and HD is SantosFC (<-- current Brazilian
> Champion of Football. You might think this is irrelevant, but I
> don't!!! :) )

You can have spaces, you just have to represent the properly in a URL, so it
would be afp://Nigel Garvey.

However, I'd go for the simpler URL to test, and just try afp://192.1.1.3
first. You'll have to manually enter userid, and password, and pick the
drive manually, but it will tell you if connectivity is working.

Also, afp:// is not going to work that well on a machine that isn't running
afp/ip, and unless you bought Open Door's software, that didn't show up
until Mac OS 9. Mac OS 8.6 uses straight appletalk which is a different URL:

afp://at/machinename/sharename

If you try to connect to an afp/at machine using afp/ip, it's never going to
work.

>
> It works wether you are connected via ethernet or wireless.
>
>>
>> mount volume "PowerBook HD" on server "Nigel Garvey9s PowerBook" as
>> user name ,
>> "Nigel Garvey" with password [censored]
>>
>> This doesn't work when X is running on the PowerBook. I've tried
>> changing
>> the details to those of my X "account", to no avail. What's the secret?
>>
>> NG
>>
>
> By the way, if you are *NOT* connected via airport card and the
> machines are in two different locations I can tell you how to wake up
> the other machine from sleep to receive AppleEvents. It will work if
> you have python in your 8.6.
> Let me know.
>
> Another thing, before Jaguar, I was able to mount both ways X-8.6 and
> 8.6 - X.
> A job of Jobs one would assume.

It looks to me like you are trying to connect to a machine using a protocol
it doesn't support. Try using a proper afp/at URL for anything below Mac OS
9.

john


--
Know and use all the capabilities in your airplane. If you don't, sooner or
later, some guy who does use them all will kick your ass.
-- Dave 'Preacher' Pace
_______________________________________________
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.

References: 
 >Re: Executing an AppleScript on a networked computer (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: Newbie Q: Sort and concatenate text files
  • Next by Date: Recording actions
  • Previous by thread: Re: Executing an AppleScript on a networked computer
  • Next by thread: Newbie Q: Sort and concatenate text files
  • Index(es):
    • Date
    • Thread