Menu

Key Presses record but will not play back--only mouse clicks will do both

BFR
2018-05-09
2021-01-31
  • BFR

    BFR - 2018-05-09

    I created a macro by using the Record function, but on playback only the mouse clicks/movements actually play. The keyboard actions don't happen even though I can see the utility going through the steps.

    What am I doing incorrectly?

     
  • Peter Verbeek

    Peter Verbeek - 2018-05-14

    Sorry that my response is this late.

    This can be 3 things:
    1. The targeted program doesn't allow for keys to be entered by your macro.
    2. Macronize doesn't have enough rights to enter any key to any program (It needs administrative rights, the highest level).
    3. The focus isn't on the text box/field yet. Sometimes a mouse click on the text box/field has to be done first. By doing this the text box/field gets focus and characters/keys can be entered.

     
  • DOS

    DOS - 2021-01-26

    Am new to SourceForge and Forums and new to Macronize.exe.
    Macronize 1.0.2.0 installed OK on my Win10 box. Any steps with mouseclick crashes Macronize.exe.

    Launched as Admin via a desktop link.
    Select a process (Chrome.exe, cmd.exe, Calculator): Chrome
    Clicked Add Step Type: "Mouse click" Description: "mytest". Mouse action: "Left button click".. "Relative to pgm win pos"

    The problem is when I press "Detect" button, a popup appears: AutoIt Error:
    "Line 34470 (File "C:\user....\Macronize.exe"): Error: Variable subscript badly formatted."

    It runs ok when script contains only the DelayingStep type.

    Thank you for your time.

     
    • Peter Verbeek

      Peter Verbeek - 2021-01-27

      Hi,

      I've found the bug you've stumbled upon. Thanks for reporting this to me. I'll correct it and report back to you.

       
    • Peter Verbeek

      Peter Verbeek - 2021-01-27

      To bypass this bug for now: Create a first macro step of any kind, for instance a comment. Then add the wanted mouse click step.

       
    • DOS

      DOS - 2021-01-31

      Your suggested fix worked. Thank you for your help.

      A new problem surfaced when I run the following macro. It has these three
      instructions:
      -- Delay 3
      -- Left button click (on EMPTY windows 10 desktop area)
      -- Left button click (in an PRE-EXISTING open DOS shell window)

      < a Macronize pop up appears saying>

      "To prevent problems the macro has been stopped.
      A different process (other) than the macro process explorer.exe (7284) was
      being activated: cmd.exe (8040)...."

      Problem is I cannot turn off that warning. I clicked Options/Settings/ and
      unchecked the box "Show process checking warning" but the pop up still
      occurs. How do I turn off the warning?

      Thank you for your time.

       

      Last edit: Peter Verbeek 2021-01-31
      • Peter Verbeek

        Peter Verbeek - 2021-01-31

        Great to hear the fix works. I've almost completed a new version of Macronize which has this bug removed.

        Macronize is very secure in applying the macro to a specific process of the target program. You can imagine when another window pops up on its own (and that may happen) that suddenly the macro is applied on that window. And then things go wrong very rapidly. Therefore Macronize is continously checking if the played macro "stays" within the selected process.

        Knowing the above, creating a multi-process macro is done by selecting the proper process before any other macro step is performed on that process. One might also start a program thus creating its process. Macronize continues to do the macro steps on this new process.

        In your case you need to select the explorer.exe (say the desktop process) and the DOS shell window and do the macro steps on them.
        -- Delay 3
        -- Select explorer.exe process
        -- Left button click (on EMPTY windows 10 desktop area)
        -- Select DOS shell window
        -- Left button click (in an PRE-EXISTING open DOS shell window)

        I must say that I don't understand the clicking of the desktop area. Couldn't you just select the existing DOS shell window?

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.