It is difficult to comment on the AB enhancement you are suggesting 
as I don't know the context ... If all you are wanting to do is 
communicate some info between VBS and AFL and you aren't wanting to 
run the AFL 10 times a second then this is easy enough to do using 
FSO to write a file from VBS and then use Direct I/O ( fOpen / 
fGets / fClose ) in AFL.

--- In [email protected], "Mark H" <[EMAIL PROTECTED]> wrote:
>
> It is not surprising to me that the author of BatMan and IO uses 
some scripting :-)
> 
>   ----- Original Message ----- 
>   From: Fred 
>   To: [email protected] 
>   Sent: Friday, September 15, 2006 11:29 AM
>   Subject: [amibroker] Re: OLE/COM: Support StaticVarSet/Get/Remove 
(and StaticVarSet/GetText as well)
> 
> 
>   LOL ... I use it every day ...
> 
>   --- In [email protected], "Mark H" <amibroker@> wrote:
>   >
>   > Never mind. It looks like that wring JScript/VBScript to 
automate 
>   AA and interact with AFL has not become as popular as I thought.
>   > 
>   > ----- Original Message ----- 
>   > From: Mark H 
>   > To: [email protected] 
>   > Sent: Thursday, September 14, 2006 3:02 PM
>   > Subject: [amibroker] OLE/COM: Support StaticVarSet/Get/Remove 
>   (and StaticVarSet/GetText as well)
>   > 
>   > 
>   > 
>   > I have posted this request in the Feedback Center.
>   > http://www.amibroker.com/feedback/view_bug.php?bug_id=468
>   > 
>   > It is basically a fast and easy to pass dynamic variables 
between 
>   JScript (or VBScriot) and AFL. 
>   > Currently AB is lacking a standard way to do so. Yes, you can 
by 
>   using files/ActiveX/ODBC etc. 
>   > 
>   > For example, you can do something like this:
>   > In JScript:
>   > AA.StaticVarSet("RunInScript1", 1);
>   > AA.Explore();
>   > AA.Export("orders.csv");
>   > AA.Scan();
>   > AA.StaticVarRemove("RunInScript1");
>   > 
>   > Inside AFL:
>   > if(IsTrue(StaticVarGet("RunInScript1")))
>   > {
>   > ibc = GetTradingInterface("IB");
>   > // send orders here
>   > }
>   > 
>   > If you have some good use cases, please post to the Feedback 
>   Center.
>   > Since current AFL engine already support StaticVarSet/Get/Text, 
>   it would be relatively simple to add COM support.
>   > After we get some convincing examples, TJ may do it sooner ;-)
>   > 
>   > - Mark H.
>   >
>







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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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