Hey Bruce,

brucexs wrote:

>I know from your other notes that you are not using events any more 
>for this situation, but in case you use in future, a couple of 
>gotcha's to be aware of in above:
>1.  if (not eMoz) do 
>is safer as
>if (not event.exists(eMoz)) do
>althugh the first will work if you are careful to reset eMoz each 
>time you destroy the event.
>
>2.  As far as I can see, you don't destroy the event which means 
>that it keeps running event after command has run.  The above should 
>be something like
>eMoz = Event.Create(3, 0, "Win.Keys(?+{to Prompt}foobar{en}+)
>\revent.destroythis", \+
>  
>
Thanks for your help with this.  On one of the iterations/attempts I 
did, I was setting eMoz to 0 when I destroyed the event, however just 
before changing to HookWindowEvents I was actually not killing the event 
at all, as Firefox pops up the password box at other times than just 
login, plus if I opened both Firefox & Thunderbird at same time, I was 
sometimes having trouble with the login box getting double entries, or 
the event being killed already.

At another time, I was using a 2nd event to watch for Fx/Tb closing, 
then killing eMoz & itself...  messy stuff, hence my delight at finding 
HookWindowEvents!

I only wish I could do nested if statements in my .FileHook script.  :)

>Or better, use the version of the event plugin in 4.3.08a which 
>allows you to specify a fifht argument limiting the number of times 
>the command/event is executed.
>  
>
Excellent, will check that out, still probably will use HookWindowEvents 
for this partic. task tho, as I can't predetermine the number of times 
I'll need to enter a password...  Firefox asks for your master pw before 
you view your stored pw's, for example.

Thanks again Bruce,
Karen




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




Reply via email to