Skip navigation
Currently Being Moderated

Create a calculator for bridge?

Aug 9, 2012 5:27 AM

I have done scripting for InDesign wich has a palette for scripts or a start up script folder to run the script from. I am not sure how to start this thing. The next thing I want to do after I figure that out is to count photos in each folder that I select and then add them. The calculator could just be a UI window in Bridge is what I was thinking I just need help getting it going.

 
Replies
  • Currently Being Moderated
    Aug 9, 2012 9:26 AM   in reply to Gonterman1201

    The snippet you posted had mis-matched quotes everywhere, maybe you are using an editor not suited for the job?

     

    This does work...

     

    var myIDinfo = new Window('dialog','test');
    var myOKGroup =  myIDinfo.add ('group');
    myOKGroup.orientation = 'row';
    myOKGroup.minimumSize.height = 40;
    myOKGroup.add('button', [15,80,95,110],  'OK');
    myOKGroup.add('button', [15,80,95,110],  'CANCEL');
    myOKGroup.alignment=['right','bottom'];
    var myResult = myIDinfo.show();
    
    
     
    |
    Mark as:
  • Currently Being Moderated
    Aug 9, 2012 10:35 AM   in reply to Gonterman1201

    Yes both the ok and cancel buttons close the UI.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 16, 2012 1:41 PM   in reply to Gonterman1201

    Yes, I am targeting Bridge and the code I posted works fine.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 20, 2012 7:13 AM   in reply to Gonterman1201

    It works just fine on Windows 7 64bit using both 32bit and 64 bit Bridge versions:-

    5.0.0.399 x64
    5.0.0.399 x32

     

    
     
    |
    Mark as:
  • Currently Being Moderated
    Aug 20, 2012 8:34 AM   in reply to Gonterman1201

    Yes I was using ExtendScript Toolkit to test both the 32bit and 64bit versions of Bridge. I know CS6 has major problems with Bridge scripting as colours,scriptui font sizes, using images don't work. These has been reported to Adobe, but no idea when there will be a fix.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 20, 2012 9:56 AM   in reply to Paul Riggott

    Runs fine CS5 & X.6.8 here… I would suspect CS6

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points