Results 1 to 5 of 5

Thread: Combination of VKs

  1. #1
    Normal User
    Join Date
    Sep 2012
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Unhappy Combination of VKs

    How do I combine two virtual keys? I'd like to open the channel menu using the combination of control + O.
    _LCONTROL = 0xA2
    _O = 0x4F

    And if possible how to set the pointer in certain position? Thank you for your time and attention.

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Test this, probably wont work but it's worth a shot.
    PHP Code:
    keyevent(0xA2 0x4F

  3. #3
    Normal User
    Join Date
    Sep 2012
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    It doesn't recognize it that way, I'm sure there is a way to add them up into a single number however I can't find the way, thanks nevertheless.

  4. #4
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    I found this:
    Decimal Hex ASCII Character Meaning Keyboard Entry
    15 0F SI Shift in/XON(resume output) CTRL-O
    So maybe this?
    PHP Code:
    keyevent(0x0F
    Last edited by soder; 10-13-2012 at 03:40 PM.

  5. #5
    Normal User
    Join Date
    Sep 2012
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    It didn't come up with any error in the debug option however it didn't open the channel options. Perhaps is my script?

    while ischannel("NPCs") == false do
    keyevent(0x0F)
    wait(5000)
    end

    The forum wouldn't let me post it with code tags.

Tags for this Thread

Posting Permissions

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