ok Sean; and you're finding it's not working for you?
 
they do warn you about one aspect: once you get the onQuit firing, WE is not
going to stay open so you can execute a few more calls before allowing it to
close down; they seem to say when onQuit fires that's the last thing you can
do with WE's com interface, and it's going to close, you don't have to do
anything.
 
are you never seeing onQuit firing, or are you getting some error after it
does?
 
Chip
 

  _____  

From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] 
Sent: Sunday, July 10, 2011 3:02 PM
To: gw-scripting@gwmicro.com
Subject: RE: monitoring events from external scripts



Hi Chip:

Ok, I guess I uses the wrong subject-;

It is an external com client-nhot an app!

That's why I was using OnQuit!

Cheers

Sean.

 

From: Chip Orange [mailto:lists3...@comcast.net] 
Sent: 10 July 2011 19:54
To: gw-scripting@gwmicro.com
Subject: RE: monitoring events from external scripts

 

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