hello need help on how to make a button F10 = switch between Page up and Page Down
first press it will press page up and next press it will press page down (alternating each time i press the F10 button)
alternate between key press
Re: alternate between key press
Because you posted this in the gaming forums, you may need to change Send to SendEvent for more reliability in games.
Code: Select all
F10:: {
static toggle := false
Send('{' ((toggle := !toggle) ? 'PgUp' : 'PgDn') '}')
}
Who is online
Users browsing this forum: No registered users and 3 guests