Launch command alternatives?

Rob Cozens rcozens at pon.net
Mon Aug 25 15:44:32 EDT 2003


>launch myDoc with myApp
>
>It fails if myApp is already open.

Hi Andy,

What are the symptoms of failure?

According to Transcript Dictionary,

"If the application is already running, the launch command does 
nothing, and 'Process is already open.' is placed in the result 
function."; so you should be doing something like:

	launch myDoc with myApp
	get the result
	if it is not empty and it is not "Process is already open." 
then answer "Launch failed. "
-- 
Rob Cozens, CCW
Serendipity Software Company
http://www.oenolog.net/who.htm

"And I, which was two fooles do so grow three.
  Who are a little wise, the best fooles bee."

 From "The Triple Foole"
by John Donne 1573-1631



More information about the use-livecode mailing list