Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 05, 2016, 02:39:29 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Modified AltEdge  (Read 1785 times)

jkluge

  • Participant
  • Joined in 2010
  • *
  • Posts: 1
    • View Profile
    • Donate to Member
Modified AltEdge
« on: November 24, 2010, 11:31:07 AM »
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:
Spoiler
Loop
{
  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

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 571
  • The Gent with the White Hat
    • View Profile
    • Donate to Member
Re: Modified AltEdge
« Reply #1 on: November 24, 2010, 10:36:26 PM »
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

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 142
    • View Profile
    • Donate to Member
Re: Modified AltEdge
« Reply #2 on: December 17, 2010, 10:06:09 AM »
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!
« Last Edit: December 17, 2010, 10:09:55 AM by delwoode »