Patrick,

yes, you understand it correctly now. You can take a look at my website:

http://occult.tungstentech.com

You'll see asteroid occultations listed. I would like to add a link to 
each row that, when clicked, starts CdC and shows the correct star at 
the specified time. Comparable to how it works with Google Earth (GE) 
files (KML) with Firefox. In that case a file gets downloaded that is 
associated with GE and the KML is added to the current display. In the 
case of CdC it would be nice if a new chart was loaded.

I see three solutions:
- CdC can be started with arguments like you said
- CdC can be started with a script file or pruned chart file
- I write a small program that reads a script file that gets interpreted 
and sent to CdC via sockets.

In the first two cases it would be nice if CdC recognizes that it's 
already running and opens a new chart just like Excel would.

The third option shouldn't be hard to implement though, I may do that 
once I get my Perl script running.

Thanks,

    Sander

Patrick Chevalley wrote:
>
> Sander,
>
> Sorry, I not understand your request at first. I think you want to 
> generate
> bitmap chart to put on your web page but what you want is to launch CdC
> locally when you click on some link on your page. Right ?
>
> This is not possible with the V3 at the moment because it not accept any
> command line argument. I have a Mantis report to remember to do that.
> But in your case calling a local executable from a browser script is 
> not a
> recommended way.
>
> Ideally CdC must react to some kind of URI, something like
> cdc:chartname&date=2007-01-29T23:30:00&...
> This can be added in the future.
>
> Just in case someone is interested to generate a lot of bitmap chart 
> from a
> list of target I put a perl script on the group file section. Look for
> chartlist.zip at
> http://tech.groups.yahoo.com/group/skychart-discussion/files/ 
> <http://tech.groups.yahoo.com/group/skychart-discussion/files/>
> The list of target is a tab separated file, it contain the date and 
> the name
> of the object. It is easy to add more attribute if required.
>
> Please use today CdC snapshot as I correct the settz and setdate issues.
>
> Patrick
>
>  

Reply via email to