Where to put Folder level JavaScripts on OS X?

I can't believe that I asked this question back in late June, a little over a month ago, but I finally found the answer and wanted to post it back for others to use. As I said in the original post, there is no documentation of this in any of the Acrobat help or JS Guide or Reference. This documentation only describes how it was with Mac OS's prior to version 10, in fact there is no mention any where of OS X.

First of all I wanted to thank George Johnson who put me on to the idea of using the creation of a global variable and then setting it to being persistent...

George Johnson 7/1/04 1:52pm </cgi-bin/webx?14@@.3bb4d223/7>

....this creates the the glob.js in the JavaScripts folder/directory and pretty much points the way to where to put your external .js files.

Also, today, I found a line of script in a copy of Kas Thomas's presentation at Seybold 2002 presentation, you can find that here...

<http://www.planetpdf.com/mainpage.asp?webpageid=1861>

Using this line of code...as an example in the console...

app.getPath("user", "JavaScript");




....generates this outcome...at least on a Mac OS 10.2.8...

/<your hard drive>/Users/<your user name>/Library/Acrobat User Data/JavaScripts/glob.js

Actually, I don't see why either of these methods wouldn't work for anyone on any platform or OS.

app.getPath();




This command will mislead you, at least on Mac OS X. It will deliver this path...

/<your hard drive>/Applications/Adobe Acrobat 6.0 Professional/Acrobat 6.0.2 Professional.app/Contents/MacOS/

....or you could hold down the Control key and click on the Acrobat Application, revealing the contents of the package but you definitely do not want to put your .js files here. I experimented with this on a separate hard drive, it was ugly when I tried to start up Acrobat.