Results 1 to 20 of 20

Thread: How to make scar press tab key?

  1. #1
    Join Date
    Jan 2007
    Posts
    55
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How to make scar press tab key?

    how do you make scar press tab ??
    AKA http://i105.photobucket.com/albums/m...uceSigcopy.jpg

    I am a SCAR//SRL newb and i am willing to become better =) reading my tut's day by day.

  2. #2
    Join Date
    Aug 2007
    Location
    In Your Front Door!
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Dont Know, But I got another Question,

    How do you make Scar press alt?
    This is for Jagex!

    My Public Scripts
    Simple AutoTalker
    Face Maker

  3. #3
    Join Date
    Jan 2007
    Posts
    55
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by gamer 5 View Post
    Dont Know, But I got another Question,

    How do you make Scar press alt?
    lol yeah please help us =) also should you unload dtm's just as you unload bmp's? to free up memory?
    AKA http://i105.photobucket.com/albums/m...uceSigcopy.jpg

    I am a SCAR//SRL newb and i am willing to become better =) reading my tut's day by day.

  4. #4
    Join Date
    Jun 2007
    Posts
    1,312
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by yamaha317 View Post
    lol yeah please help us =) also should you unload dtm's just as you unload bmp's? to free up memory?
    FreeDTM(nameofdtm);
    I'll post the other stuff in a sec.
    A - 65
    B - 66
    C - 67
    D - 68
    E - 69
    F - 70
    G - 71
    H - 72
    I - 73
    J - 74
    K - 75
    L - 76
    M - 77
    N - 78
    O - 79
    P - 80
    Q - 81
    R - 82
    S - 83
    T - 84
    U - 85
    V - 86
    W - 87
    X - 88
    Y - 89
    Z - 90

    ######### 0-9 Above A-Z Keys ######### Code:

    0 - 48
    1 - 49
    2 - 50
    3 - 51
    4 - 52
    5 - 53
    6 - 54
    7 - 55
    8 - 56
    9 - 57

    ######### "F" Keys ######### Code:

    F1 - 112
    F2 - 113
    F3 - 114
    F4 - 115
    F5 - 116
    F6 - 117
    F7 - 118
    F8 - 119
    F9 - 120
    F10 - 121
    F11 - 122
    F12 - 123

    //in case you have 15 of them
    F13 - 124
    F14 - 125
    F15 - 126

    ######### Number Pad ######### Code:

    0 - 96
    1 - 97
    2 - 98
    3 - 99
    4 - 100
    5 - 101
    6 - 102
    7 - 103
    8 - 104
    9 - 105
    Multiply - 106
    Add - 107
    Enter - 108
    Subtract - 109
    Decimal - 110
    Divide - 111

    ######### Other Keys ######### Code:

    Backspace - 8
    SCAR Code:
    Tab - 9
    Clear - 12
    Enter - 13 // next to a-z
    Shift - 16
    Control - 17
    SCAR Code:
    Alt - 18
    Capslock - 20
    Escape - 27
    Spacebar - 32
    PageUp - 33
    PageDown - 34
    End - 35
    Home - 36
    Left Arrow - 37
    Up Arrow - 38
    Right Arrow - 39
    Down Arrow - 40
    Insert - 45
    Delete - 46
    Help - 47
    Numberlock - 144
    Semi-Colon / Colon - 186
    Equals / Plus - 187
    Minus / Underscore - 189
    Forward Slash / Question Mark - 191
    Apostrophe / Tilde - 192
    Open Bracket / Open Brace - 219
    Backslash / Seperator - 220
    Close Bracket / Close Brace - 221
    Quote Key - 222
    Credits to TSN.
    so
    SCAR Code:
    KeyDown(NumberOfKey);
    KeyUp(NumberOfKey);
    Active only during the Summer...

  5. #5
    Join Date
    Jan 2007
    Posts
    55
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks a ton =)
    AKA http://i105.photobucket.com/albums/m...uceSigcopy.jpg

    I am a SCAR//SRL newb and i am willing to become better =) reading my tut's day by day.

  6. #6
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Also, if you press ctrl + space in scar, then type in VK_, there is a whole (I think) list of non alphanumeric keys.

  7. #7
    Join Date
    Aug 2007
    Location
    In Your Front Door!
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    How can I make it hold alt down?
    This is for Jagex!

    My Public Scripts
    Simple AutoTalker
    Face Maker

  8. #8
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    SCAR Code:
    KeyDown(18);
    Wait(1000); // Change to time to hold alt down
    KeyUp(18);

  9. #9
    Join Date
    Aug 2007
    Location
    In Your Front Door!
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I tried this

    SCAR Code:
    Procedure SendSymbol1;
    begin
      KeyDown(18);
      SendKeys('0164');
      KeyUp (18);
    end;
    But it just types 0164 I want the symbol, To get the symbol you hold down alt then type 0164 in Runescape.
    This is for Jagex!

    My Public Scripts
    Simple AutoTalker
    Face Maker

  10. #10
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Hmm... very weird. I tried doing it using keydown and up, but it kept doing the euro sign instead of ¤. It seems to be because it releases the key prematurely/releases it within a short period of time (had to use a sleep of 25 ms between each action to get it to not type any of the numbers). Will look into it, but it might be an idea to maybe leave it out and go back to it when someone finds a way to do it.

  11. #11
    Join Date
    Feb 2007
    Posts
    419
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks alot for that table it's much better than the one in the help file! i'll save that for future use

  12. #12
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by gamer 5 View Post
    I tried this

    SCAR Code:
    Procedure SendSymbol1;
    begin
      KeyDown(18);
      SendKeys('0164');
      KeyUp (18);
    end;
    But it just types 0164 I want the symbol, To get the symbol you hold down alt then type 0164 in Runescape.
    add a wait -.-

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  13. #13
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    ok now i got a question, how to pres the windows key ?

  14. #14
    Join Date
    Aug 2007
    Location
    In Your Front Door!
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by JuKKa View Post
    add a wait -.-
    okay Thanks Jukka I'll try it when I get home!
    This is for Jagex!

    My Public Scripts
    Simple AutoTalker
    Face Maker

  15. #15
    Join Date
    Oct 2006
    Location
    C:\Program Files\SCAR 2.03
    Posts
    1,194
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by MasterKill View Post
    ok now i got a question, how to pres the windows key ?
    Heh.. On TSN's list he left out the last one... which is...

    "Start" Key - 92

    Thats the windows key...
    [FONT="Garamond"][SIZE="3"]
    Yes, I am a criminal. My crime is that of curiosity. My crime is that of judging people by what they say and think, not what they look like. My crime is that of outsmarting you, something that you will never forgive me for.
    [/SIZE][/FONT][URL="http://www.villavu.com/forum/forumdisplay.php?f=125"][IMG]http://i40.tinypic.com/r1lzdv.jpg[/IMG][/URL]

  16. #16
    Join Date
    Jul 2007
    Posts
    1,055
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    btw guys, insert is key to invatory (in rs) and Esc is key to logout.

  17. #17
    Join Date
    Aug 2007
    Location
    In Your Front Door!
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by JuKKa View Post
    add a wait -.-
    What do you mean by that, how do i do it, because i tried it in a way that didn't work!
    This is for Jagex!

    My Public Scripts
    Simple AutoTalker
    Face Maker

  18. #18
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Adding waits don't work - for some reason, scar, when using sendkeys, seems to lift up the alt key while it does it. Using KeyDown(blah) etc. doesn't work either, as it either does the wrong alt character (e.g. ♀ instead of §, or sometimes even more bizarre than just key swapping) or just types out random keys. Also, just using 'SendKeys('♀');' or whatever doesn't seem to work with some of them (mainly the one gamer 5's trying to do).

  19. #19
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by gamer 5 View Post
    I tried this

    SCAR Code:
    Procedure SendSymbol1;
    begin
      KeyDown(18);
      SendKeys('0164');
      KeyUp (18);
    end;
    Heheh, Noobs
    here... You can even add more
    wouldn't mind some rep.. lol

    SCAR Code:
    function GetAltCode(codekey: string): string;
    begin
      case codekey of
        '¤' : Result := '0164';
      end;
    end;

    var
      i: integer;
      s: string;

    procedure Symbol(Symb: string);
    begin
      KeyDown(18);
      Sleep(10 + random(20));
      for i := 1 to 4 do
      begin
        KeyDown(StrToIntDef(GetAltCode(Symb)[i],0)+96);
        sleep(10 + random(20));
        KeyUp(StrToIntDef(GetAltCode(Symb)[i],0)+96);
        sleep(10 + random(20));
      end;
      KeyUp(18);
    end;

    begin
      Symbol('¤');
    end.

  20. #20
    Join Date
    Aug 2007
    Location
    In Your Front Door!
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Timer View Post
    Heheh, Noobs
    here... You can even add more
    wouldn't mind some rep.. lol

    SCAR Code:
    function GetAltCode(codekey: string): string;
    begin
      case codekey of
        '¤' : Result := '0164';
      end;
    end;

    var
      i: integer;
      s: string;

    procedure Symbol(Symb: string);
    begin
      KeyDown(18);
      Sleep(10 + random(20));
      for i := 1 to 4 do
      begin
        KeyDown(StrToIntDef(GetAltCode(Symb)[i],0)+96);
        sleep(10 + random(20));
        KeyUp(StrToIntDef(GetAltCode(Symb)[i],0)+96);
        sleep(10 + random(20));
      end;
      KeyUp(18);
    end;

    begin
      Symbol('¤');
    end.
    It works but im very confused can you explain what you did?
    This is for Jagex!

    My Public Scripts
    Simple AutoTalker
    Face Maker

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How do you press space bar in SCAR?
    By JAD in forum OSR Help
    Replies: 11
    Last Post: 09-04-2008, 07:04 AM
  2. How do you press space bar in SCAR?
    By JAD in forum OSR Help
    Replies: 0
    Last Post: 08-30-2008, 02:07 AM
  3. how to make scar press ctrl+R
    By i like mauls in forum OSR Help
    Replies: 1
    Last Post: 02-01-2008, 04:24 PM
  4. What command do i use to make scar press F6 or F5???
    By Ilikepie1995 in forum OSR Help
    Replies: 9
    Last Post: 07-05-2007, 09:25 PM
  5. How Do I Make A Script Press The Enter Key?
    By Vincent_WIebe in forum OSR Help
    Replies: 3
    Last Post: 05-22-2007, 10:41 PM

Posting Permissions

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