Click on menu item from journal or start macro file to do this

In NX there is user menu service-materials-synchronization, which runs dll that have multiple entry points depending on different conditions . I need to run it from the journal. I decided it would be easier to run it with simulated click on the menu button. Is it probably to do this in journal code, or there is need to run the macro file from the journal?