Planet X
add information here:
Running:
Setting Up Stereo:
Datasets :
Bob Jenkins
http://www.burtleburtle.net/bob/physics/solar.html
Scripting :
From: Dan Treiman
Date: 24 February 2007 05:04:25 GMT
I mentioned that Planet X is OSA scriptable. This means that you can control it using any OSA language (javascript and applescript are two examples)
I've attached one of my applescript demos to illustrate how it works.
To try it out, open ExampleScript.applescript, and replace the file path with the path of your "Meeus's Solar System.xml"
Open a shell, and cd to a directory containing this script
Make sure Planet X is NOT already running, then type
osascript ExampleScript.applescript
You can do this from within a shell script as well.
Alternatively, there is a quick and unix-y way to open a file as well. From the directory where the app resides, you can launch it from the command line like this:
"Planet X.app"/Contents/MacOS/"Planet X" -NSOpen fileName &
Where fileName is the path of an input file
hope that all made sense...
-DT
Use with Present3D :
Comments (0)
You don't have permission to comment on this page.