<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Oct 29, 2010, at 6:05 PM, I.R. van de Stadt wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div class="hmmessage" style="font-size: 10pt; font-family: Tahoma; ">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></div></span></blockquote><div><br></div>Yup.</div><div><br></div><div>Paul R.</div><div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div class="hmmessage" style="font-size: 10pt; font-family: Tahoma; "><br>Anyway, I can now have a pieceful sleep (and a conference tomorrow)<br>Clear Skies!<br>Inge<br><br><hr id="stopSpelling">From:<span class="Apple-converted-space"> </span><a href="mailto:paul@ilanga.com">paul@ilanga.com</a><br>Date: Fri, 29 Oct 2010 16:28:51 -0700<br>To:<span class="Apple-converted-space"> </span><a href="mailto:apbeta@lists.astroplanner.net">apbeta@lists.astroplanner.net</a><br>Subject: Re: [APBeta] Export to HTML (was Re: Silence...)<br><br><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></span></blockquote></div><br></body></html>