Results 1 to 4 of 4

Thread: [HELP] Can't type problem

  1. #1
    Join Date
    Apr 2008
    Posts
    28
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Exclamation [HELP] Can't type problem

    Hello.

    I'm scripting for a game called Phatansy Star Online Blue Burst, but Simba can't type there...
    Actually it can, but only letters/numbers, not keys like BACKSPACE, ENTER, F4.
    Just like Virtual Keyboard from Windows.

    Works perfectly when trying at Notepad (tested backspace, F5, enter and worked fine)

    So, what can i do?

  2. #2
    Join Date
    Apr 2008
    Posts
    28
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok, i did something wierd to workaround this sh**.

    Using AutoHotkey to send the keys to the game like:

    @Simba: Press VK_F15
    @Autokey: Read VK_F15 press and send the desired key like F4

    @AutoHotkey:
    Code:
    F15::
    {
        SendMode Event
        SetKeyDelay, 0, 100, Event
        Send {F4}
        Return
    }
    F13::
    {
        SendMode Event
        SetKeyDelay, 0, 100, Event
        Send {Up}
        Return
    }
    F14::
    {
        SendMode Event
        SetKeyDelay, 0, 100, Event
        Send {Down}
        Return
    }
    F16::
    {
        SendMode Event
        SetKeyDelay, 0, 100, Event
        Send {Backspace}
        Return
    }
    F17::
    {
        SendMode Event
        SetKeyDelay, 0, 100, Event
        Send {Enter}
        Return
    }
    @Simba:
    Code:
    Procedure F4;
    begin
      PressKey(VK_F15);
      Wait(200+random(500));
    end;
    Last edited by Pietro; 01-30-2011 at 02:26 PM. Reason: misspell

  3. #3
    Join Date
    Apr 2008
    Posts
    28
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Last edited by Pietro; 01-30-2011 at 05:34 PM.

  4. #4
    Join Date
    Dec 2010
    Posts
    808
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I see you trollin.. you hatin...

    You seemed to have figured out your problem.

    -Boom

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
  •