Jump to content

Recommended Posts

Posted

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?

Posted

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.

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
Posted

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.

Posted

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]

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...