using scripts
-
Topic authorguest
using scripts
hey i am new to this thing.. can somebody help me how to use the scripts ? I am not able to open th efiles with .ssc extension.. and the .cel files are appearing with Qtime .... I am kind of lost..
Kendrix wrote:just drag'n'drop them in your favourite text editor : notepad, ultraedit, etc...
Not too helpful for the REAL novice -- drag'n'drop what? Does Celestia have a "learn mode" such that you can walk the program through a program ("script") and save each step to a Notepad .cel file as you go? Or do you just use the list of scripting commands to type up your own script file in Notepad, etc., or other??
Parker
Parker (and others),
It's probably easiest to start Wordpad first and edit the file instead
of selecting the file first and hoping Windows will do the right thing.
One way to start Wordpad is to open Windows' main "Start" menu and select the "Run..." option. In the popup window's "Open" field, type "Wordpad" (without the quotes). Then select "OK".
To edit a file, select Wordpad's "File" menu and select its option "Open...". In the "Open" popup menu, choose "files of type" "All Documents (*.*)" which is down at the bottom if its menu. Still using Wordpad's "Open" menu window, browse to the appropriate Celestia directory folder. Select (double-click on) the file you want to edit. When you're finished changing it, you can select in the File menu either "Save" to overwrite the previous version or "Save As..." to write out a new file.
Unfortunately, the file name extensions (also known as "filetypes") that are used by Celestia are the same as are used by some other applications. This confuses Windows: if you double-click on those files, Windows will run the wrong helper program. There are ways to change the file associations, but they differ in the different versions of Windows.
Fortunately, the files used by Celestia that you need to edit (or create) are all just plain text files. Instead of starting with the file, you should start with the program you want to use to edit the files. I suggest using Wordpad, since it's on all Windows systems and works with Unix text files. Some of the text files supplied by the authors of various add-ons for Celestia separate lines by just a line-feed character. That's the standard line separator for Unix text files. Notepad doesn't cope with that very well, but Wordpad has no problems with it.
I hope this helps a little.
It's probably easiest to start Wordpad first and edit the file instead
of selecting the file first and hoping Windows will do the right thing.
One way to start Wordpad is to open Windows' main "Start" menu and select the "Run..." option. In the popup window's "Open" field, type "Wordpad" (without the quotes). Then select "OK".
To edit a file, select Wordpad's "File" menu and select its option "Open...". In the "Open" popup menu, choose "files of type" "All Documents (*.*)" which is down at the bottom if its menu. Still using Wordpad's "Open" menu window, browse to the appropriate Celestia directory folder. Select (double-click on) the file you want to edit. When you're finished changing it, you can select in the File menu either "Save" to overwrite the previous version or "Save As..." to write out a new file.
Unfortunately, the file name extensions (also known as "filetypes") that are used by Celestia are the same as are used by some other applications. This confuses Windows: if you double-click on those files, Windows will run the wrong helper program. There are ways to change the file associations, but they differ in the different versions of Windows.
Fortunately, the files used by Celestia that you need to edit (or create) are all just plain text files. Instead of starting with the file, you should start with the program you want to use to edit the files. I suggest using Wordpad, since it's on all Windows systems and works with Unix text files. Some of the text files supplied by the authors of various add-ons for Celestia separate lines by just a line-feed character. That's the standard line separator for Unix text files. Notepad doesn't cope with that very well, but Wordpad has no problems with it.
I hope this helps a little.
Selden