Results 1 to 18 of 18

Thread: Pressing Ctrl+P

  1. #1
    Join Date
    Jun 2009
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Pressing Ctrl+P

    It's a simple question, I know. But how would I press CTRL+P?

  2. #2
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    1,124
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    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.

  3. #3
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  4. #4
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    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.

  5. #5
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Quote Originally Posted by NaumanAkhlaQ View Post
    Lol, Capricorn p is just 'p'

    SCAR Code:
    Begin  
      KeyDown(VK_Control);
      Keydown('p');
      Keyup(VK_Control);
      KeyUp('p');
    End.
    Um, that doesn't work. 'p' is a string, and KeyUp/Down requires a byte.

  6. #6
    Join Date
    Oct 2007
    Location
    Denmark
    Posts
    409
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Do a ord:
    SCAR Code:
    begin
      KeyDown(VK_Control);
      Keydown(Ord('P'));
      Keyup(VK_Control);
      KeyUp(Ord('P'));
    end.

  7. #7
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Quote Originally Posted by Frt View Post
    Do a ord:
    SCAR Code:
    begin
      KeyDown(VK_Control);
      Keydown(Ord('P'));
      Keyup(VK_Control);
      KeyUp(Ord('P'));
    end.
    Just be careful to do Ord('P') and not Ord('p'). Believe me, it does matter.

  8. #8
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Frt View Post
    Do a ord:
    SCAR Code:
    begin
      KeyDown(VK_Control);
      Keydown(Ord('P'));
      Keyup(VK_Control);
      KeyUp(Ord('P'));
    end.
    Lol, you read Naums tut
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  9. #9
    Join Date
    Feb 2007
    Location
    South East England
    Posts
    2,906
    Mentioned
    2 Post(s)
    Quoted
    8 Post(s)

    Default

    Press CTRL and press P at the same time.
    Jus' Lurkin'

  10. #10
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Quote Originally Posted by Torrent of Flame View Post
    Press CTRL and press P at the same time.
    Hehe You have to try to be funny don't you? Lol.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  11. #11
    Join Date
    Oct 2007
    Location
    Denmark
    Posts
    409
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by noidea View Post
    Lol, you read Naums tut
    Yes I did

  12. #12
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    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.

  13. #13
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    How do a backwards 'b' on my keyboard?

  14. #14
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by 99_ View Post
    How do a backwards 'b' on my keyboard?
    You could take a picture, upload it to ImageShack, invert the image, get the program that can make fonts, Profit.

    Oh, or you could press "d"
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  15. #15
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Quote Originally Posted by 99_ View Post
    How do a backwards 'b' on my keyboard?
    Spam much?
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  16. #16
    Join Date
    Feb 2007
    Location
    South East England
    Posts
    2,906
    Mentioned
    2 Post(s)
    Quoted
    8 Post(s)

    Default

    I think he is taking the piss for humour. Quite R1ch you fool!

    <3
    Jus' Lurkin'

  17. #17
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Quote Originally Posted by NaumanAkhlaQ View Post
    It should work senrath, whoops I was meaning to use ord().
    Nice to see other people learned from my tutorial
    Actually, for some reason using KeyDown(Ord('p')) presses F1 instead of the P key. You have to use Ord('P') to get the 'p' key.

  18. #18
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Use GetKeyCode....

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •