Selecting a menu without a dialog showing

I have the following macro.

Execute Macro “Hide/Show Scripts Pane” - F2

If All Conditions Met
    Menu with name “Hide Scripts Pane” exists
Execute the Following Actions:
    Select Menu by Name
        Default search: Hide Scripts Pane
Otherwise, Execute the Following Actions
    Select Menu by Name
        Default search: Show Scripts Pane

The purpose is to hide or show FileMaker's Script Workspace Scripts Panel.

It works .. except I get the following dialogs which I have to dismiss with an enter or return key.

Screenshot 2025-02-23 at 11.11.37
Screenshot 2025-02-23 at 11.11.58

How can I make those dialogs stop interrupting the macro?

I found this already answered here

1 Like