SendKeys Function menu

User Tag List

Results 1 to 8 of 8
  1. #1
    omg_lol's Avatar Member
    Reputation
    25
    Join Date
    Dec 2008
    Posts
    185
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SendKeys Function

    I want to know how to send keystrokes to WoW
    I read this in a post by Y R U A NUB but i dont understand how to make it do it to WoW
    For sending a key you do:


    Code:
    SendKeys.Send("1")
    As for "non digit or letter keys" such as space, add these brackets


    Code:
    SendKeys.Send("{SPACE}")
    More: http://msdn.microsoft.com/en-us/libr...keys.send.aspx

    I would actually use AutoIT for these purposes, though.
    OMG LOL

    SendKeys Function
  2. #2
    Dragonshadow's Avatar ★ Elder ★
    Reputation
    1170
    Join Date
    Apr 2007
    Posts
    3,858
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wouldn't you need to make it target the wow app, then send the keypress?
    Look at your post, now back to mine; Now back to your post, now back to mine. Sadly, it isn't mine, but if you stopped trolling and started posting legitimate content, it could look like mine. Look down, backup, where are you? You're scrolling through threads, reading the post your post could look like. What did you post? Back at mine; It's a reply saying something you want to hear. Look again and the reply is now diamonds.

    Anything is possible when you think before you post. The moon is shrinking.

  3. #3
    RawrSnarl's Avatar Member
    Reputation
    14
    Join Date
    May 2008
    Posts
    65
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The cleanest method of doing this is using SendMessage. It will also allow your application to interact with WoW while it is in the background.

  4. #4
    omg_lol's Avatar Member
    Reputation
    25
    Join Date
    Dec 2008
    Posts
    185
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    May i have a code snippet to work with? Thanks.
    OMG LOL

  5. #5
    SKU's Avatar Contributor
    Reputation
    306
    Join Date
    May 2007
    Posts
    565
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  6. #6
    JoeBiden's Avatar Contributor
    Reputation
    153
    Join Date
    Aug 2007
    Posts
    498
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    AppActivate("WoW.exe")
    SendKeys.Send(TextBox1)

    you need a timer inbetween though

    you asked for something to work with.. heh :P

  7. #7
    omg_lol's Avatar Member
    Reputation
    25
    Join Date
    Dec 2008
    Posts
    185
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thx (filler)
    OMG LOL

  8. #8
    suicidity's Avatar Contributor
    Reputation
    207
    Join Date
    Oct 2006
    Posts
    1,439
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use PostMessage; It may not respond back if it made it or not; But it's instant.. ++ Since WoW doesn't use DirectInput it's an easy way to emulate keys in "background mode"


Similar Threads

  1. [Release] Scan Pixels function for VB.net
    By suicidity in forum World of Warcraft Bots and Programs
    Replies: 6
    Last Post: 07-09-2014, 02:12 PM
  2. item Teleport [completed and functional]
    By venom9122 in forum World of Warcraft Emulator Servers
    Replies: 15
    Last Post: 12-13-2007, 11:46 PM
  3. [Release]Blizzlike Database - Fully Functioning
    By ~SaiLyn~ in forum World of Warcraft Emulator Servers
    Replies: 17
    Last Post: 11-12-2007, 09:52 PM
  4. Function locating.
    By HolyForce in forum World of Warcraft General
    Replies: 0
    Last Post: 03-03-2007, 07:19 AM
All times are GMT -5. The time now is 02:38 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search