Kludge is unfortunately a good description ...

SendKeys isn't the most reliable technique.

However, maybe the ezthumbs thing has more options than just 
thumbnails.

--- In [email protected], "dingo" <[EMAIL PROTECTED]> wrote:
>
> This page has some ideas for "kludges":
>  
> http://www.codecomments.com/archive299-2004-12-351323.html
>  
> d
> 
> 
>   _____  
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] 
On Behalf
> Of dingo
> Sent: Tuesday, March 07, 2006 10:57 AM
> To: [email protected]
> Subject: RE: [amibroker] jScripts to produce and save PNG plots.
> 
> 
> that was an interesting conversation "we" had...
>  
> Now that you've RTFM   I'm sorry to report that I know of no easy 
way to do
> what you want via a script.
>  
> What is the end goal for the image? If its to display for someone 
you could:
>  
> send the image along with an html that will resize it before it 
displays.
> Something like this:
>  
> <html>
> <head>
> <meta http-equiv="Pragma" content="no-cache">
> <meta http-equiv="expires" content="0">
> <meta http-equiv="cache-control" content="no-cache">
> <meta http-equiv="refresh" content="60">
> </head>
> <Body>
> <BODY TEXT="#FFFFFF" LINK="#0000FF" VLINK="#800080" ALINK="#C000C0"
> BGCOLOR="#000000">
> <div align="center"><img
> src="http://files.wtoc.com/weather/radar/dopplermax.jpg"; 
width="546"
> height="385">
> 
> The last line has the path for the image (could be a diskfile) and 
the width
> and height thingys give the resultant image dimensions.
>  
> d
> 
> 
>   _____  
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] 
On Behalf
> Of Joe Landry
> Sent: Tuesday, March 07, 2006 8:57 AM
> To: [email protected]
> Subject: Re: [amibroker] jScripts to produce and save PNG plots.
> 
> 
> For those of you bored with this trail, sorry, hit delete.  The 
method does
> save the image but still need 
> image size adjustments.
>  
> Apologize for not testing it first before asking questions, but 
any help
> would be appreciated/ 
>  
>   AB.ActiveWindow.ExportImage("Test.png");    
>  
> Best regards
> JOE 
> 
> From: Joe  <mailto:[EMAIL PROTECTED]> Landry 
> To: [email protected] 
> Sent: Tuesday, March 07, 2006 7:28 AM
> Subject: Re: [amibroker] jScripts to produce and save PNG plots.
> 
> Hi Dingo - Before you say RTFM, (;>  I found your slide show 
script with
> what looks like to be all the 
> elements of doing what I want, except to save the image.  I need 
to find the
> source of the documentation
> on the ActiveWindow object. 
>  
> JOE  
> 
> ----- Original Message ----- 
> From: Joe  <mailto:[EMAIL PROTECTED]> Landry 
> To: [email protected] 
> Sent: Tuesday, March 07, 2006 7:04 AM
> Subject: Re: [amibroker] jScripts to produce and save PNG plots.
> 
> Ah! I found a clue to how I might be able to do this. (it was in 
my own
> Infoselect database) but could use additional help
> 
> in how to manage the image size if possible.   
> 
> Best regards
> 
> Joe 
> 
>  
> 
>  
> 
> Example script:
> 
> AB = new ActiveXObject("Broker.Application");
> 
> AB.ActiveWindow.ExportImage("Test.png");
> 
> ----- Original Message ----- 
> From: Joe Landry <mailto:[EMAIL PROTECTED]>  
> To: [email protected] 
> Sent: Tuesday, March 07, 2006 6:53 AM
> Subject: [amibroker] jScripts to produce and save PNG plots.
> 
> Hi Gents: (Fred, Dingo, Dan)
>  
> I'd like to produce 5 plots produced from 5 equity composites for 
a web
> site.
> I'm tracking "guru" stock pickers on a web site and I'd like to 
automate the
> production of the image 
> display of their record on a weekly basis.
>  
> Being a real "code monkey", I know how to string batch steps using 
jScript
> to produce these equity curves(ATCs),
> but I'd like to automate and produce, save the PNG images in order 
that I
> could post them and display them on the web site.
> I know this was discussed several months ago when it came to 
controlling the
> shape/size of the png image but I can't find the 
> discussion nor the object/method in the COM model that will give 
me the
> hooks to do this.  (I promise, I 
> googled it on purebytes and couldn't find it but maybe it's more 
recent than
> that).  Fred in IO is able to drive this function
> to produce the backtest version of the equity plot, but my 
requirement is
> more simple than that.
>  
> I guess if the image had an Amibroker watermark/attribution it 
would be all
> the better for the author and community. (;>
>  
> Thanks in advance
> JOE    
> 
> 
> 
> Please note that this group is for discussion between users only.
> 
> To get support from AmiBroker please send an e-mail directly to 
> SUPPORT {at} amibroker.com
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> 
> 
> 
> 
> 
> 
> SPONSORED LINKS 
> Investment
> <http://groups.yahoo.com/gads?
t=ms&k=Investment+management+software&w1=Inves
> 
tment+management+software&w2=Real+estate+investment+software&w3=Inves
tment+p
> 
roperty+software&w4=Software+support&w5=Real+estate+investment+analys
is+soft
> ware&w6=Investment+software&c=6&s=200&.sig=_XXUzbE9l5lGlZNcMu4KNQ>
> management software   Real
> <http://groups.yahoo.com/gads?
t=ms&k=Real+estate+investment+software&w1=Inve
> 
stment+management+software&w2=Real+estate+investment+software&w3=Inve
stment+
> 
property+software&w4=Software+support&w5=Real+estate+investment+analy
sis+sof
> 
tware&w6=Investment+software&c=6&s=200&.sig=5_sgDczz3ArKGMtJ9tFSJA> 
estate
> investment software   Investment
> <http://groups.yahoo.com/gads?
t=ms&k=Investment+property+software&w1=Investm
> 
ent+management+software&w2=Real+estate+investment+software&w3=Investm
ent+pro
> 
perty+software&w4=Software+support&w5=Real+estate+investment+analysis
+softwa
> re&w6=Investment+software&c=6&s=200&.sig=_N6zcwefgp4eg5n6oX5WZw> 
property
> software      
> Software
> <http://groups.yahoo.com/gads?
t=ms&k=Software+support&w1=Investment+manageme
> 
nt+software&w2=Real+estate+investment+software&w3=Investment+property
+softwa
> 
re&w4=Software+support&w5=Real+estate+investment+analysis+software&w6
=Invest
> ment+software&c=6&s=200&.sig=MJ2jP31F3n64RDZkDadU8w> support  Real
> <http://groups.yahoo.com/gads?
t=ms&k=Real+estate+investment+analysis+softwar
> 
e&w1=Investment+management+software&w2=Real+estate+investment+softwar
e&w3=In
> 
vestment+property+software&w4=Software+support&w5=Real+estate+investm
ent+ana
> 
lysis+software&w6=Investment+software&c=6&s=200&.sig=GmF8PlAJASx0wrSa
X5-Zlw>
> estate investment analysis software   Investment
> <http://groups.yahoo.com/gads?
t=ms&k=Investment+software&w1=Investment+manag
> 
ement+software&w2=Real+estate+investment+software&w3=Investment+prope
rty+sof
> 
tware&w4=Software+support&w5=Real+estate+investment+analysis+software
&w6=Inv
> estment+software&c=6&s=200&.sig=aMgGsKT4w29dMAYUzQUKzg> software 
        
> 
>   _____  
> 
> YAHOO! GROUPS LINKS 
> 
> 
>       
> *      Visit your group "amibroker
> <http://groups.yahoo.com/group/amibroker> " on the web.
>   
> 
> *      To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> 
>   
> 
> *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service
> <http://docs.yahoo.com/info/terms/> . 
> 
> 
>   _____
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to