% % run the Adobe Bridge CC application % % delay in ticks after detection of Bridge window class % bridge comm existence is already false % 2 !standoff 1000 !Bridge.Out false !Bri.Started % % clear two-way file comm % "Base_*.*" photon delfiles "Desk_*.*" photon delfiles % % signal the PhoDesk panel created on Bridge startup % "|Startup|" "DeskBridge.txt" photon write % % check for Bridge currently running % *brigrung _Bridge zero { % % Bridge is not running, start it % % the events generated from the PhoDesk.jsx startup script % should guide the Bridge startup process % "Adobe\" &_Bridge.CCname &"\Bridge.exe" "ProgramFiles" File.Special "\..\Program Files\" catpref % % run normally without focus % quoter *runsnorm true !Bri.Started "Bridge is starting, please wait . . ." *phocsink 4 !standoff } if