Simon
 
Not sure that the 1st will have finished before the 2nd begins?  Don't know myself.
 
The first could set like a semaphore flag, in a table, and the second could wait for this flag to have been set before running.  e.g.
 
Dim llGoAhead as logical
 
llGoAhead = FALSE
Run application "App1"  ' When this app finishes it sets flag SemaTable.LSEMFLAG
 
Do while not llGoAhead
  Select LSEMFLAG from SemaTable into csrTemp
  llGoAhead = csrTemp.LSEMFLAG  
Loop

Run application "App2"
 
This might not be necessary if the apps run discretely but HTH
 
Terry
 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Allen
Sent: 17 March 2006 10:46
To: Terry McDonnell
Subject: [MI-L] Run Application

Hi
 
I have a script which issues two Run Application commands.
 
How can I ensure that the first application has finished running before issuing the second command?
 
Ta
 
Simon Allen
Senior GIS Officer
 
[EMAIL PROTECTED]
 
South Gloucestershire Council
01454 863655 (direct)
01454 863855 (fax)
 
http://www.southglos.gov.uk
 
********************************************************************** This email and any files transmitted with it from South Gloucestershire Council are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the South Gloucestershire Council Postmaster at the address below. This footnote also confirms that this email message has been swept for the presence of computer viruses. [EMAIL PROTECTED] **********************************************************************
_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to