• 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: Re: ACGI form parsing in OSX?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: ACGI form parsing in OSX?


  • Subject: Re: Re: ACGI form parsing in OSX?
  • From: email@hidden
  • Date: Sat, 2 Feb 2002 05:39:23 EST

In a message dated 2/1/02 4:09:54 PM, Gabe Benveniste wrote:

>I know this sounds silly, but how do i pass variables from one script to
>another,

Create this script and save it as a stay open application with the name
"greet":

on greetwith(niceword)
set response to niceword & " to you too!"
return response
end greet

Start the script application. Now open your editor of choice and enter this
script:

tell application "greet"
set niceword to "hello"
set responseIgot to greetwith(niceword)
end tell
display dialog responseIgot

Got it now? : )

>and what does the ignoring application responses do?

Exactly that. Normally, if you ask (tell) an application to do something,
your script will wait for a response from that application (error code, value
returned, etc.). If the task is time consuming, your script may time out
before getting a response. If you don't need to know that the task was
finished before proceeding, you can ignore the application's response and
just move on.

ignoring application responses
tell application "greet"
greetwith("bad word")
end tell
end ignoring
-- move on with other stuff

Jeff Baumann
email@hidden
www.linkedresources.com


>On Thursday, January 31, 2002, at 10:18 PM, email@hidden wrote:
>
>> - pass the task to another stay-open script application, using "ignoring
>> application responses"
>> - have your idle handler do the work (may choke under load)
>> - use "send partial" (except I don't think this is implemented in
>> WebSTAR V
>> yet. Dunno about OSX Server - what server are you using?)


  • Follow-Ups:
    • Re: ACGI form parsing in OSX?
      • From: Stephen Swift <email@hidden>
  • Prev by Date: Re: Week of year - odd/even week
  • Next by Date: Re: OO Theory misconceptions (was Re: can I make a list of
  • Previous by thread: Re: ACGI form parsing in OSX?
  • Next by thread: Re: ACGI form parsing in OSX?
  • Index(es):
    • Date
    • Thread