Jump to content
Macro Express Forums

Need help creating a macro


Recommended Posts

all rights so here's the story. I used a mod for mine craft that had auto run and jump built-in the game because I have muscular dystrophy and control everything with my voice. Everything was working fine until the online server I play on decided to use a new add-on that completely stops all other modification from working.So Now I have this program and am trying to re-create what it did for me in the game But I am having trouble making macros. Basically what I needed to do is when I press a button on the keyboard, it has to hold down the W button, and then when I press it again, it has to stop. Same goes for jumping. It needs to hold this space bar button, and then when I want to stop, just press it again and it will stop.

 

Is this possible?

Link to comment
Share on other sites

As you described I don’t believe so. MEP has the ability to hold certain function keys like Shift but not letters. But here’s the thing... I don’t think any program can. If you press and hold a letter on the keyboard the keyboard simply sends the keystroke to the computer over and over again after a typematic delay. So maybe you could just have it type W in a loop with a short delay and have the same effect. Just realize you could overflow the keyboard buffer.

 

You might also check out the SendKeys method in VBScript. Though I suspect you will find the same issue there.

Link to comment
Share on other sites

Sounds like it's an 'on-line' game. I find that scripting websites is a pain.... Do the run and the jump commands HAVE TO come from a key press??? Is there an on-screen clickable button that could be "held down?"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...