Page 1 of 1
Opening txt files with the InfoURL parameter (but not .exe)
Posted: 12.10.2023, 07:14
by EarthMoon
I have just found a hidden feature: You can specify the path to a .txt file (and maybe some other document types) in the InfoURL parameter (but not to .exe files and maybe also other scripts). This means you can provide descriptions about objects in .txt format and display it upon a click on InfoURL
Posted: 12.10.2023, 08:49
by onetwothree
This works for windows only.
Posted: 12.10.2023, 21:57
by SevenSpheres
It doesn't work for me on Windows, though it obviously worked at one time since the old Ran addon (developed on macOS/1.5.0, I think) has InfoURLs pointing to local html files and celx scripts.
Posted: 13.10.2023, 08:11
by EarthMoon
You need to put file:///X:/path/to/file.txt for it to work, not just X:/path/to/file.txt, it would handle it as a protocol called X: (like cel:// or
https://, so you need to put file:/// to tell Celestia it should open a FILE)
Posted: 13.10.2023, 15:28
by SevenSpheres
I tried that. It doesn't work for me.
Posted: 13.10.2023, 16:13
by EarthMoon
As it seems to work only for some people, this feature isn't really useful ...
Posted: 14.10.2023, 07:27
by onetwothree
Celestia uses built-in windows functions to open urls, so it all depends on your windows.
Posted: 16.10.2023, 04:09
by TheLostProbe
might be a Windows 11 thing that wasn't backported to 10