ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Finished Programs

Modified AltEdge

(1/1)

jkluge:
Hey,

i modified AltEdge today - maybe someone else finds this useful, too:

When you move the mouse to the left edge (4 pixels or closer), you can TAB through the open apps.
Move the mouse up and down to select a window.
Also just touching the edge won't do anything, so no problems with accidental hits.

The new code for the loop, the TAB function is gone:
SpoilerLoop
{
  MouseGetPos,mx,my

  If (mx<5)
  {
    If tabbed=0
    {
        Send,{Alt Down}{Tab}
   Send,{Alt Down}{Left}
   old_my := my
    }

    diff_my := old_my - my

    If (diff_my>30)
    {
   old_my := my
   Send,{Alt Down}{Left}
    }
    If (diff_my<-30)
    {
   old_my := my
   Send,{Alt Down}{Right}
    }

    tabbed=1

  }
  Else
  {
    If tabbed=1
    {
      Send,{Alt Up}
      tabbed=0
    }
  }
  Sleep,50
}     




Cheers,
Janis

worstje:
I never used the original, and probably won't use yours. But thanks for sharing; I am sure someone will find a use for it! :)

delwoode:
hmm interested it has a unexpected effect when you have Total commander open! It tabs through the total commander open tabs!
Edit, hey its great for use with firefox! just move the mouse to the side and you go back a page!

CSWinnall:
I've looked all over but I'm trying to add a 3 second delay before the script runs so that i don't accidentally run the script when the mouse touches the edge of the screen. his versions is better than the original imo.  but it still switches screen with accidental touches.  A short delay would fix this.

Navigation

[0] Message Index

Go to full version