topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Tuesday April 23, 2024, 5:00 am
  • Proudly celebrating 15+ 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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jkluge [ switch to compact view ]

Pages: [1]
1
Finished Programs / Modified AltEdge
« on: November 24, 2010, 11:31 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

Pages: [1]