Creating new hotkeys in Celestia (v 1.4)

General discussion about Celestia that doesn't fit into other forums.
Topic author
jeff@nasaames
Posts: 5
Joined: 03.02.2006
With us: 18 years 9 months
Location: NASA Ames Exploration Center

Creating new hotkeys in Celestia (v 1.4)

Post #1by jeff@nasaames » 09.02.2006, 20:34

Is there a way to create new hotkeys in Celestia? I have created a couple of tours (or at least tried), but the only way I know to launch them is really obtrusive (you have to use dialog boxes, etc.). I want to create hotkeys for them, so I can launch them as transparently as possible.

Help...

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #2by selden » 09.02.2006, 21:21

Jeff,

CELX scripts can define key bindings.

See http://en.wikibooks.org/wiki/Celestia:A ... _with_CELX

p.s.
You might take a look at the postings in the Scripting Forum:
http://www.celestiaproject.net/forum/viewforum.php?f=9

pps.

Another way to launch scripts is to have them in a directory window -- just click on their icons
Selden

Malenfant
Posts: 1412
Joined: 24.08.2005
With us: 19 years 3 months

Post #3by Malenfant » 09.02.2006, 23:29

selden wrote:Another way to launch scripts is to have them in a directory window -- just click on their icons


Don't you have to select them and then press OK to get them to work? I thought doubleclicking didn't run them properly.
My Celestia page: Spica system, planetary magnitudes script, updated demo.cel, Quad system

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #4by dirkpitt » 10.02.2006, 02:28

Malenfant wrote:
selden wrote:Another way to launch scripts is to have them in a directory window -- just click on their icons

Don't you have to select them and then press OK to get them to work? I thought doubleclicking didn't run them properly.


celx, cel script double-clicking should work, at least on OS X. Have you tried again on recent builds?


Return to “Celestia Users”