Hey guys so I am trying to make it where you can select 9 skills and use them by holding down the letter D and pressing a number 1-9. HOw would I go about doing that?
You're probably better off just using window macros in this case, just have macros for 1-9 tied to a verb that executes whatever's in that slot.
The javascript method is nice for certain things (like capturing all input), but it adds extra steps to the process (and overhead, but not a ton) needlessly. You're calling a lot of back-and-forth instead of just 'fires a macro, executes a verb'. Check out the 'Skin Reference' under the 'Help' menu in Dream Maker for more information on macros. There's also a ton about them here on the forums. |
With javascript you would want to do something like this:
If you press the D key and any number from 1-9 the computer will react (in this case I made the computer show you an alert message saying which keys you are pressing, like this "You are pressing D + 1" for example.
Run this code on a hidden browser and you should have no problems.