Re: Re: @AutoItExe VERSUS @ScriptFullPath

Valik <[email protected]>
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
valery_vi wrote:
> 
> 
> Hi,
> 
> Yes. This is a note to Jon & AutoIt Team.
> 
> Valery
> 
> --- In [email protected] <mailto:AutoItList%40yahoogroups.com>, 
> "Lüth, Carsten" <c.lueth@...>
> wrote:
>  >
>  > Hi Valery,
>  >
>  > MsgBox(0,'', @AutoItExe & @crlf & @ScriptFullPath)
>  >
>  > compiled as test.exe!
>  >
>  > Result/content of the messagebox:
>  > C:\test.exe
>  > C:\test.exe
>  >
>  > There's no differenz!
>  > 2x commands for the same result?
>  >

Now run that same script non-compiled and be amazed as enlightenment 
flows over you when @AutoItExe does in fact return something useful, and 
what it says it will return - the name of the binary running the current 
script.  Now when you realize such features like /AutoIt3ExecuteScript 
and /AutoIt3ExecuteLine exist, you'll have a clearer picture.

-- 
- Valik
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.