• 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" in 10.1?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "of machine" in 10.1?


  • Subject: Re: "of machine" in 10.1?
  • From: Christopher Nebel <email@hidden>
  • Date: Fri, 28 Sep 2001 17:54:16 -0700

On Friday, September 28, 2001, at 01:05 PM, Stonewall Ballard wrote:

Please excuse the probable FAQ, but I haven't been able to find a good answer to this anywhere, including the list archives.

What has happened to programing linking on OS X, particularly on OS 10.1?

I have a script that says something like:

tell application "appname" of machine "machinename"
-- stuff
end tell

but when I compile it in OS X, the "of machine machinename" just disappears!

Is there some other way to control apps on other Macs?

I'd be surprised if this was in a FAQ already, since program linking wasn't supported at all in 10.0, and 10.1 has been generally available for only a few days.

This is a known bug. Program linking is supported in Mac OS X 10.1, but only using IP, which means you have to use an "eppc://" URL as the machine name. The problem is that if it sees a machine name that isn't an eppc URL, it will simply remove it.

One interesting thing you can do in Mac OS X is specify a user and password directly in the URL -- no keychain setup required. It uses the normal URL format for this, which is

eppc://[user[:password]@]hostname.domain

So, for example, you could say...

tell application "Finder" of machine "eppc://bob:email@hidden"

...and it would (try to) authenticate you as bob with a password of "password".


--Chris Nebel
AppleScript Engineering


  • Follow-Ups:
    • Re: "of machine" in 10.1?
      • From: Harald E Brandt <email@hidden>
References: 
 >"of machine" in 10.1? (From: Stonewall Ballard <email@hidden>)

  • Prev by Date: Re: Acrobat Scripting
  • Next by Date: Re: AppleScript Enigma
  • Previous by thread: "of machine" in 10.1?
  • Next by thread: Re: "of machine" in 10.1?
  • Index(es):
    • Date
    • Thread