Sign in to follow this  
Followers 0
evg64

Problem with running script on another computer

6 posts in this topic

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?

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 by evg64

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

AutoItSetOption("TrayIconDebug", 1)

I guess that makes more sense than a message box after every line. :)

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