[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Re: Load Layout from AFL



PureBytes Links

Trading Reference Links

Well, that's certainly not what I expected. I don't use templates so I
didn't notice.

I'll change it today to put it inside the loop.  Sounds like there'll be a
lot of screen "flashing".

d 

> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx 
> [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of vlanschot
> Sent: Tuesday, July 04, 2006 3:59 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: Load Layout from AFL
> 
> Thanks d,
> 
> However, unfortunately it doesn't retain the specified 
> template. It only loads it at the beginning of the script, 
> but then, at the first ticker, switches back to the template 
> that was last saved. It subsequently saves all charts 
> (tickers) with that template.
> 
> My commands in the short-cut properties look like this:
> 
> "C:\Program
> Files\AmiBroker\Plugins\SlideShow\SlideShowFiles.vbs" /W:26 /S:01 /L:"
> C:\AB DBase\Layouts\PS Trial.awl" 
> /T:"Y:\Amibroker\Templates\Equity Sectors\IBES EPS(Mom).ALY"
> 
> Perhaps it needs to reload within the loop?
> 
> FYI, I'm using AB 4.81.1, on W2000.
> 
> Thanks for any suggestions/fixes.
> 
> PS
> --- In amibroker@xxxxxxxxxxxxxxx, "dingo" <dingo@xxx> wrote:
> >
> > Ok - added the load layout thingy:
> > 
> > 
> > Hello,
> > 
> > This email message is a notification to let you know that a file
> has been
> > uploaded to the Files area of the amibroker-beta group.
> > 
> >   File        : /dingo's Folder/SlideshowFiles.zip 
> >   Description : A vbScript to do a slideshow via AB and export the
> charts to
> > png files. Will optionally load a database, layout and a template. 
> > 
> > You can access this file at the URL:
> > http://groups.yahoo.com/group/amibroker-beta/files/dingo%27s%
> 20Folder/Slides
> > howFiles.zip
> > 
> > To learn more about file sharing for your group, please visit:
> > http://help.yahoo.com/help/us/groups/files
> > 
> > d
> > 
> > > -----Original Message-----
> > > From: amibroker@xxxxxxxxxxxxxxx
> > > [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of vlanschot
> > > Sent: Friday, June 30, 2006 9:08 AM
> > > To: amibroker@xxxxxxxxxxxxxxx
> > > Subject: [amibroker] Re: Load Layout from AFL
> > > 
> > > Seen it, downloaded it, and used it. Great stuff, thanks d.
> > > 
> > > Still, since you seem to be in a good mood (long equities 
> I presume 
> > > ;- )), could you consider, in due time, adding the option 
> to load a 
> > > specified template?
> > > 
> > > Again, thanks for this useful tool.
> > > 
> > > PS
> > > 
> > > --- In amibroker@xxxxxxxxxxxxxxx, "dingo" <dingo@> wrote:
> > > >
> > > > Sure - stay tuned.
> > > > 
> > > > d
> > > > 
> > > > > -----Original Message-----
> > > > > From: amibroker@xxxxxxxxxxxxxxx
> > > > > [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of vlanschot
> > > > > Sent: Thursday, June 29, 2006 3:56 AM
> > > > > To: amibroker@xxxxxxxxxxxxxxx
> > > > > Subject: [amibroker] Re: Load Layout from AFL
> > > > > 
> > > > > Thanks d,
> > > > > 
> > > > > Any chance you'll include this in your SlideShow tool,
> > > whereby users
> > > > > can input the required layout for each run?
> > > > > Would be nice.
> > > > > 
> > > > > PS
> > > > > 
> > > > > --- In amibroker@xxxxxxxxxxxxxxx, "dingo" <dingo@> wrote:
> > > > > >
> > > > > > Ooops!
> > > > > >  
> > > > > > Can you tell I was distracted?   8-)
> > > > > >  
> > > > > > Dim oAB
> > > > > >  
> > > > > > Const cstLayoutDir = "C:\Program Files\Amibroker\Layouts\"
> > > > > >  
> > > > > > Set oAB = CreateObject("Broker.Application")
> > > > > > oAB.Visible = True
> > > > > >  
> > > > > > oAB.LoadLayout(cstLayoutDir + "Daily Index Monitor.awl")
> > > > > >  
> > > > > > Set oAB  = Nothing
> > > > > > 
> > > > > >  
> > > > > > That should be more in-line with your request.
> > > > > >  
> > > > > > d
> > > > > > 
> > > > > > 
> > > > > >   _____
> > > > > > 
> > > > > > From: amibroker@xxxxxxxxxxxxxxx
> > > [mailto:amibroker@xxxxxxxxxxxxxxx]
> > > > > On Behalf
> > > > > > Of cstrader232
> > > > > > Sent: Wednesday, June 28, 2006 2:49 PM
> > > > > > To: amibroker@xxxxxxxxxxxxxxx
> > > > > > Subject: Re: [amibroker] Load Layout from AFL
> > > > > > 
> > > > > > 
> > > > > > Dingo...could you point me in the right direction to write a
> > > script
> > > > > to load
> > > > > > a layout?  I'm familiar with the objects guide 
> > > > > > http://www.amibroker.com/guide/objects.html.  But I don't
> see
> > > how
> > > > > to use it
> > > > > > to open a layout.  
> > > > > >  
> > > > > > tia
> > > > > >  
> > > > > >  
> > > > > > 
> > > > > > ----- Original Message -----
> > > > > > From: dingo <mailto:dingo@>
> > > > > > To: amibroker@xxxxxxxxxxxxxxx
> > > > > > Sent: Wednesday, June 28, 2006 11:22 AM
> > > > > > Subject: RE: [amibroker] Load Layout from AFL
> > > > > > 
> > > > > > Yes it does, easily done from a script
> > > > > >  
> > > > > > d
> > > > > > 
> > > > > > 
> > > > > >   _____
> > > > > > 
> > > > > > From: amibroker@xxxxxxxxxxxxxxx
> > > [mailto:amibroker@xxxxxxxxxxxxxxx]
> > > > > On Behalf
> > > > > > Of Terry
> > > > > > Sent: Wednesday, June 28, 2006 9:49 AM
> > > > > > To: amibroker@xxxxxxxxxxxxxxx
> > > > > > Subject: RE: [amibroker] Load Layout from AFL
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > There must be a way since BatMan does it, although from a
> > > script I
> > > > > think.
> > > > > > 
> > > > > > --
> > > > > > 
> > > > > > Terry
> > > > > > 
> > > > > > -----Original Message-----
> > > > > > From: amibroker@xxxxxxxxxxxxxxx
> > > [mailto:amibroker@xxxxxxxxxxxxxxx]
> > > > > On Behalf
> > > > > > Of cstrader232
> > > > > > Sent: Wednesday, June 28, 2006 07:38
> > > > > > To: amibroker@xxxxxxxxxxxxxxx
> > > > > > Subject: Re: [amibroker] Load Layout from AFL
> > > > > > 
> > > > > >  
> > > > > > 
> > > > > > Yes, that's what I was afraid of.  Really too bad in a way
> > > because
> > > > > I have
> > > > > > automated adding symbols to the charts.  But when I do that
> the
> > > > > layouts get
> > > > > > messed up (for some reason the symbols are assigned to
> charts 
> > > > > > alphabetically, so when new ones are added, everything gets
> > > > > switched).  So I
> > > > > > then have to manually reload a prior layout.  Anyone found a
> > > > > solution to
> > > > > > this?  Thanks!
> > > > > >
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > ------------------------ Yahoo! Groups Sponsor 
> > > > > --------------------~--> Great things are happening at Yahoo!
> > > > > Groups.  See the new email design.
> > > > > http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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
> > > > > 
> > > > > 
> > > > > 
> > > > >  
> > > > > 
> > > > > 
> > > > >
> > > >
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 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
> > > 
> > > 
> > > 
> > >  
> > > 
> > > 
> > >
> >
> 
> 
> 
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor 
> --------------------~--> See what's inside the new Yahoo! 
> Groups email.
> http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/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
> 
> 
> 
>  
> 
>