cel/urls

All about writing scripts for Celestia in Lua and the .cel system
Topic author
guest

cel/urls

Post #1by guest » 05.12.2003, 21:12

Being a novice and obvious total idiot 8O at the .cel process, I need some assistance. If Im attempting to create a celurl how do I do this? I have followed the instructions in the Users Guide to no avail. I have tried to Ctrl-ins and Ctrl-c command but when I go in MS Word and either paste or Ctrl-v, it simply adds a copy of the solar.ssc into the document, not a link. I have also tried the use the hyper-link command in MS word but cannot seem to find the correct file to load. Any assistance would be helpful. :oops:

JackHiggins
Posts: 1034
Joined: 16.12.2002
With us: 22 years 1 month
Location: People's Republic Of Cork, Ireland

Post #2by JackHiggins » 05.12.2003, 21:45

Cel: url's don't work in Windows 98, if you have that... (You can load, but not save them)

Post your system specs & maybe we can figure out what's going wrong.
- Jack Higgins
Jack's Celestia Add-ons
And visit my Celestia Gallery too!

Topic author
guest

Post #3by guest » 05.12.2003, 22:12

Cel: url's don't work in Windows 98, if you have that... (You can load, but not save them)

Post your system specs & maybe we can figure out what's going wrong.

Bummer :cry: I do have Windows 98 SE. Shoots that project down in flames. Thanks for the info Jack.

JackHiggins
Posts: 1034
Joined: 16.12.2002
With us: 22 years 1 month
Location: People's Republic Of Cork, Ireland

Post #4by JackHiggins » 05.12.2003, 23:04

Aw... Sorry about that- i've got 98 SE myself too... :(
- Jack Higgins

Jack's Celestia Add-ons

And visit my Celestia Gallery too!

maxim
Posts: 1036
Joined: 13.11.2003
With us: 21 years 2 months
Location: N?rnberg, Germany

Post #5by maxim » 06.12.2003, 00:34

Ah, a new info to me... and remembers me of another question I had:

Has anybody ever got Netscape or Opera to accept cell://URLs?
Me not - they seem not to be able to extend their list of supported protocols.

maxim

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 4 months
Location: NY, USA

Post #6by selden » 06.12.2003, 00:59

I just tested Mozilla Firebird 0.7.

Cel://URLs work fine, both from a Web page and when cut-and-pasted into the URL window at the top.
Selden

maxim
Posts: 1036
Joined: 13.11.2003
With us: 21 years 2 months
Location: N?rnberg, Germany

Post #7by maxim » 06.12.2003, 22:44

With default settings?
Or did you change any options?

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 4 months
Location: NY, USA

Post #8by selden » 06.12.2003, 23:37

I always change lots of things, but nothing that should affect URL interpretation.
Selden

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 4 months
Location: NY, USA

Post #9by selden » 06.12.2003, 23:55

I just now ran Firebird 0.7 from an account that had never run it before, so it was using just the default settings.

It handled Cel://URLs just fine.

My first test was to go to the Web page http://www.lns.cornell.edu/~seb/celestia/gallery-001c.html and click on one of the URLs there. Celestia started and ran and showed me the appropriate picture.

My second test, while Celestia was still running, was to select Firebird's "view source" menu item. I selected and pasted a different URL into Firebird's URL window and then typed [Enter]. Celestia changed its viewpoint to the new location.

My third test was to exit Celestia and then to select Firebird again and type [Enter] again. This reused the URL that I'd previously pasted into the URL window. It restarted Celestia and showed the Viewpoint that had been selected for the second test.

QED.

System:
256MB 500MHz P3, WinXP Pro SP1
Windows Mozilla Firebird 0.7
128MB GF4 Ti4200, driver v. 44.03, OpenGL 1.4.0
Celestia v1.3.1pre11
Selden

maxim
Posts: 1036
Joined: 13.11.2003
With us: 21 years 2 months
Location: N?rnberg, Germany

Post #10by maxim » 13.12.2003, 13:16

selden wrote:QED
:D

So, now i had time to check it:

Testet IE,Opera,Mozilla and Netscape for three cases:
- Click on a cel:/URL link
- Paste a cel:/URL into adress line
- Checked mime-type recognition by typing 'C:\program files\celestia\demo.cel' into adress line

All testing under W2K. Please look at the order of testing!


IE: --link: ok --paste: ok --mime: ok

Mozilla: --link: ok --paste: ok --mime: shows scriptcode only

Opera: --link: no --paste: no --mime: no
always complains about 'unknown or non supported adress type'.

Netscape: --link: ok --paste: ok --mime: ok

Mozilla(again): --link: ok --paste: ok --mime: OK

Opera(again): --link: no --paste: no --mime: OK


So Netscape did some registration that IE already knew. After that, all others also recognized the mime type. I have no idea what kind of registration that was. And I would like to do that on my own control.

Any suggestions about the result?

maxim.

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 4 months
Location: NY, USA

Post #11by selden » 13.12.2003, 13:46

You might try to do a binary file comparison between a profile registry that works and one that doesn't.

(I don't use Opera, Netscape or the full Mozilla any more, except at work when I have to help someone who's using one of them. I alternate between IE and Firebird.)
Selden


Return to “Scripting”