Home > Default > JS CS3 app.notifiersEnabled on startup.

JS CS3 app.notifiersEnabled on startup.

October 11Hits:0
Advertisement
I know I can use the Script Events Manger to enable or disable scripts, but so can any user.  What I would like to do is have a startup script ensure myScript.jsx is always enabled and assigned to the open file event.
using:
#target photoshop
app.notifiersEnabled = true;
var eventFile = new File(app.path +"/Presets/Scripts/Event Scripts Only/myScript.jsx");
app.notifiers.add("Opn ", eventFile);
and placing it in the C:\Program Files\Common Files\Adobe\Startup Scripts CS3\Adobe Photoshop folder all is well. If I go into Photoshop disable the "Enable Events to Run Scripts/Actions:" option and close and reopen Photoshop the option is enabled by default.
The problem is if I start up In Design (or any other CS3 app) I get the following error:
Why would other application access the C:\Program Files\Common Files\Adobe\Startup Scripts CS3\Adobe Photoshop folder?
Startup Script CS3\Adobe Photoshop to me means only Photoshop will access this folder.
Is there a way to ensure app.notifiersEnabled = true on Photoshop startup?
Cheers, John.

Answers

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.

Read other 4 answers

Tags:

Related Articles

  • JS CS3 app.notifiersEnabled on startup.October 11

    I know I can use the Script Events Manger to enable or disable scripts, but so can any user.  What I would like to do is have a startup script ensure myScript.jsx is always enabled and assigned to the open file event. using: #target photoshop app.not

  • 10.5.2 and CS3 conflicts: all CS3 apps wont openNovember 30

    The install of 10.5.2 has rendered every one of my CS3 apps bricked on startup. None of them will load. I see that other people seem to be having similar problems. If there is anyone that is able to resolve this issue it would be greatly appreciated.

  • CS3 InDesign & Illustrator Install Exit Code 7; Other CS3 Apps Install FineOctober 11

    I feel like I'm beating a dead horse... (no offence to horse lovers out there - it's just an expression) I'm having trouble performing an silent install of the CS3 suite from a network share on Windows 7.  I've read through a number of posts on here,

  • Creative Cloud (app) crashes on startup after updateOctober 11

    After the last update (which probably went wrong), creative cloud application (the menubar app) crashes on startup. I've tried uninstalling (uninstaller stalls) and running Creative Cloud Cleanup Tool but to no avail. Below I've included  an excerpt

  • Can I Copy CS3 Apps from One Mac to Another and Make them Work?October 11

    First off, I KNOW how this sounds at first blush. I am NOT trying to violate the EULA. I have legitimate serials for Creative Suite 3. HOWEVER I'm in a position where my new Mac will not allow me to install CS3 from the disks or DMGs made from them.

  • CS3 Force Close on Startup after Mavericks update.October 11

    I've gone through a few forums and followed instructions to un-install and re-install my photoshop, also to update my Java, and when opening photoshop, holding command/option/shift.  Nothing is working!  I miss drawing with my wacom tablet on my othe

  • Photoshop CS3 Mac: Crashes on startup?November 30

    2007.05.26 Adobe Forum Photoshop CS3 Mac: Crashes on startup? Hi all! I just today installed CS 3 Web Premium on my G5 (Dual 2.7GHz, 2GB RAM, Mac OS 10.4.9, all updates installed). The install seems to succeed, and I've activated the suite, and all t

  • AIR and other CS3 appsNovember 30

    I thought I read something when the AIR 1.1 upgrade came out about being able to work with other installed CS3 apps on the system. I can't seem to find anything about that now, but I would like to find out specifically how it's done and what is possi

  • HT201407 Where did all app's on startup go, after reseting to factory and restrarting the iphone3g 8gbNovember 30

    Where did all app's on startup go, after reseting to factory and restrarting the iphone3g 8gbWhere did all app's on startup go, after reseting to factory and restrarting the iphone3g 8gbRead other 7 answers

  • CS3 apps stall on shutdownNovember 30

    Whenever I shutdown my Mac, the Adobe CS3 apps almost always time out. I've taken to quitting them individually prior to shutdown, and even then, I usually end up having to force quit them. They are very stable while they are running...just not when

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.847 s.