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?
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...
The User folder is in its default installed position on the local harddrive and I have admin privileges on the computer. I agree with you that this is strange. That's the very reason I posted on the forum. I just can't figure out why the scripts won't work. I'm going to try moving over one of the sample scripts over, but I'm pretty sure it won't work once in that folder.
Have you tried reinstalling a Java Run Time environment on your Mac?
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.