ok, thanks.

Chip





------------------------------

Chip Orange
Database Administrator
Florida Public Service Commission

chip.ora...@psc.state.fl.us
(850) 413-6314

 (Any opinions expressed are solely those of the author and do not
necessarily reflect those of the Florida Public Service Commission.)
 

> -----Original Message-----
> From: Ron Parker [mailto:r...@gwmicro.com] 
> Sent: Tuesday, July 14, 2009 11:51 AM
> To: gw-scripting@gwmicro.com
> Subject: Re: confused about hot keys and the documentation
> 
> Chip Orange wrote:
> > I'm looking at the scripting documentation, which says that the 
> > keyboard.registerHotKey returns an object of type registeredKey.
> 
> This is correct.  The only thing you can do with a RegisteredKey is 
> unregister it.
> 
> >  
> > else-where in the manual, there is an object of type 
> registeredHotKey, 
> > which says it is what is returned by registerHotKey.
> 
> This is not.  The only way to get a RegisteredHotkey is from the 
> RegisteredHotkeys collection, and the only way to get one of those is 
> from the RegisteredHotkeys method of the Keyboard object.  
> (Why this is 
> a method and not a property is something we'll have to "discuss" in a 
> back alley with some developer or other.)
> 
> 
> 
> 

Reply via email to