[jawsscripts] Re: Comparing Handles

  • From: "Rui Fontes" <rui.fontes@xxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sat, 31 Jan 2009 18:50:41 -0000

Sorry! My problem is solved... The problem isthat I many times forgot to put 
== to make a comparison, put only = and the compilation it is not 
possible...

Rui


----- Original Message ----- 
From: "Donald Marang" <donald.marang@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Saturday, January 31, 2009 5:35 PM
Subject: [jawsscripts] Re: Comparing Handles


I think that concept would work.  But the last handle would need to be
stored as a global variable instead of a local variable.  Since global
variables retain their values between function calls,  you would need to be
careful to make sure the value is initialized and reset properly in all
situations.

Don Marang


----- Original Message ----- 
From: "Rui Fontes" <rui.fontes@xxxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Saturday, January 31, 2009 11:36 AM
Subject: [jawsscripts] Comparing Handles


> Hi,
>
> Trying to scripting a app that calls AutoStartEvent 4 times when it is
> launched and twice when receives focus...
>
> How can I determine if it is necessary to do something or not? My
> suggestion
> is to get the window handle and compaire it with the last handle stored...
>
> But, how can I make something like:
> If (hActualHandle == hLastHandle) Then
>
> Rui
>
>
> -- 
> Estou utilizando a versão gratuita de SPAMfighter para usuários privados.
> Foi removido 58937 emails de spam até hoje.
> Os usuários pagantes não têm esta mensagem nos seus emails.
> Adquira SPAMfighter grátis aqui: http://www.spamfighter.com/lpt
>
>
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>

__________
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at
//www.freelists.org/list/jawsscripts



-- 
Estou utilizando a versão gratuita de SPAMfighter para usuários privados.
Foi removido 58937 emails de spam até hoje.
Os usuários pagantes não têm esta mensagem nos seus emails.
 Adquira SPAMfighter grátis aqui: http://www.spamfighter.com/lpt


__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: