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.
problem with cel:url's
Re: problem with cel:url's
Yes, this would be useful to know. I assume it is a registry edit, but where?
Could someone advise?
Frank
Could someone advise?
Frank
-
- Posts: 1803
- Joined: 12.10.2007
- With us: 17 years 1 month
Re: problem with cel:url's
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?
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
Re: problem with cel:url's
You would have to place something like this in a .reg file and import it into the registry:
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
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
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
Guillermo
-
- Posts: 1803
- Joined: 12.10.2007
- With us: 17 years 1 month
Re: problem with cel:url's
abramson wrote: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
Hey, thanks very much for that resource Guillermo...
Didn't even notice that you had a web site.
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
Re: problem with cel:url's
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
Cheers,
Guillermo
-
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 9 months
- Location: Seattle, Washington, USA
Re: problem with cel:url's
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
Cool! Let's meet in Seattle on February 2011!
Guillermo
Guillermo
-
- Posts: 1
- Joined: 28.12.2008
- With us: 15 years 10 months
Re: problem with cel:url's
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\""
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\""