I'm trying to get J (installed on my iMac) to load/run a J-script by double-clicking it.
I've followed the instructions in: http://www.jsoftware.com/jwiki/Guides/Auto%20Start (...which I note is designed for J601 and so may well be out of date, the wiki page last having been updated 2008-12-08). It has however installed a new app: "J Launcher.app", which Mac OS X (Snow Leopard) does indeed execute whenever an IJS file is double-clicked. However although it appears to launch (the finder doing the appropriate visual-effect), it exits immediately without running the IJS file in question. The same thing happens when J Launcher.app itself is double-clicked. I must stress that the IJS files I've tried are "launchable", i.e. when run from the J Menu: Run they show a working GUI form. Furthermore I've inserted a line in my startup.ijs to load a debugged test-script -- and whenever J starts it does indeed cause its GUI form to appear. I'd guess it ought to do this whenever J Launcher.app launches J (if it does), even if it couldn't then find the IJS file I'd double-clicked, or run it correctly? Or doesn't J Launcher.app cause startup.ijs to be loaded? Is there a j602 version of J Launcher.app? Can it be easily updated? Or is it a Snow Leopard problem? It is possible to see inside the app like a normal folder. When I do that I see a script file: /Contents/Resources/Scripts/main.scpt When I open it I see it contains the string: "j601" in 2 places. I've tried changing them to "j602" and saving back, just in case it's as simple as that. But it isn't. Ian Clark ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm