<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
You're the best Paul<br>Ah, I kinda figured it out<br><br>path="C:\Mijn Web paginas\Waarnemen\images\"+ob.ID+"chart.png"<br>printed=c.SaveAsImageFile(path, True)<br><br>in the PrintFinderCharts-modd.<br><br>The function Image.Save will be in the next release, right?<br><br>Anyway, I can now have a pieceful sleep (and a conference tomorrow)<br>Clear Skies!<br>Inge<br><br><hr id="stopSpelling">From: paul@ilanga.com<br>Date: Fri, 29 Oct 2010 16:28:51 -0700<br>To: apbeta@lists.astroplanner.net<br>Subject: Re: [APBeta] Export to HTML (was Re: Silence...)<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML"><br><div><div>On Oct 29, 2010, at 2:31 PM, I.R. van de Stadt wrote:</div><br class="ecxApple-interchange-newline"><blockquote><span class="ecxApple-style-span" style="border-collapse: separate; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"><div class="ecxhmmessage" style="font-size: 10pt; font-family: Tahoma;">Hi all,<br>I'm slowly getting there.<br><br><a href="http://web.inter.nl.net/users/stadt/leenkijker/waarneemsuggesties.xml" target="_blank">http://web.inter.nl.net/users/stadt/leenkijker/waarneemsuggesties.xml</a><br><br>I wish I could write a script that would save the DSS images (or the canvas) to a specific directory on disk (to be uploaded to an FTP server)<br>Is that at all possible?<br><br>I've included my plan, xml (still manually adapted somewhat), export xml parameter textfile,<br>(fovimage field manually for a few records: the corresponding images are also put in manually in the corresponding directory /images),<span class="ecxApple-converted-space"> </span><br>xsl and css.<br><br>I hope Paul would help me (us) out<br></div></span></blockquote></div><br><div>Well, I have added </div><div><br></div><div>function Image.Save(path as string = "") as boolean</div><div><br></div><div>(saves the image in a file with the given path)</div><div><br></div><div>together with:</div><div><br></div><div>function APPlanObject.Images() as Image()</div><div>function APCatalogObject.Images() as Image()</div><div>function APObservation.Images() as Image()</div><div><br></div><div>(all return a list of images for the object type)</div><div><br></div><div>Will that do the trick for you?</div><div><br></div><div>Paul R.</div><div><br></div><br>_______________________________________________
APBeta mailing list
APBeta@lists.astroplanner.net
http://lists.astroplanner.net/listinfo.cgi/apbeta-astroplanner.net </body>
</html>