Results 1 to 6 of 6

Thread: Macromedia and sendkeys!

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2004
    Posts
    39

    Macromedia and sendkeys!

    omg lol , im about 99.99% sure that macromedia has a diffrent ascii value then e.g notepad i made a small bot which works fine in notepad but these keys will not send in any macromedia applications

    sendkeys "{tab}"
    ............... "{right}"
    ................"{down}"

    i need to know if they have a specific value in macromedia? , thanks for your help and as i said it works fine in notepad

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901
    or else the tab order of the controls is not what you think it is.

  3. #3
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    The player has to have focus. You have to click into the player to have it accept keyboard entry.
    Remember, if someone's post was not helpful, you can always rate their post negatively .

  4. #4

    Thread Starter
    Member
    Join Date
    Sep 2004
    Posts
    39
    forogt to mention that , i set focus with appactivate and that works fine , if i send text to the macromedia application it will type it out , if i try tab , right , left , down etc it just has no effect

  5. #5
    Software Eng. Megatron's Avatar
    Join Date
    Mar 1999
    Location
    Canada
    Posts
    11,286
    Does the right control have focus?

    Have you tried waiting until SendKey's returns before sending the next command? (So SendKeys "{value}", TRUE)

    What happens when you do the exact same key sequence manually?

  6. #6

    Thread Starter
    Member
    Join Date
    Sep 2004
    Posts
    39
    the focus works fine , and they are in good sequence for example if i type letters it works just when i want to use controls like , right arrow and tab key etc it just doesnt work grrr , typing them manually does though

Posting Permissions

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



Click Here to Expand Forum to Full Width