Sign in to follow this  
Followers 0
UndeadHarlequin

marko in a string!?

4 posts in this topic

I have got a new problem. I´d like to change "the compiled script" without decompiling. There4 i thought i use a .txt file( here named instinfos.txt)

in this file i use Makros.

Script looks like:

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

$a=FileReadline("Instinfos.txt",3)

$b=FileReadline("Instinfos.txt",5)

msgbox(1,"Instalplace",$a)

msgbox(1,"Servername",$:mellow:

exit

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

Intinfos.txt:

3. line: @ProgramFilesDir&"\Spiele\UltimaOnline\"&$b

5. line: @ComputerName&"-Server"

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

Now he write "@ProgramFilesDir&"\Spiele\UltimaOnline\"&$b"

and: "@ComputerName&"-Server""

My problem is nearly clear: i need to use the macros,.. not only thestring

so it should perhaps give back: c:\programme\spiele\ultimaonline\narrekind-server

(or something like this)

Share this post


Link to post
Share on other sites



Text file, line 1: @ComputerName

$x = FileReadLine("test.txt", 1)
MsgBox(0, "", Execute($x))

# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Hmpf,.. thanks,.. the german helpfile is absolutly uncompleted:

shellexecute

execute

are missing

Share this post


Link to post
Share on other sites

Hmpf,.. thanks,.. the german helpfile is absolutly uncompleted:

shellexecute

execute

are missing

If you are a native German speaker, would you be willing to help with that? Contact Jon from the AutoIt home page or Chat forum.

:mellow:


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0