launch

Richard Gaskin ambassador at fourthworld.com
Wed Jun 23 20:50:06 EDT 2004


yoy wrote:
 > tuviah wrote:
 >> Launch has been well documented, if the app is already open launch
 >> will fail. This is what is happening? As Klaus mentioned, you
 >> should check the result.
 >>
 >> This was fixed in 2.2.
 >>
 >> Tuviah
 >
 > I don't see that mentioned in the 2.2 transcript help. I'm needing
 > to open a document in an app (W2k) that is already running.
 >
 > I think you're mistaken.

 From the Transcript Dictionary entry for the launch command, v2.2:

    When the launch command executes, the application being
    launched comes to the foreground. When the user quits,
    Revolution comes to the foreground.

    If the application is already running, the launch command
    does nothing, and "Process is already open." is placed in
    the result function.


Tuviah is rarely mistaken when it comes to Transcript.  He writes the 
engine that drives it. :)

-- 
  Richard Gaskin
  Fourth World Media Corporation
  ___________________________________________________
  Rev tools and more:  http://www.fourthworld.com/rev



More information about the use-livecode mailing list