Hi Sean,
 
I know you're trying to use onQuit, but I believe you should be using
onShutdown instead, and that GW has mentioned here that your app must use
the clientIdentify method (since it's external) of the application object
first, to identify itself to WE, before onShutdown will fire.
 
According to this wiki article, onQuit is for notification to programs which
are using window-eyes as a com server, and weren't launched by it as an app
(I know, the app developer's manual could use some better documentation of
onQuit if this wiki article is correct)
 
http://www.gwmicro.com/mediawiki/index.php/Internal_and_External_Scripts
 
hth,
 
Chip
 
 
 
also, you should be using 7.5.1 and not 7.5.0, as there was some bug in
7.5.0 re use of events from external apps, which was fixed (and no reason I
know why you wouldn't be using 7.5.1).
 
 


  _____  

From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] 
Sent: Saturday, July 09, 2011 11:52 PM
To: gw-scripting@gwmicro.com
Subject: monitoring events from external scripts
Importance: High



Hi: 

Are there any samples for monitoring events specifically application.OnQuit?

Preferably in c++ but any language will do!

Any help appreciated.

Cheers

Sean.

Reply via email to