TJ 

 Thanks. Did not realize AlertIf could do that for me.

Rajiv

To: [email protected]
From: [email protected]
Date: Fri, 27 Nov 2009 00:47:28 +0100
Subject: Re: [amibroker] Re: running an autoit executable from an afl


















 



  


    
      
      
      



Why do you use that when you can use much simpler AlertIf 
with "EXEC" command ? 
http://www.amibroker.com/f?alertif

Best regards,
Tomasz 
Janeczko
amibroker.com

  ----- Original Message ----- 
  From: 
  Mark Hike 
  
  To: [email protected] 
  Sent: Thursday, November 26, 2009 11:01 
  PM
  Subject: Re: [amibroker] Re: running an 
  autoit executable from an afl
  
Because 
  you have spaces in the command, you need to quote it up in addition to Mike's 
  suggestion.
Like this:

WshShell.Run("\"C:\\Documents and 
  Settings\\Administrator\\Desktop\\Autoit\\HelloWorld.exe\"");


  On Thu, Nov 26, 2009 at 4:55 PM, Rajiv Arya <[email protected]> 
  wrote:

  
      
    
    
    
    
 thanks, but it did not work
 
Rajiv


    
    To: [email protected]
From: [email protected]
Date: Thu, 26 Nov 2009 04:19:12 
    +0000
Subject: [amibroker] Re: running an autoit executable from an 
    afl

  
    
    
    
    Try using double slashes in the file 
    name.

e.g.
"C:\\Documents and 
    Settings\\Administrator\\..."

Mike

--- In [email protected], Rajiv Arya 
    <rajivary...@...> wrote:
>
> 
> Hi all,
> 
    Created an autoit executable called HelloWorld.exe
> 
> Line 
    three works fine
> Line two give me an error
> when I cut and 
    paste the string into run text box, it works fine 
> 
> Very 
    frustrating.
> 
> Thanks
> Rajiv
> 
> WshShell 
    = CreateObject("WScript.Shell");
> WshShell.Run("C:\Documents and 
    Settings\Administrator\Desktop\Autoit\HelloWorld.exe");
> 
    WshShell.Run("calc.exe");
> 
> 
> 
    __________________________________________________________
> Windows 
    7: It works the way you want. Learn more.
> http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen:112009v2
>



    

    
    Hotmail: Trusted email with Microsoft's powerful SPAM protection. Sign up 
now. 
    

  



    
     

    
    






                                          
_________________________________________________________________
Windows 7: I wanted simpler, now it's simpler. I'm a rock star.
http://www.microsoft.com/Windows/windows-7/default.aspx?h=myidea?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_myidea:112009

Reply via email to