Results 1 to 7 of 7

Thread: [Help]

  1. #1
    Join Date
    Nov 2010
    Posts
    305
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default [Help]

    Well I'm making a Script, however it works all fine. But I need Escape to logout here's the problem..

    Code:
    //Logout
    
    SendKeys(Chr(27));
    Wait(700);
    SendKeys(Chr(27));
    Wait(50);
    MoveMousesmooth(959, 522);
    Wait(100);
    ClickMouse(959, 522, True);
    Wait(15000);
    Until False;
    end.
    If you check the 3.22 Divi manual it says 27 Dec represents Escape but it doesn't work for me. So what does represents Escape cause I need it to logout. If there is anyother method please let me know, cause in the game you only can logout via Escape. Thanks
    Last edited by Failure; 12-31-2010 at 06:39 AM.

  2. #2
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    You should try KeyDown(27); Wait(200); KeyUp(27);

    I don't even think you can send "Escape" with SendKeys().
    There used to be something meaningful here.

  3. #3
    Join Date
    Nov 2010
    Posts
    305
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by Frement View Post
    You should try KeyDown(27); Wait(200); KeyUp(27);

    I don't even think you can send "Escape" with SendKeys().
    Thanks it worked you saved me!
    Well I'm not that advanced in coding, the SendKeys(Chr(32)); < Spacebar
    Worked so I thought also for Escape...

  4. #4
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    SendKeys only works for characters that you can "type".
    There used to be something meaningful here.

  5. #5
    Join Date
    Nov 2010
    Posts
    305
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by Frement View Post
    SendKeys only works for characters that you can "type".
    Why does Spacebar works then? Thanks for the info

  6. #6
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Spacebar is a type-able character.
    There used to be something meaningful here.

  7. #7
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    TypeByte(VK_SOMETHING)

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
  •