Jump to content
Macro Express Forums

Feeling Stupid


learned

Recommended Posts

I'm just evaluating Macro Express as the natural add on after ShortKeys (the application). One feature of SK that I love is the ease of adding a new shortkey, and am trying to create a macro patterned after that. In essence, what I am trying to accomplish is

 

Trigger: Ctrl Up Arrow

 

Cut the selected text

Open the Macro Express Editor

Wait for the window Macro Express - to open

Execute the menu commands to create a new macro <ALT>ma

Select Short Key as the type, and wait for the name to be entered

...

 

Where I am running into problems is in the simplest point of executing the <alt>ma to create a new macro. No matter what I do, I get the system beep, which I'm gathering means I have a timing problem. Thoughts? Seems executing a menu should not be this hard

Link to comment
Share on other sites

The menus in many programs, including Macro Express, do not respond correctly when you do Text Type <Alt>m but it will work if you do Text Type <ALTD>m<ALTU>.

 

Also, a small amount of delay is required in certain places. This macro works on my computer:

// Launch the Macro Express Editor
Macro Run: Run Macro Express Editor

// Wait for the Macro Express window
Wait For Window Title: "Macro Express -"

Variable Set Decimal %D1% to 0.1
Variable Set Decimal %D2% to 0.5

// Navigate the menus
Keystroke Speed: 10 Milliseconds
Text Type: <ALTD>m<ALTU>a
Delay %D2% Seconds

// Click on activation type of ShortKey
Mouse Move Window 42, 112
Mouse Left Button Click
Delay %D1% Seconds

// Tab to the shortkey field
Text Type: <TAB>
Delay %D1% Seconds

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...
×
×
  • Create New...