Share via

My macros won't fully commit, and when it does it doesn't repeat. What am I doing wrong?

Anonymous
2023-05-11T12:15:11+00:00

I have installed the keyboard mouse and keyboard center to make macros for my work. I am trying to save a large amount of AutoCAD files into a specific folder, so I have to go through the Saveas window, which seems to break my macro on most occasions. It works up until the window opens, but then stops, even though the macro is not app specific. I had gotten it to work previously, but when it would execute it wouldn't repeat, even though the repeat function was set to Toggle. Is there something I'm missing?

Microsoft 365 and Office | Install, redeem, activate | For home | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-05-11T12:53:27+00:00

    Hi,

    I'm Sneha and I'd be happy to help you out with your question. Sorry for the inconvenience caused.

    Please follow these steps:

    Compatibility: Firstly, ensure that the version of the Keyboard and Mouse Center software you're using is compatible with the AutoCAD version installed on your system. Compatibility issues can sometimes affect macro functionality. Check for any software updates or changes that may have occurred.

    Window Focus: When the Save As window opens, it's important to make sure that it has the focus before the macro proceeds. You can add a slight delay or a command to explicitly activate the window before continuing with further actions in your macro.

    Recording the Macro: When recording the macro, ensure that you capture all the necessary steps required to save the AutoCAD files into the specific folder. After recording, test the macro by replaying it immediately to see if it performs as expected.

    Macro Repeat Function: Double-check the repeat function settings in your macro. Ensure that it is set to "Toggle" and not accidentally disabled or configured to execute a limited number of times.

    Error Handling: Consider incorporating error handling into your macro script. For example, you can include conditional statements to check if the Save As window is open and, if not, attempt to open it again. This will help ensure that the macro continues smoothly, even if occasional hiccups occur.

    Macro Language Limitations: Depending on the complexity of the tasks you want to automate, the macro language provided by the Keyboard and Mouse Center software may have limitations. In such cases, you may need to explore more advanced automation techniques using AutoCAD-specific scripting languages such as AutoLISP or Visual Basic for Applications (VBA).

    For more Information, please refer to following resource :-

    Common Microsoft Mouse and Keyboard Center Setup Issues - https://support.microsoft.com/windows/common-microsoft-mouse-and-keyboard-center-setup-issues-e814f335-6bef-d470-3430-f102007b4a81

    If you have any other questions or need assistance with anything, please don't hesitate to let me know. It will be my pleasure to Assist you.

    Best Regards, Sneha

    Give back to the community. Help the next person with this problem by indicating whether this answer solved your problem. Click Yes or No at the bottom.

    Was this answer helpful?

    0 comments No comments