• 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: sending data from one AppleScript App to another
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sending data from one AppleScript App to another


  • Subject: Re: sending data from one AppleScript App to another
  • From: Michael Glasser <email@hidden>
  • Date: Wed, 3 Sep 2003 11:22:13 -0700

Ok... what am I *really* doing...

I am making an AIM bot... not a porn bot or anything like that, just one to respond to people in a semi-"human" way.

I have a script that AIM runs every time it gets a message. I need to keep that one very quick, if not, AIM slows to a crawl.

I found a solution to this... the AIM script sends data to a buffer, currently a TextEdit file. Another script (my Bot script) reads from the buffer, processes the text, and, if needed, sends a response back to AIM.

I am looking into having the buffer be another script... one that is sent data from the AIM script and has data gathered by the Bot script.

Would this be faster? If so, any ideas on the best way to do it?

On Monday, September 1, 2003, at 01:41 PM, John Delacour wrote:

At 11:08 am -0700 1/9/03, Michael Glasser wrote:

Is there a way to have the AIM script send data directly to another app? Currently the other app I have run in the script editor, but I could have it run as a stand alone application.

What are you really doing? Are these "Apps" you're talking about Applescript applets or what? Why can't you just use a handler in the main script? It sounds as though you're just dealing with text, so I don't see why these multiple whatnots are needed.

JD


.
_______________________________________________
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: sending data from one AppleScript App to another
      • From: John Delacour <email@hidden>
    • Re: sending data from one AppleScript App to another
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: sending data from one AppleScript App to another (From: John Delacour <email@hidden>)

  • Prev by Date: Fetch help
  • Next by Date: Re: tell application "FileMaker Pro/Developer"
  • Previous by thread: Re: sending data from one AppleScript App to another
  • Next by thread: Re: sending data from one AppleScript App to another
  • Index(es):
    • Date
    • Thread