Hello.
Long time no see
I making the cel script, "Control Key of Celestia.cel".
It made by Korean because I want to use many Korean use Celestia.
now, This script is pixed at Ver 0.3!
However, I get a bug about quickstart.
I want to start this script files in desktop. So I add a quick start file the same script.
and I run, but this window appear.
Can I get a workaround this problem?
Bug in the .Cel script
-
Topic authorfly_space
- Posts: 41
- Joined: 23.10.2008
- With us: 16 years 1 month
- Location: Seongnam, Korea
Bug in the .Cel script
KCU(Korean Celestia User)
http://blog.naver.com/wjdeogks18 (My Blog)
I wished to be a Developer, and I actually did.
I still want to be a poet, too
http://blog.naver.com/wjdeogks18 (My Blog)
I wished to be a Developer, and I actually did.
I still want to be a poet, too
Re: Bug in the .Cel script
All I am sure about is that the error message means that there is something wrong in the Target field of the shortcut.
I'm not sure how this translates into Korean, but the Windows XP U.S. English version of Celestia will run a script when Celestia starts if you specify a "url" in the Target field of a Celestia desktop shortcut.
The image below shows the shortcut Properties menu. This shortcut runs Celestia's demo script in fullscreen mode. The full text of the string in the Target field is
This assumes that the script is in the directory specified in the "Start in"" field.
I'm not sure how this translates into Korean, but the Windows XP U.S. English version of Celestia will run a script when Celestia starts if you specify a "url" in the Target field of a Celestia desktop shortcut.
The image below shows the shortcut Properties menu. This shortcut runs Celestia's demo script in fullscreen mode. The full text of the string in the Target field is
Code: Select all
"C:\Program Files\Celestia\celestia.exe" --fullscreen --url demo.cel
This assumes that the script is in the directory specified in the "Start in"" field.
Selden
-
Topic authorfly_space
- Posts: 41
- Joined: 23.10.2008
- With us: 16 years 1 month
- Location: Seongnam, Korea
Re: Bug in the .Cel script
Selden,
Ok. I understand your workaround a bit.
But I can't open shortcut properties windows. (I don't know...)
Could you teach me how open that?
and, I want to run the script which is in the way "C:\Program Files\Celestia\Extras\Control key of Celestia\Control key of Celestia" at the desktop's file. and then, Control Key of Celestia script is run at the screen mode, too.
In this case, what am I write command?
I'm so sorry to you.
Have a nice day ~
Ok. I understand your workaround a bit.
But I can't open shortcut properties windows. (I don't know...)
Could you teach me how open that?
and, I want to run the script which is in the way "C:\Program Files\Celestia\Extras\Control key of Celestia\Control key of Celestia" at the desktop's file. and then, Control Key of Celestia script is run at the screen mode, too.
In this case, what am I write command?
I'm so sorry to you.
Have a nice day ~
KCU(Korean Celestia User)
http://blog.naver.com/wjdeogks18 (My Blog)
I wished to be a Developer, and I actually did.
I still want to be a poet, too
http://blog.naver.com/wjdeogks18 (My Blog)
I wished to be a Developer, and I actually did.
I still want to be a poet, too
Re: Bug in the .Cel script
Use the rightmost mouse button:
Put cursor on Celestia icon
Hold down right mouse button
Drag icon to new location
Release right mouse button
A new popup menu appears
Select "Create shortcuts here"
A new icon appears at the new location (The old icon is unchanged)
Put cursor on new Celestia icon
Click right mouse button (do not hold down)
A new popup menu appears
Select Properties (at the bottom of the new menu)
In the Target field, enter
Notes:
1. The "extras" directory name is not capitalized: it is spelled "extras" not "Extras"
2. the .cel filetype is required at the end.
3. Separate quotes are needed around the "url" name because of the spaces.
Suggestion: Rename the folder and the file. Replace the spaces (" ") by underscore ("_") so no quotes are needed.
Put cursor on Celestia icon
Hold down right mouse button
Drag icon to new location
Release right mouse button
A new popup menu appears
Select "Create shortcuts here"
A new icon appears at the new location (The old icon is unchanged)
Put cursor on new Celestia icon
Click right mouse button (do not hold down)
A new popup menu appears
Select Properties (at the bottom of the new menu)
In the Target field, enter
Code: Select all
"C:\Program Files\Celestia\celestia.exe" --url "extras\Control key of Celestia\Control key of Celestia.cel"
Notes:
1. The "extras" directory name is not capitalized: it is spelled "extras" not "Extras"
2. the .cel filetype is required at the end.
3. Separate quotes are needed around the "url" name because of the spaces.
Suggestion: Rename the folder and the file. Replace the spaces (" ") by underscore ("_") so no quotes are needed.
Code: Select all
"C:\Program Files\Celestia\celestia.exe" --url extras\Control_key_of_Celestia\Control_key_of_Celestia.cel
Selden
-
Topic authorfly_space
- Posts: 41
- Joined: 23.10.2008
- With us: 16 years 1 month
- Location: Seongnam, Korea
Re: Bug in the .Cel script
Selden,
Thanks! I made a Quick start this script!
But, Some error is still appeared. When I run this quick start icon , open Celestia window and roading files.
Thereupon, this window was opened.
At this time, quick start icon's target field command is here.
When this window appeared, I thought This file maybe have wrong command.
Above code, '~~ --url extras ~~~'. So I amend code like this.
Thereupon, This window appeared.
This error command wasn't understood to me. Maybe, This error command is Unicode command.
But, I don't know what this error's workaround. I'm sorry. but Help me, please!
Thanks! I made a Quick start this script!
But, Some error is still appeared. When I run this quick start icon , open Celestia window and roading files.
Thereupon, this window was opened.
At this time, quick start icon's target field command is here.
Code: Select all
"C:\Program Files\Celestia\celestia.exe" --url extras\Control_key_of_Celestia\Control_key_of_Celestia.cel"
When this window appeared, I thought This file maybe have wrong command.
Above code, '~~ --url extras ~~~'. So I amend code like this.
Code: Select all
"C:\Program Files\Celestia\celestia.exe" --url "extras\Control_key_of_Celestia\Control_key_of_Celestia.cel"
Thereupon, This window appeared.
This error command wasn't understood to me. Maybe, This error command is Unicode command.
But, I don't know what this error's workaround. I'm sorry. but Help me, please!
KCU(Korean Celestia User)
http://blog.naver.com/wjdeogks18 (My Blog)
I wished to be a Developer, and I actually did.
I still want to be a poet, too
http://blog.naver.com/wjdeogks18 (My Blog)
I wished to be a Developer, and I actually did.
I still want to be a poet, too
Re: Bug in the .Cel script
Your first attempt had an extra quote at the end. If you delete the quote, it should work.
should be
Code: Select all
"C:\Program Files\Celestia\celestia.exe" --url extras\Control_key_of_Celestia\Control_key_of_Celestia.cel"
should be
Code: Select all
"C:\Program Files\Celestia\celestia.exe" --url extras\Control_key_of_Celestia\Control_key_of_Celestia.cel
Selden
-
Topic authorfly_space
- Posts: 41
- Joined: 23.10.2008
- With us: 16 years 1 month
- Location: Seongnam, Korea
Re: Bug in the .Cel script
Selden,
Thanks for your advise. but This problem still appeared.
And, I around Celestia folder and cel files,
All cel scripts were appeared This window -> 'Invlid command line option "(File's course)"'
when I ran demo.cel script, This window appeared.
and I ran guide.cel script, this window appeared, too.
Thanks for your advise. but This problem still appeared.
And, I around Celestia folder and cel files,
All cel scripts were appeared This window -> 'Invlid command line option "(File's course)"'
when I ran demo.cel script, This window appeared.
and I ran guide.cel script, this window appeared, too.
KCU(Korean Celestia User)
http://blog.naver.com/wjdeogks18 (My Blog)
I wished to be a Developer, and I actually did.
I still want to be a poet, too
http://blog.naver.com/wjdeogks18 (My Blog)
I wished to be a Developer, and I actually did.
I still want to be a poet, too
Re: Bug in the .Cel script
I'm sorry, but if demo.cel doesn't work, there is something wrong that I don't understand. (I used demo.cel to test the instructions that I provided.)
Maybe someone else can help who is familiar with the configuration used for Asian locales.
Maybe someone else can help who is familiar with the configuration used for Asian locales.
Selden
-
Topic authorfly_space
- Posts: 41
- Joined: 23.10.2008
- With us: 16 years 1 month
- Location: Seongnam, Korea
Re: Bug in the .Cel script
Selden,
Hmm. OK!
Thanks for your help
Cheers,
fly_space
Hmm. OK!
Thanks for your help
Cheers,
fly_space
KCU(Korean Celestia User)
http://blog.naver.com/wjdeogks18 (My Blog)
I wished to be a Developer, and I actually did.
I still want to be a poet, too
http://blog.naver.com/wjdeogks18 (My Blog)
I wished to be a Developer, and I actually did.
I still want to be a poet, too
Re: Bug in the .Cel script
Hello,
Fly_space, your command line for your script is now correct and your script is lauched correctly. The message "Fatal Error" denotes an error in your cel script.
The error when you try to lauch guide.cel or demo.cel is a command Line Error because you have specified an absolute path on the disk D: without quotes. Don't bother with that.
The only thing you have to do is to correct your cel script. It is often a curve bracket missing.
Good luck
Fly_space, your command line for your script is now correct and your script is lauched correctly. The message "Fatal Error" denotes an error in your cel script.
The error when you try to lauch guide.cel or demo.cel is a command Line Error because you have specified an absolute path on the disk D: without quotes. Don't bother with that.
The only thing you have to do is to correct your cel script. It is often a curve bracket missing.
Good luck