Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Close Dex Utilities after macro finishes

Posted on by

Hi all,

I am running a macro in dex utilities from a bat file. I need to close Dex Utilities after macro finishes.

I followed the solution provided here  and added the line MenuSelect title File entry Exit at the end of the macro. This line is not getting executed as  Dex Utilities displays a message at the completion showing the duration the macro ran for and stops there and Dex Utilities dont close.

Do i need to add anything in the macro to make the message not to appear at the end like setting something OFF.

 

 

*This post is locked for comments

  • Verified answer
    India Support Profile Picture
    India Support 25 on at
    Re: Close Dex Utilities after macro finishes

    Hi,

    Here is the solution.

    The Logging command should be inserted as the first line of a macro when you want any macro-related warnings or messages stored in a file, rather than displayed on the screen. (The message displaying the time a macro took to complete is an example of such a message.)

    Syntax

    Logging file filename

    Parameters

    • filename - The name of the file any messages will be stored in. This name can include a generic path.

    PS: Even the Logging command is also used in the Keys.ini file.

    Example: Logging file ':C:MACLOG.TXT'

     

    Thanks,

    Savitha Shetty

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans