This content has been marked as final.
Show 3 replies
-
1. Re: JS CS3 app.notifiersEnabled on startup.
Michael L Hale Apr 10, 2011 6:29 PM (in response to John.Kordas)As I understand it the scripts in the photoshop startup scripts folder are run by other Adobe app for cross DOM reasons.
You might try wrapping you code like this so it is only run by Photohsop.
if (BridgeTalk.appName != "photoshop"){ app.notifiersEnabled = true; var eventFile = new File(app.path +"/Presets/Scripts/Event Scripts Only/myScript.jsx"); app.notifiers.add("Opn ", eventFile); } -
2. Re: JS CS3 app.notifiersEnabled on startup.
John.Kordas Apr 10, 2011 6:40 PM (in response to Michael L Hale)Thanks Michael,
I had a look at the photshop-10.jsx file and noticed that it has some BridgeTalk so I tried
if (BridgeTalk.appName == "photoshop"){after my post and it seemed to work.
if (BridgeTalk.appName != "photoshop"){( != )does not seem to work. Looks like this might be the answer.
Much appreciated.
-
3. Re: JS CS3 app.notifiersEnabled on startup.
Michael L Hale Apr 10, 2011 6:47 PM (in response to John.Kordas)Yeah you are right. It should be ==



