Hi all,
Thanks for that Doug all though to thuroughly understand this sub routine I 
will have to go and read some more smile.
Thanks again.
Warm regards.
Martin Webster.



--- On Thu, 8/28/08, Doug Geoffray <[EMAIL PROTECTED]> wrote:

> From: Doug Geoffray <[EMAIL PROTECTED]>
> Subject: Re: how do I switch hot keys off globally?
> To: [email protected]
> Date: Thursday, August 28, 2008, 7:06 PM
> Martin,
> 
> How about something like:
> 
> 
> ConnectEvent(DesktopWindow, "OnChildActivate",
> "MyOnChildActivate")
> 
> Sub MyOnChildActivate(win)
>     win.Overlap.Settings.General.Hotkeys = FALSE
> End Sub
> 
> Again, this doesn't catch them all (hyper window or
> cursoring key 
> loading a set for example) but it does get most of them. 
> 
> Regards,
> Doug
> 
> martin webster wrote:
> > Hi Doug,
> > Can you give me an example on how to do this please.
> > Warm regards.
> > Martin Webster.
> >
> >
> >
> > --- On Wed, 8/27/08, Doug Geoffray
> <[EMAIL PROTECTED]> wrote:
> >
> >   
> >> From: Doug Geoffray <[EMAIL PROTECTED]>
> >> Subject: Re: how do I switch hot keys off
> globally?
> >> To: [email protected]
> >> Date: Wednesday, August 27, 2008, 9:20 PM
> >> Martin,
> >>
> >> The hotkey on/off switch is a setting in the set
> file. 
> >> This means when 
> >> the set file changes, so does this option.  The
> only way to
> >> do this from 
> >> a script would be to monitor when a new set file
> became
> >> active and 
> >> immediately turn the option off.  Unfortunately
> with beta 2
> >> you don't 
> >> have this event but we plan on adding this before
> beta 2
> >> ships.
> >>
> >> For sort of work around, you could just hook
> >> OnChildActivate from the 
> >> desktop window and update the setting then.  This
> >> wouldn't catch things 
> >> where a script or even a hyperactive window loads
> a new set
> >> but it would 
> >> get you 95 percent of the sets <smile>.
> >>
> >> Regards,
> >> Doug
> >>
> >> martin webster wrote:
> >>     
> >>> Hi all,
> >>> Can some body tell me how to switch hot keys
> off
> >>>       
> >> globally.  I can switch hot keys of with a line of
> code
> >> like:
> >>     
> >>> ActiveSettings.General.Hotkeys = False
> >>>
> >>> but as soon as you alt tab between
> applications they
> >>>       
> >> are back again, would I have to write my own
> routine for
> >> this, or is this possible with the window-eyes
> object
> >> model?.
> >>     
> >>> Thanks.
> >>> Warm regards.
> >>> Martin Webster.
> >>>
> >>>
> >>>
> >>>       
> >>>
> >>>   
> >>>       
> >> -- 
> >> Doug Geoffray
> >> GW Micro, Inc.
> >> Voice 260-489-3671
> >> Fax 260-489-2608
> >> http://www.gwmicro.com
> >>     
> >
> >
> >       
> >
> >   
> 
> -- 
> Doug Geoffray
> GW Micro, Inc.
> Voice 260-489-3671
> Fax 260-489-2608
> http://www.gwmicro.com


      

Reply via email to