Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Error Message when starting Bridge CS2: "create redeclared"

New Here ,
Aug 28, 2007 Aug 28, 2007
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
TOPICS
Scripting
418
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 28, 2007 Aug 28, 2007
LATEST
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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines