How to set a Navbar to load just after Bridge stars?
Hi all
I´ve written a script to add 3 buttons to a top navbar. Running from Extended Script works perfectlly. However when adding this script to Bridge´s startup folder (to run it one Bridge opens)..then I get an erro. This could be because a script should wait until the loader finishes. But how I could tell Bridge to run this script after Bridge completes loading the panels???
Here´s the code:
var b = app.document.navbars.filesystem.bottom;
b.height = 50;
b.visible = true;
var b1 = b.add ("button",[0,0,0,0],"Button 1...");
b1.size = [200,30];
b1.location = [10,10];
var b2 = b.add ("button",[0,0,0,0], "Button 2...");
b2.size = [200,30];
b2.location = [230,10];
var b3 = b.add ("button",[0,0,0,0], "Button 3...");
b3.size = [200,30];
b3.location = [450,10];
---
Best Regards
Gustavo.
