Sign in to follow this  
Followers 0
DirtDBaK

Why wont this work?

5 posts in this topic

#1 ·  Posted (edited)

Local $sAut2exeA = @ProgramFilesDir & "\AutoIt3\Aut2Exe\Aut2exeA.exe"
$i = 1
$srcfile = @Scriptdir &"\script\tmpfile.au3"
Run('"' & $sAut2exeA & '" /<' & $srcfile & '>[/out compiled' & $i & '.exe]')

Should compile the file into an exe but it doesnt...

Edited by DBak

[center][/center]

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

Tried this but its a no go

Local $sAut2exeA = @ProgramFilesDir & "\AutoIt3\Aut2Exe\Aut2exeA.exe"
$i = 1
$srcfile = @Scriptdir &"\script\tmpfile.au3"
;Run('"' & $sAut2exeA & '" ' & $srcfile & '/' & @ScriptDir & 'Scripts\compiled' & $i & '.exe]')
$script2 = @ScriptDir & 'Scripts\compiled' & $i & '.exe'
ShellExecute( $sAut2exeA, $srcfile & "/" & $script2 )

Im about ready to give up becuz this is really irrating me, but i really want it too work i've been on this forum looking for an answer all night and i know it can be done

Edited by DBak

[center][/center]

Share this post


Link to post
Share on other sites

$infile = "temp.au3"
$outfile = "" & $ReadInput1 & ".exe"
$param = '/in "' & $infile & '" /out "' & $outfile & '"'
ShellExecute(@ScriptDir & "\Aut2exe.exe", $param)

Share this post


Link to post
Share on other sites

No need to start two topics that are directly related with each other.

http://www.autoitscript.com/forum/index.ph...st&p=422326


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0