evg64 Posted February 26, 2008 Share Posted February 26, 2008 Hi! I compiled my script and sent it to my friend. But at once he runs it, the script is paused and it is impossible to unpause it. How to solve the problem? Link to comment Share on other sites More sharing options...
qazwsx Posted February 27, 2008 Share Posted February 27, 2008 What operating systems are you running? Is he the admin? What does your script do? Is he taking any actions, or does it pause as soon as he runs it? We need more info. Link to comment Share on other sites More sharing options...
evg64 Posted February 27, 2008 Author Share Posted February 27, 2008 (edited) What operating systems are you running? Is he the admin? What does your script do? Is he taking any actions, or does it pause as soon as he runs it? We need more info.We both running Windows XP. I can`t tell you exactly wheather he is the admin, I think he is. The script contains some user functions which are called by a hot-key. And the script pauses as soon as it is run.On my computer the script works correctly. Edited February 27, 2008 by evg64 Link to comment Share on other sites More sharing options...
qazwsx Posted February 27, 2008 Share Posted February 27, 2008 Admin may be the issue, im not sure tho. Try putting a message box after each line or something so you can see exactly where it is pausing. Link to comment Share on other sites More sharing options...
herewasplato Posted February 27, 2008 Share Posted February 27, 2008 It might be easier to add this line to the top of a script that is giving you trouble AutoItSetOption("TrayIconDebug", 1) ;0-off and then have the friend install AutoIt and run your script as an au3 file. Mouse over the AutoIt icon in the system tray to determine which line the script has paused on. That assumes that you have not turned off the AutoIt icon in the system tray or that a TrayTip is not active when it pauses. Then there is this line of code MsgBox(0, "", IsAdmin()) [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
qazwsx Posted February 27, 2008 Share Posted February 27, 2008 AutoItSetOption("TrayIconDebug", 1)I guess that makes more sense than a message box after every line. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now