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

[amibroker] Re: OT: Jscript Help


  • Date: Fri, 08 Jan 2010 01:34:28 -0000
  • From: "Mike" <sfclimbers@xxxxxxxxx>
  • Subject: [amibroker] Re: OT: Jscript Help

PureBytes Links

Trading Reference Links

Use one of the *methods* on the Date object to get the value.
See: http://www.tizag.com/javascriptT/javascriptdate.php

Mike

--- In amibroker@xxxxxxxxxxxxxxx, "ta" <tagroups@xxx> wrote:
>
> I asked a programmer to create exe file for me to manipulate AB data files.
> I want to time how long it takes for it to accomplish various tasks. So, I
> wrote the following script to measure how long it take to run the mytask.exe
> file. However, it does not work as intended. Any help or suggestions would
> be appreciated. TIA
> 
>  
> 
> var WshShell = new ActiveXObject("WScript.Shell");
> 
> var Starting_Time = new Date(); 
> 
>  
> 
> var oExec = WshShell.Exec("c:\\Amibroker\\mytask.exe /f ");
> 
>  
> 
> if( oExec.status == 0 )
> 
> {
> 
>                 var Ending_Time = new Date(); 
> 
>                 WScript.Echo("Starting_Time: " + Starting_Time +
> "Ending_Time: " + Ending_Time);
> 
> }
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

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