problem with cel:url's

General discussion about Celestia that doesn't fit into other forums.
Topic author
derf53
Posts: 1
Joined: 04.06.2008
With us: 16 years 5 months

problem with cel:url's

Post #1by derf53 » 04.06.2008, 14:28

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.

Avatar
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 1 month
Location: Manassas, VA

Re: problem with cel:url's

Post #2by fsgregs » 18.06.2008, 12:41

Yes, this would be useful to know. I assume it is a registry edit, but where?

Could someone advise? :)

Frank

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: problem with cel:url's

Post #3by BobHegwood » 18.06.2008, 14:19

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

steffens
Posts: 162
Joined: 06.11.2003
With us: 21 years
Location: RP Germany

Re: problem with cel:url's

Post #4by steffens » 18.06.2008, 15:18

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

abramson
Posts: 408
Joined: 22.07.2003
With us: 21 years 4 months
Location: Bariloche, Argentina

Re: problem with cel:url's

Post #5by abramson » 19.06.2008, 18:11

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

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: problem with cel:url's

Post #6by BobHegwood » 19.06.2008, 18:52

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... :wink:
Didn't even notice that you had a web site. :roll:
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

abramson
Posts: 408
Joined: 22.07.2003
With us: 21 years 4 months
Location: Bariloche, Argentina

Re: problem with cel:url's

Post #7by abramson » 19.06.2008, 21:21

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

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Re: problem with cel:url's

Post #8by chris » 19.06.2008, 21:46

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

abramson
Posts: 408
Joined: 22.07.2003
With us: 21 years 4 months
Location: Bariloche, Argentina

Re: problem with cel:url's

Post #9by abramson » 19.06.2008, 21:54

Cool! Let's meet in Seattle on February 2011!
Guillermo

Alpha Jack
Posts: 1
Joined: 28.12.2008
With us: 15 years 10 months

Re: problem with cel:url's

Post #10by Alpha Jack » 28.12.2008, 07:44

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\""


Return to “Celestia Users”