I'm a cheat...so help me!

Posted:
in Genius Bar edited January 2014
...how do i make a script so that it can control the directional arrows for a flash game?



its a game where u want to hae to hit the arrow keys at specific times and i just want to be able to write a script for it



this actually serves two purposes...one to do good at that game and the other to test my games

Comments

  • Reply 1 of 7
    yeah, I believe applescript itself cannot tell certain keys to be pressed.



    There was a shareware that adds this functionality to applescript but I forget now.



    Try doing a search and tell me if you find anything.



    Sorry if this wasn't much of a help.
  • Reply 2 of 7
    placeboplacebo Posts: 5,767member
    If keycaps is scriptable, then there you go.
  • Reply 3 of 7
    Quote:

    Originally posted by Placebo

    If keycaps is scriptable, then there you go.





    well what's the instruction code for hitting a key then?



    I'd like to know myself
  • Reply 4 of 7
    ast3r3xast3r3x Posts: 5,012member
    not sure this would work because the browser window with the flash in has to be the frontmost window and active
  • Reply 5 of 7
    placeboplacebo Posts: 5,767member
    Quote:

    Originally posted by stevegongrui

    well what's the instruction code for hitting a key then?



    I'd like to know myself




    The keyword was if. I'm on vacation, and I can only use a windows machine at the moment.
  • Reply 6 of 7
    g_warreng_warren Posts: 713member
    Quote:

    I'm on vacation, and I can only use a windows machine at the moment.





    That's like saying going to jail for a few years is a vacation - it's more of a punishment!
  • Reply 7 of 7
    placeboplacebo Posts: 5,767member
    Quote:

    Originally posted by G_Warren

    That's like saying going to jail for a few years is a vacation - it's more of a punishment!



    Right on.
Sign In or Register to comment.