No internet connection
  1. Home
  2. How to

Error in "Click Menu Item" Macro

By Ryan Allam @Ryan_Allam
    2020-05-29 21:55:31.043Z

    Hey,

    I wanted to create a simple Bounce to Quicktime "Click menu item" today, that simply goes to File / Bounce to / Quicktime and I keep getting the following error when I test it:
    Error in line 0
    Error invoking menu.click

    this is what I'm getting in the view log. (I changed from FILE menu to EDIT menu while testing and troubleshooting but still got the same error)

    29.05.2020 17:52:14.27 [Backend]: Logging error in action (01) ClickMenuAction: Could not find menu item: edit
    Error in line 0:
    Error invoking menu.click
    Could not find menu item: edit (ClickMenuAction)

    << Command: Bounce to QT [user:ck2vd8dtd0005hu107i69w1jv:ckasnmon300006810r8wtfyyv]

    29.05.2020 17:52:35.65 [Backend]: >> Command: Bounce to QT [user:ck2vd8dtd0005hu107i69w1jv:ckasnmon300006810r8wtfyyv]

    29.05.2020 17:52:35.68 [Backend]: Logging error in action (01) ClickMenuAction: Could not find menu item: edit
    Error in line 0:
    Error invoking menu.click
    Could not find menu item: edit (ClickMenuAction)

    << Command: Bounce to QT [user:ck2vd8dtd0005hu107i69w1jv:ckasnmon300006810r8wtfyyv]

    29.05.2020 17:52:35.92 [Backend]: >> Command: Bounce to QT [user:ck2vd8dtd0005hu107i69w1jv:ckasnmon300006810r8wtfyyv]
    Logging error in action (01) ClickMenuAction: Could not find menu item: edit
    Error in line 0:
    Error invoking menu.click
    Could not find menu item: edit (ClickMenuAction)

    << Command: Bounce to QT [user:ck2vd8dtd0005hu107i69w1jv:ckasnmon300006810r8wtfyyv]

    29.05.2020 17:53:33.06 [Backend]: >> Command: Bounce to QT [user:ck2vd8dtd0005hu107i69w1jv:ckasnmon300006810r8wtfyyv]

    29.05.2020 17:53:33.32 [Backend]: Logging error in action (01) ClickMenuAction: Could not find menu item: edit
    Error in line 0:
    Error invoking menu.click
    Could not find menu item: edit (ClickMenuAction)

    << Command: Bounce to QT [user:ck2vd8dtd0005hu107i69w1jv:ckasnmon300006810r8wtfyyv]

    29.05.2020 17:53:43.54 [Backend]: >> Command: Bounce to QT [user:ck2vd8dtd0005hu107i69w1jv:ckasnmon300006810r8wtfyyv]

    29.05.2020 17:53:43.79 [Backend]: Logging error in action (01) ClickMenuAction: Could not find menu item: edit
    Error in line 0:
    Error invoking menu.click
    Could not find menu item: edit (ClickMenuAction)

    << Command: Bounce to QT [user:ck2vd8dtd0005hu107i69w1jv:ckasnmon300006810r8wtfyyv]

    29.05.2020 17:53:55.66 [Backend]: >> Command: Bounce to QT [user:ck2vd8dtd0005hu107i69w1jv:ckasnmon300006810r8wtfyyv]

    29.05.2020 17:53:55.92 [Backend]: Logging error in action (01) ClickMenuAction: Could not find menu item: edit
    Error in line 0:
    Error invoking menu.click
    Could not find menu item: edit (ClickMenuAction)

    << Command: Bounce to QT [user:ck2vd8dtd0005hu107i69w1jv:ckasnmon300006810r8wtfyyv]

    29.05.2020 17:54:03.80 [Backend]: >> Command: Bounce to QT [user:ck2vd8dtd0005hu107i69w1jv:ckasnmon300006810r8wtfyyv]

    29.05.2020 17:54:04.07 [Backend]: Logging error in action (01) ClickMenuAction: Could not find menu item: edit
    Error in line 0:
    Error invoking menu.click
    Could not find menu item: edit (ClickMenuAction)

    << Command: Bounce to QT [user:ck2vd8dtd0005hu107i69w1jv:ckasnmon300006810r8wtfyyv]

    29.05.2020 17:54:12.59 [Backend]: >> Command: Bounce to QT [user:ck2vd8dtd0005hu107i69w1jv:ckasnmon300006810r8wtfyyv]

    29.05.2020 17:54:12.85 [Backend]: Logging error in action (01) ClickMenuAction: Could not find menu item: edit
    Error in line 0:
    Error invoking menu.click
    Could not find menu item: edit (ClickMenuAction)

    << Command: Bounce to QT [user:ck2vd8dtd0005hu107i69w1jv:ckasnmon300006810r8wtfyyv]

    29.05.2020 17:54:27.68 [Backend]: >> Command: Bounce to QT [user:ck2vd8dtd0005hu107i69w1jv:ckasnmon300006810r8wtfyyv]

    29.05.2020 17:54:27.94 [Backend]: Logging error in action (01) ClickMenuAction: Could not find menu item: edit
    Error in line 0:
    Error invoking menu.click
    Could not find menu item: edit (ClickMenuAction)

    << Command: Bounce to QT [user:ck2vd8dtd0005hu107i69w1jv:ckasnmon300006810r8wtfyyv]

    Solved in post #2, click to view
    • 3 replies
    1. Kitch Membery @Kitch2020-05-30 02:23:36.091Z

      Hi Ryan!

      It looks like you may have made a spelling mistake in the menu path. But without seeing your code I can't tell. (You possibly missed the upper case "T" in QuickTime or ommited the "..." after quicktime" maybe?)

      In the Macro Editor the "Click Menu Item" Action should look like this;

      Or if you want it as code it looks like this.

      sf.ui.proTools.menuClick({
          menuPath: ["File","Bounce to","QuickTime..."],
      });
      
      

      Hope that helps :-)

      ReplySolution
      1. RRyan Allam @Ryan_Allam
          2020-05-30 02:31:22.035Z

          Awesome! Working!

          1. Kitch Membery @Kitch2020-05-30 02:31:59.062Z

            Great to hear that Ryan! :-)