--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote:

> Replace all the non-hold hot keys which use the middle mouse button 
> by a single middle anywhere hot key which calls a script. 

> Also for right hold.
> 
> Finally, plain right click is trickier, since right click on client 
> area is needed to bring up context menu.  If you want to try this, 
> making the last command after the plain else a
> *mouse rightclick
> may work.


Great idea Bruce - works well except one problem - first the script
trigger right anywhere

;--------------start of script
local x = win.area(xmouse, ymouse)
;win.debug(x) ;;uncomment while debugging

if (x=="HELP") do
  *Menu FavFolder

elseif (x=="CLOSE") do
  *Window TopNotTop under

elseif (x=="MAXBUTTON") do
  *Window Rollup under

elseif (x=="MINBUTTON") do
  *Window Traymin under

elseif (x=="CAPTION") do
  *Menu Show "Your Menu"

else
  *mouse rightclick

endif
;------------end of script


Now the problem is with FireFox using a mouse guesture (right click
hold the left click to go back one page).  Usually the right click is
eaten but with this script the guesture occurs and you then have the
right click context menu pop up.

And of course if you tell the script to ignore right clicks in firefox
you loose the right context menu.

So the trigger is going to be a right hold over the help button then
execution of the script for just the *Menu FavFolder

excellent flexible program Bruce - thanks again





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