Page 1 of 1
problem with cel:url's
Posted: 04.06.2008, 14:28
by derf53
When I installed Celestia I didn't tell it to associate cel:url's with Celestia. Is there any way to do it now?
I would prefer to avoid uninstalling and reinstalling Celestia.
Re: problem with cel:url's
Posted: 18.06.2008, 12:41
by fsgregs
Yes, this would be useful to know. I assume it is a registry edit, but where?
Could someone advise?
Frank
Re: problem with cel:url's
Posted: 18.06.2008, 14:19
by BobHegwood
Don't know about other operating systems, but you can simply right-click on any object in Vista's Windows Explorer. Next, click "properties" and then you can use the "change" button to associate the object (a CEL script for example) with Celestia in this case. I know that doesn't exactly refer to a URL, but can't you do something similar as long as the object is a CELurl?
Re: problem with cel:url's
Posted: 18.06.2008, 15:18
by steffens
You would have to place something like this in a .reg file and import it into the registry:
Code: Select all
REGEDIT4
[HKEY_CLASSES_ROOT\cel]
@="URL:cel Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\cel\shell]
[HKEY_CLASSES_ROOT\cel\shell\open]
[HKEY_CLASSES_ROOT\cel\shell\open\command]
@="\"C:\\Program Files\\Celestia\\celestia.exe\" \"%1\""
The last line is calling Celestia with the URL, but the syntax is most probably not correct as it is written here. I don't know out of my head, what option must be given to celestia.exe to specify a cel:url, so take this as a receipe, not a finished solution.
steffens
Re: problem with cel:url's
Posted: 19.06.2008, 18:11
by abramson
In my page I keep detailed instructions about this, that I downloaded years ago from who knows where. Find it near the end at
http://cabfst28.cnea.gov.ar/abramson/celestia.
Guillermo
Re: problem with cel:url's
Posted: 19.06.2008, 18:52
by BobHegwood
Hey, thanks very much for that resource Guillermo...
Didn't even notice that you had a web site.
Re: problem with cel:url's
Posted: 19.06.2008, 21:21
by abramson
Welcome. That's the Celestia part, which I keep mostly for myself. Go up and you have the rest, mostly professional, papers and such, but also with an album of my astrophotography (mostly in Spanish, though), sculptures, photos... I have been keeping a webpage since 1998, ten years now! That was the infancy of the web. But nobody called it the web, it was the World Wide Web, in full. Celestia didn't exist, of course. There was something called Open Universe, I believe. Anybody knows the birthday of Celestia?
Cheers,
Guillermo
Re: problem with cel:url's
Posted: 19.06.2008, 21:46
by chris
abramson wrote: There was something called Open Universe, I believe. Anybody knows the birthday of Celestia?
That's a little fuzzy . . . I wrote the first lines of code for Celestia in late 2000, but most of that was actually part of another project. The SourceForge project was opened on Feb 24, 2001, but the first version was actually released about two weeks before that. The date on celestia.exe in the first release archive (celestia100.zip--still available on shatters
) is Feb 9, 2001--I suppose that could be considered the birthday, since I know that I announced Celestia on that same day.
--Chris
Re: problem with cel:url's
Posted: 19.06.2008, 21:54
by abramson
Cool! Let's meet in Seattle on February 2011!
Guillermo
Re: problem with cel:url's
Posted: 28.12.2008, 07:44
by Alpha Jack
Confirmed... this worked on XP and Win2000.
Change the F: to your installation drive.
Copy/paste the code into asso_cel_url.reg (or any .reg file).
Open/Run it.
--------------------------------------------------------------------------------------
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\cel]
@="URL:cel Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\cel\Shell]
@=""
[HKEY_CLASSES_ROOT\cel\Shell\open]
@=""
[HKEY_CLASSES_ROOT\cel\Shell\open\Command]
@="\"F:\\Program Files\\Celestia\\celestia.exe\" --once --dir \"F:\\Program Files\\Celestia\" -u \"%1\""