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.
I am using a little snippet of mine to get this thing going and the ok and cancel buttons are not working. I was wondering if anyone could shed some light on this for me.
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();
This works in InDesign.
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();
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.