Jump to content

Recommended Posts

Posted

hey guys, I just wrote this script. Don't get me wrong, it works 100% how I want it to. I just had some questions.

#include <Misc.au3>
    Global $State = 0
Global $MOUSE_CLICK_LEFT
    While 1
        If _IsPressed("21") Then $State = 1 ; Page Up
    If _IsPressed("22") Then $State = 0 ; Page Down
    If _IsPressed("24") Then ExitLoop ; Home
        If $State = 1 Then
        Send("{SHIFTDOWN}")
        MouseClick($MOUSE_CLICK_LEFT)
    EndIf
    If $State = 1 Then
        Send("{SHIFTUP}")
    EndIf
WEnd

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...