phkiefer | 14 Mar 2012 09:08
Picon

Re: How does PPro check for screen bumps, exactly

Thanks again!

--- In power-pro@..., "brucexs" <brucexs <at> ...> wrote:
>
> ***Correction below regarding the timer starting.
> 
> --- In power-pro@..., "phkiefer" <philippkiefer <at> > wrote:
> >
> > Just what I needed. Many thanks!
> > 
> > --- In power-pro@..., "brucexs" <brucexs <at> > wrote:
> > >
> > > mouse bump/corner hot key
> > > 
> > > ------------------------
> > > each time the mouse moves more than three pixels (x or y)
> > > 
> > > if the mouse is in a corner or a screen edge (see note 1 below)
> > > 
> > > ***if it is not already running***, start a timer using the timeout in the mouse/key setup (note 2)
> > > 
> > > when the timer expires
> > > 
> > > if the mouse is still at the same corner or screen edge
> > > 
> > > signal the hot key
> > > ----------------------------------------
> > > note 1.  a corner is <6 pixels from both edges
> > > 
> > >   an edge is not in a corner and <3 pixels from edge
> > > 
> > > Note 2.  timer is not started if timeout is zero -- hot key is signalled right away
> > > 
> > > Changing hook code has no impact on memory.  When PowerPro has not done anything for a couple of seconds
(ie no event, no script running), it calls a Windows system routine requesting Windows to reduce its
physical memory footprint to the minimum.
> > > 
> > > 
> > > 
> > > 
> > > --- In power-pro@..., "phkiefer" <philippkiefer <at> > wrote:
> > > >
> > > > Bruce,
> > > > 
> > > > I'm in the process of moving all hotkeys from KeyTrap, MouseTrap and 
> > > > PPro config to an Autohotkey script as I want to be able to edit it all 
> > > > in a single text file and as I've found the trap plugins somewhat buggy.
> > > > 
> > > > This means I'll have to simulate PPro's bump screen edge hotkeys, too, so I was wondering what mouse
behaviour PPro checks for precisely before it triggers these hotkeys (i.e. what distance from screen
edge does the pointer have to be at for how long?). PPro does these really well and trial and error might not
get me anywhere close. Any chance you could explain this briefly?
> > > > 
> > > > Also, will setting hook code in configure|setup|advanced|limits to anything other than 0 reduce
PPro's memory / CPU usage by any significant amount?
> > > > 
> > > > Thanks!
> > > >
> > >
> >
>

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

PowerPro's download site: http://powerpro.webeddie.com/Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/power-pro/join
    (Yahoo! ID required)

<*> To change settings via email:
    power-pro-digest@... 
    power-pro-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    power-pro-unsubscribe@...

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


Gmane