DirtDBaK Posted October 23, 2007 Share Posted October 23, 2007 (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 October 23, 2007 by DBak [center][/center] Link to comment Share on other sites More sharing options...
Uten Posted October 23, 2007 Share Posted October 23, 2007 Try without < > Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
DirtDBaK Posted October 23, 2007 Author Share Posted October 23, 2007 (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 October 23, 2007 by DBak [center][/center] Link to comment Share on other sites More sharing options...
Generator Posted October 23, 2007 Share Posted October 23, 2007 $infile = "temp.au3" $outfile = "" & $ReadInput1 & ".exe" $param = '/in "' & $infile & '" /out "' & $outfile & '"' ShellExecute(@ScriptDir & "\Aut2exe.exe", $param) Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 23, 2007 Moderators Share Posted October 23, 2007 No need to start two topics that are directly related with each other.http://www.autoitscript.com/forum/index.ph...st&p=422326 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. Link to comment Share on other sites More sharing options...
Recommended Posts