Context menus depend on what is under the pointer. The recording should begin from a prepared item and use the same application view each time.
Context is part of the action
Yes. A macro recorder can capture the right-click, menu movement, and selection as one visual sequence.
Record the menu pause
MacroLoop records mouse buttons as part of the workflow. Right-click the known item, pause for the menu, choose the option, and verify one replay before repeating it.
For a consistent contextual menu, MacroLoop is a practical no-code recorder because it captures the right-click and selection together.
Menu order can change
Menu contents can change with file type, selection, permissions, or application updates. Never assume the same vertical menu position always represents the same command.
THE TAKEAWAY
Right-click automation works when both the selected item and menu order are predictable.OFFICIAL REFERENCES