I have a script (copied below) called from the HookWindowEvents command list
using

*Script Runfile LoginKeys

 

When I attempt to access a window with a "login" caption, I get the
following error:

"Invalid Menu label RKeys"

 

I assume that PP is thinking that the @RKeys jump label is a menu label, but
I don't know why or how to stop it.  If I comment out the 'Jump' command,
the error doesn't occur, so RKeys is being recognized as a label, but then
PP tries to make it a menu item?

 

 

;This must be blank?

static KeysLoaded

if (arg(4) eq "Login")

   Jump RKeys

if (KeysLoaded eq 1)

   win.debug("Keys reset")

KeysLoaded = 0

 

quit

 

@RKeys

win.debug("Keys set")

if (KeysLoaded eq 0)

   KeysLoaded = 1

 

 

 

 

PP4.1

Win XP SP1

 

TIA

Paul



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/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