Skip navigation
Currently Being Moderated

ID CS5 on Mac 10.5.8 can't run java scripts from User folder

Mar 27, 2012 7:23 AM

I seem to have a problem with my java scripts in ID on my Mac. I store them in my user scripts folder, but while I can run any applescripts in the folder, doubleclicking on any of the java scripts gets me exactly nothing. If I open the scripts in Extend Script Toolkit and run them from there, they will work, but I can't run them from within ID. The scripts in the Sample Script folder work. I've tried changing the script extentions, I've opened them in the toolkit and resaved them. Still no response at all when I doubleclick on them in the scripts panel. Any idea what could be wrong? I can run the same scripts from within ID on my Windows laptop, so I don't think the scripts themselves are at fault. In fact, I just moved them into the Sample scripts folder, and they run with no problem. Does the User script folder just not work?

 
Replies
  • Currently Being Moderated
    Mar 27, 2012 7:25 AM   in reply to E Diane King

    Have you tried trashing your prefs?

     
    |
    Mark as:
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Mar 27, 2012 7:26 AM   in reply to E Diane King

    Screenshot of your Scripts panel? What file extensions are you using? .jsx?

     
    |
    Mark as:
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Mar 27, 2012 8:05 AM   in reply to E Diane King

    I had some of both, I changed them all to .jsx.

    Both what? In any event, .jsx should work. Screenshot please!

     
    |
    Mark as:
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Mar 27, 2012 9:34 AM   in reply to E Diane King

    Not sure what a screenshot will tell you, but here you go.

    Well, I was hoping that the icon next to the scripts would be instructive.

    Apparently not, though!

     

    You said the same scripts work fine if you move them into the Application Scripts folder, specifically the Sample Scripts folder. I assume, then, that the sample scripts also break if moved to the User Scripts folder?

     

    Is your User Scripts folder (and thus your home directory) on a non-local (network) filesystem? Are the permissions on it wacky? If you Reveal In Finder it, and Get Info, do you see anything out of the ordinary?

     

    What if you delete it (err, move it aside) and recreate it?

     

    This seems pretty strange...

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 27, 2012 11:27 AM   in reply to E Diane King

    Have you tried reinstalling a Java Run Time environment on your Mac?

     
    |
    Mark as:
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Mar 27, 2012 11:39 AM   in reply to Larry G. Schneider

    Have you tried reinstalling a Java Run Time environment on your Mac?

    It certainly shouldn't matter...Java is not JavaScript, and I don't think you should be able to run InDesign at all without the Java runtime installed. Not that it does any harm to check...

     

    Diane, did you look at the permissions on the specific folder as I asked, with Get Info? Simply having administrator privileges on the machine is not sufficient to cure all manner of permission problems.

     
    |
    Mark as:
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Mar 29, 2012 11:27 PM   in reply to E Diane King

    So what happened when you moved a script?

    Any more information?

    What about using a different user account?

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 30, 2012 5:28 AM   in reply to E Diane King

    Have you tried deleting the user scripts panel folder and makeing a new one in that location, then putting your scripts back in that?

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points