Mouse events listener
Copy link to clipboard
Copied
I'm having trouble listening for mouse events in Bridge CS6.
This example script works well in Photoshop and Toolkit, but not in Bridge:
var w =new Window ("dialog");var b = w.add ("button", undefined, "Qwerty");b.addEventListener("click", function (k){whatsup (k)});function whatsup (p){ if(p.button == 2){ $.writeln ("Right-button clicked.") } if(p.shiftKey){ $.writeln ("Shift key pressed.") } $.writeln ("X: "+ p.clientX); $.writeln ("Y: "+ p.clientY);}w.show ();
Other event types like resize or focus work well.
The event types that seem to be broken are: mousedown, mouseup, mouseover, mouseout, click
Is there a work-around to this problem?
Copy link to clipboard
Copied
Paul told me a lot was broken in bridge CS6.
I never went past CS5 because of this.
I think the not bothering with fixes helped drive him away...
If you can't find the answer in one of his d posts then don't hold your breath...
Sent from my iPhone
Copy link to clipboard
Copied
Thanks, looks like I'm rolling back to CS5.5 ...
Copy link to clipboard
Copied
I know Paul had issues but you just don't see anything about what's fixed and when.
Sorry I don't have good news but this forum is very low traffic. Someone else on newer may pop by...?
Sent from my iPhone
Copy link to clipboard
Copied
Bridge CS6 framework has several bugs that will be never more updated.
Mouse listeners is only one of them. On Bridge scriptUI they do not work
I don't use CS5.
Copy link to clipboard
Copied
Pedro, are you now using cc bridge?
Has anything been fixed...?
Im long overdue moving up...
but I can't afford to be doing one forward two back.
Copy link to clipboard
Copied
Only the video edition team is using CC.
We tried 2 times, on May and July to install 1 PC with CC and the apps (Photoshop and Bridge included) crashed several times.
CS6 still is more stable.
For my surprise, 90% of the code we have developed still works on photoshop/Bridge and now we are installing our 'private' company cloud network so my team will be editing also the photos from US on real time.
Recently I have had success in discovering simple tricks regarding Bridge that anyone needs or uses, but crucial to hard workflows like the one we have.
In that sense, may be next season we will be able to upgrade to cloud CC
We'll see…

