DanishAmanat Posted May 28, 2024 Posted May 28, 2024 I am using AutoIt for my automation process which involves two machines. The first machine (running Windows 10) is used to keep my second machine awake and perform automation tasks. The script executes on the second machine, but when I disconnect from the first machine, the automation process fails to execute the ControlClick function. The same script works fine on another machine running Windows Server 2012. Actual Result: On the Windows 10 machine, the script fails to execute the ControlClick function when the machine is disconnected, affecting the automation process on the second machine. Steps to Reproduce: Set up an AutoIt script that uses the ControlClick function on a Windows 10 machine. Ensure the first machine (Windows 10) is connected and running the script to keep the second machine awake. Execute the script with the first machine connected and running. Disconnect from the first machine. Observe that the script fails to execute the ControlClick function on the second machine. Run the same script on a Windows Server 2012 machine. Observe that the script executes successfully on the second machine I would love to hear your solutions or any suggestions to resolve this issue. Thanks, Best regards, Danish Amanat
Developers Jos Posted May 28, 2024 Developers Posted May 28, 2024 Moved to the appropriate AutoIt General Help and Support forum, as the Developer General Discussion forum very clearly states: Quote General development and scripting discussions. Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums. Moderation Team SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
ioa747 Posted May 28, 2024 Posted May 28, 2024 https://www.autoitscript.com/wiki/FAQ#Why_doesn.27t_my_script_work_on_a_locked_workstation.3F I know that I know nothing
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