kleet1 Posted March 31, 2007 Report Share Posted March 31, 2007 I can't seem to register keystrokes of the arrow keys. When I press the arrows keys, and then run the macro, the macro do not press the arrows. How is it possible to register keystrokes of the arrows buttons? Quote Link to comment Share on other sites More sharing options...
johnboy691 Posted April 2, 2007 Report Share Posted April 2, 2007 Kleet1: If I'm understanding you right, here are a couple ideas. <TEXTTYPE:<ARROW RIGHT> or, if you have a lot of arrow rights (say like 13 as below) set it up like this... Repeat Start (Repeat 13 times) TEXTTYPE:<ARROW RIGHT> Repeat End Hope this helps Quote Link to comment Share on other sites More sharing options...
kleet1 Posted April 2, 2007 Author Report Share Posted April 2, 2007 Yes, this is very helpful and it's close to what I want to achieve. Thanks! However how to emulate pressing of the arrow keys and holding them for certain amount of time? Quote Link to comment Share on other sites More sharing options...
Cory Posted April 2, 2007 Report Share Posted April 2, 2007 Depending on your typematic settings the arrows will work differently. YOu see your system will see you holding down a key for a certian period of time and only enter it once unless the key is held more than X number of seconds. Once X seconds has passed your system will start repetitively firing the key sequence. To illustrate open notpad and start holding down any letter. You will see it fires once and then a bunch of times after a delay. Same with the arrow keys. So your system is really seeing the holding of the arrow down as a series of pressings. You can do the same. If you want to make the arrow go down like you holding it simply do a repeat with a down arrow command in the middle. However you wil probably need to introduce some timing controls depending on what you are trying to accomplish. If you get into that you need to consider ME's setting on how fast it 'types' your text commands. Either that or add somethig like a 100mS delay in your repeat. You can also change the type rate in the macro itself, check out Keyboard Repeat Speed and Delay commands under timing. Quote Link to comment Share on other sites More sharing options...
kleet1 Posted April 8, 2007 Author Report Share Posted April 8, 2007 Hm, I want to achieve this: I have an application in Adobe Flash Player. The arrows control the movement and I want to have an automatic sequence, which does a certain thing. The problem is that when I push the arrows manually and record the macro, then when I play it back, it's not the same, so it doesn't generate the required effect. How can I fix it? Is there a way to set how arrow keystrokes are recorded? Quote Link to comment Share on other sites More sharing options...
Cory Posted April 10, 2007 Report Share Posted April 10, 2007 Trying to cheat at online poker are we? Just kidding. Don't use the record. Simply create the sequence in the scripting editor and experiment. If you need to move over so many times put the arrow move in a repeat so you can simply change the number of times it loops. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.