• 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
Sending a message via Program Linking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sending a message via Program Linking


  • Subject: Sending a message via Program Linking
  • From: Simon Topliss <email@hidden>
  • Date: Mon, 04 Dec 2000 12:29:54 +0000

Does anyone know of a solution as to how to send a message via a dialog box
to another mac using program linking over IP?

I am setting up an internal workflow using AppleScript and MarkzScout and
need to send a message to the user when a job fails (MarkzScout moves the
file to 'Rejected' folder if it fails a test). At the moment I am able to
send them an email using Folder Actions and Entourage but need some way of
informing them instantly if an error occurs.

I understand that I cannot use 'display dialog' or Akua's 'notify with
alert' because I can only send events to running applications on the other
mac. Is this correct? If so, is anyone aware of an AppleScriptable
app/utility that will allow me to send a message.

Is the only solution to create a stay open app named, for example, "Display
Dialog App" on the remote apps with a handler something along the lines of:

-----------------------------------------
on displayDialog(errorMessage)
display dialog errorMessage
end displayDialog
-----------------------------------------

And then to call it from the server with:

-----------------------------------------
set remote_Finder to application "Finder" of machine "eppc://192.168.1.1"
set remote_app to application "Display Dialog App" of machine
"eppc://192.168.1.1"

using terms from application "Display Dialog App"
tell remote_app
ignoring application responses
displayDialog("this is my message")
end ignoring
end tell
end using terms from
-----------------------------------------

I don't know if the above would be solid enough for 20 - 30 users.

Any info or views appreciated.

Simon Topliss


  • Follow-Ups:
    • Re: Sending a message via Program Linking
      • From: Jed Verity <email@hidden>
  • Prev by Date: Re: Question
  • Next by Date: RE: Quark Scripting
  • Previous by thread: Re: Question
  • Next by thread: Re: Sending a message via Program Linking
  • Index(es):
    • Date
    • Thread