treeboy 0 Posted May 28, 2010 hi all, my codes is so simple: MsgBox(0, "1", "1"); Run("calc.exe", "", @SW_MAXIMIZE) MsgBox(0, "2", "2"); and if i execute it in SciTe,it does well. but if i compiled it into .exe, and double click it ,it will execute no endling,and continuous popup the msgbox "1" "1" ... and i cannot find the foundation stone can u help me ,thank u very much Share this post Link to post Share on other sites
AlmarM 22 Posted May 28, 2010 Im using Vista x64, if I compile it just what it suppose to do (also tried compiling as x86). So, it's working fine for me. MinesweeperA minesweeper game created in autoit, source available._Mouse_UDFAn UDF for registering functions to mouse events, made in pure autoit.2D Hitbox EditorA 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Share this post Link to post Share on other sites
treeboy 0 Posted May 28, 2010 Im using Vista x64, if I compile it just what it suppose to do (also tried compiling as x86).So, it's working fine for me. my system is winXP, and what the version of your SciTe? thanku! Share this post Link to post Share on other sites
whim 1 Posted May 28, 2010 You haven't by any chance called your script "calc.au3" , have you ? If you did, it could well call itself instead of the calculator (after compilation) ... whim Share this post Link to post Share on other sites
treeboy 0 Posted May 28, 2010 You haven't by any chance called your script "calc.au3" , have you ?If you did, it could well call itself instead of the calculator (after compilation) ...whimyes ,it's named "calc.au3" and i'm sure i called it every time. Share this post Link to post Share on other sites
whim 1 Posted May 28, 2010 (edited) So, just rename your script to "my_calc.au3" (or anything except "calc.au3"), and it should work OK whim edit: to clarify, if you compile your script as is, it will be called "calc.exe", guess what happens when it tries to execute Run("calc.exe", "", @SW_MAXIMIZE) Edited May 28, 2010 by whim Share this post Link to post Share on other sites
treeboy 0 Posted May 28, 2010 So, just rename your script to "my_calc.au3" (or anything except "calc.au3"), and it should work OKwhimoh,yeah! thank u very very much! ) Share this post Link to post Share on other sites