Help - Search - Members - Calendar
Full Version: Holding down shift for an entire procedure?
AC Tools Everything Macro > AC Tool Macros > Macro Development
Jester13
I'm trying to make a macro that holds down shift for an entire procedure. When I do Keydown it just holds down the key for x mount of seconds, then goes on to the next line... I want to hold shift while the entire procedure runs.

Procedure Missle
keys {PGDN}
delay 1 sec
Keys 1
<------------------- want to start holding shift here
Loop 10
LEFTCLICK
Delay 2.5 sec
end
<------------------- stop holding shift here
delay 1 sec
keys {PGDN}
delay .5 sec
END

Thanks for the help
Jester13
Guess it's not possible??
Bear
From the Readme.txt file:
QUOTE

4.5 - 02/08/2004:
- Converted AC Tool source code to Delphi 7
- MouseClickDelay allows the user to select a millisecond delay between
right and left mouse clicks. Usage:

MouseClickDelay 100

- The SHIFT keyword can now be used in front of RIGHTMOUSEUP,
RIGHTMOUSEDOWN, LEFTMOUSEUP, and LEFTMOUSEDOWN. This keyword
depresses the SHIFT key before or after the UP/DOWN mouse action


So you should replace the leftclick with two lines:

CODE
Loop 10
  Shift LeftMouseDown
  Shift LeftMouseUp
  Delay 2.5 sec
end
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.