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

Executing an AppleScript on a networked computer


  • Subject: Executing an AppleScript on a networked computer
  • From: Doug McNutt <email@hidden>
  • Date: Sat, 26 Apr 2003 20:42:13 -0600

On page 197 of ASLG there is this sample code:

tell application "AppleWorks" of machine "Paula's Mac" of zone "Publications"
open file "Hard Disk:Reports:Status Report"
-- statements to perform operations on the report
close document "Status Report" saving ask
quit -- quit AppleWorks
end tell

Using SfriptEditor 1.9 on my OS neXt machine - a G4 running 10.2.5 named Earth - I enter:

tell application "Finder" of machine "Jupiter"
open file "Ganymede:CheckAdminMail"
-- CheckAdminMail" is a tested AppleScript saved as an APPL on Jupiter.
end tell

Pressing check Syntax results in an edited version like this:

tell application "Finder"
open file "Ganymede:CheckAdminMail"
end tell

Obviously that is not what I want to do.

Pressing RUN results in a choose application dialog "Where is Eudora?" Eudora is on Jupiter and the script there jolly well knows where it is. My script gets edited to remove the "of machine Jupiter" text.

Ganymede:CheckAdminMail is a tested Applescript saved as an APPL. It works fine when double clicked on Jupiter where OS 9.1 is running.

Script editor apparently wants to use Finder on the G4. That's not what I'm asking at all.

Yes, Jupiter is connected using AppleTalk over Ethernet. Allow users to "program link" is selected. There are no AppleTalk zones on the network.

using terms from file "Jupiter:Ganymede:System Folder:Finder" with a variety of quotes and file or NOT_file results in a syntax error.

tell application "Jupiter:Ganymede:System Folder:Finder" results in file not found error. Ganymede is mounted and the path is correct.

tell application "Ganymede:System Folder:Finder" results in a "Where is application Eudora" dialog. Eudora is running on Jupiter. I don't know where it is but AppleScript on Jupiter knows and won't tell. Or is it really Finder on the G4 that doesn't know?

Does interprocess communication work at all over an AppleTalk network? Does anyone actually use it? Is there a problem with OS neXt talking to Classic?

Is there any better documentation I should be reading? Is there a URL with some sample code?

--

--> In Christianity, man can have only one wife. This is known as monotony. <--
_______________________________________________
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.

  • Follow-Ups:
    • Re: Executing an AppleScript on a networked computer
      • From: Christopher Nebel <email@hidden>
    • Re: Executing an AppleScript on a networked computer
      • From: Deivy Petrescu <email@hidden>
References: 
 >Re: alias is folder? (From: Paul Berkowitz <email@hidden>)
 >Re: alias is folder? (From: John Delacour <email@hidden>)

  • Prev by Date: Re: alias is folder?
  • Next by Date: Re: TIDs and other questions
  • Previous by thread: Re: alias is folder?
  • Next by thread: Re: Executing an AppleScript on a networked computer
  • Index(es):
    • Date
    • Thread