Sign in to follow this  
Followers 0
treeboy

this script is executed no ending... :(

7 posts in this topic

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 :mellow:

can u help me ,thank u very much

Share this post


Link to post
Share on other sites



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. :mellow:


Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites

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. :mellow:

my system is winXP, and what the version of your SciTe? thanku!

Share this post


Link to post
Share on other sites

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

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

yes ,it's named "calc.au3" and i'm sure i called it every time.

Share this post


Link to post
Share on other sites

#6 ·  Posted (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 by whim

Share this post


Link to post
Share on other sites

So, just rename your script to "my_calc.au3" (or anything except "calc.au3"), and it should work OK

whim

oh,yeah! thank u very very much! :mellow:)

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