• 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: "of machine" use?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "of machine" use?


  • Subject: Re: "of machine" use?
  • From: email@hidden
  • Date: Mon, 11 Nov 2002 11:43:43 -0500

On Sun, 10 Nov 2002 15:43:36 -0500, Chris Garaffa <email@hidden> asked,

> I'm working on an AppleScript Studio application to control an
> application on a remote machine (the computer is on my LAN here).
> Whenever I use something like
> tell application "iTunes" of machine "eppc://192.168.2.2"
> the app just hangs when that code is called (I mean spinning
> beachball). I tried putting "eppc://192.168.2.2" in a property, and I
> tried putting chris:thePass@ after the :// and before the 192 (as that
> is the user name and password).

I've come across a problem like this under OS 10.1.5. Program
Linking to "eppc://nnn.nnn.nnn.nnn" with an IP address doesn't
work if the IP address isn't in a name server or NetInfo
database.

You can fix this by creating a name for the remote machine
(using Netinfo on the local machine) and using that name
in place of the IP address.

More symptoms I saw for this problem:

1. In the Event Log, the command to the remote application
(I used "get some item") tries and tries and tries, and
finally fails with an error -916 (the port was closed).
I checked the target machine; it had program linking enabled
and was listening on port 3031. I could ping it and could
telnet to it at port 3031.

2. When I looked at the network traffic on the client machine,
I saw a flurry of Domain Name Server activity when the script
was run. It was trying to resolve 192.168.2.8 (the target IP
I was using), apparently both forward and reverse. In this
machine's configuration, there wasn't a domain name entry for
that address.

--
Scott Norton Phone: +1-703-299-1656
DTI Associates, Inc. Fax: +1-703-706-0476
2920 South Glebe Road Internet: email@hidden
Arlington, VA 22206-2768 or email@hidden
_______________________________________________
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.

  • Prev by Date: Re: "of machine" use?
  • Next by Date: Re: Illustrator 10 Dictionary...
  • Previous by thread: Re: "of machine" use?
  • Next by thread: RE: [VIRUS] Applescript-Users you have a greeting card from Rand y.
  • Index(es):
    • Date
    • Thread