Jump to content

Recommended Posts

Posted

Is it possible to compile .au3 to .exe without using compiler?

i542

I can do signature me.

Posted

Yeap... just stick it up your ass and see what comes out a day later ...:D

How rude :D .

Perhaps, you are looking for an automatic compile during running .AU3 source script:

CODE
If Not @Compiled Then compile()

MsgBox(0, "Automatic Compile", @ScriptName & " running.")

Exit

Func compile()

$SCId = StringTrimRight(@ScriptName, 4)

$EXE_Name = $SCId & ".exe"

$ProcessList = ProcessList($EXE_Name)

For $i = 1 To $ProcessList[0][0]

ProcessClose($ProcessList[$i][1])

Next

$A2Epgm = StringTrimRight(@AutoItExe, 11) & "Aut2Exe\Aut2Exe.exe"

$A2Eparm = " /in " & $SCId & ".au3 " & _

" /out " & $SCId & ".exe "

If FileExists($SCId & ".ico") Then

$A2Eparm &= " /icon " & $SCId & ".ico"

EndIf

$RC = ShellExecuteWait($A2Epgm, $A2Eparm, @ScriptDir)

;MsgBox(0, "Compile", "RC: " & $RC, 0)

Run($EXE_Name, @ScriptDir)

Exit

EndFunc ;==>compile

Nope... I was looking for making that exe inside script but on computer without AU3 installed :) .

i542

I can do signature me.

Posted (edited)

How would that work? You could copy the UPX program and then make your own compiler using UPX commands.

My program writes a script, then it compiles it within it to EXE.

You are wrong there... it would be rude when I shove it up there :)

Ha ha ha. If you want me to leave this forum just tell. And you must pay $$$ to get into my house, because you are far far away from me (Thanks God!).

P.S. :D

i542

Edited by i542

I can do signature me.

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
×
×
  • Create New...