Results 1 to 3 of 3

Thread: KeyDown; and KeyUp;

  1. #1
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default KeyDown; and KeyUp;

    I am having problems with KeyDown and KeyUp in my script.

    KeyDown(101);
    Wait(100);
    KeyUp(101);

    Line 58: [Error] (13407:1): Invalid number of parameters in script
    What did I do wrong??

  2. #2
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Telling us which line is which would help

    And I don't think that part of the code is the problem. I copied + pasted that into a blank script's main loop and it compiled for me fine.

    Maybe post the whole script or at least that whole procedure/function/main loop?

  3. #3
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i forgot a semicolon

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Keydown
    By skullbr00d in forum OSR Help
    Replies: 3
    Last Post: 06-07-2007, 06:11 PM
  2. if(KeyDown('m'))then
    By Jason2gs in forum OSR Help
    Replies: 4
    Last Post: 02-26-2007, 03:43 AM
  3. keydown
    By raimis89 in forum OSR Help
    Replies: 4
    Last Post: 12-09-2006, 09:23 AM

Posting Permissions

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