It's a simple question, I know. But how would I press CTRL+P?
It's a simple question, I know. But how would I press CTRL+P?
KeyDown(VK_Control);
Keydown(Whatever P is);
Keyup(VK_Control);
KeyUP(whatever p is);
You can find out what P is in the help folder of SCAR, in the ascii picture.
Lol, Capricorn p is just 'p'
SCAR Code:Begin
KeyDown(VK_Control);
Keydown(Ord('p'));
Keyup(VK_Control);
KeyUp(Ord('p'));
End.
Last edited by Naum; 06-21-2009 at 02:46 AM.
Do a ord:
SCAR Code:begin
KeyDown(VK_Control);
Keydown(Ord('P'));
Keyup(VK_Control);
KeyUp(Ord('P'));
end.
Press CTRL and press P at the same time.
Jus' Lurkin'
It should work senrath, whoops I was meaning to use ord().
Nice to see other people learned from my tutorial![]()
Last edited by Naum; 06-21-2009 at 02:46 AM.

How do a backwards 'b' on my keyboard?
I think he is taking the piss for humour. Quite R1ch you fool!
<3
Jus' Lurkin'
Use GetKeyCode....
There are currently 1 users browsing this thread. (0 members and 1 guests)