Skip to main content
Participant
August 28, 2007
Question

Error Message when starting Bridge CS2: "create redeclared"

  • August 28, 2007
  • 1 reply
  • 451 views
I get this "create redeclared" error message on the following line of code:

var labelMenu = MenuElement.create( "command", "Label", "at the end of Thumbnail");

but then this function and all others work just fine afterwards. Is there a way to either fix the error or suppress this warning? It's really more of an annoyance than anything else.

I'm using Bridge CS2 1.0.4.6
This topic has been closed for replies.

1 reply

dfranzen_camera_raw
Adobe Employee
Adobe Employee
August 28, 2007
This happens if you try to create a menu that already exists. Use MenuElement.find() to avoid re-creating a menu with the same ID.

-David Franzen
Adobe Bridge Quality Engineering
Adobe Systems, Inc.