bonegrinder Posted April 14, 2021 Share Posted April 14, 2021 Hello, I'm facing an issue. I have this citrix VM where I run .au3 script. Script opens the target folder in file explorer, i.e. there is a window with a title e.g. "MY_SOURCE_DIR", it exists. Script is rather long but my problem is simply this. $__sWinExpTitle = "MY_SOURCE_DIR" WinGetHandle($__sWinExpTitle,"") This works perfectly fine when I'm connected to the VM and I can use handle obtained from WinGetHandle, but this fails the moment script is launched from the task scheduler while there is no one connected to the VM. Desktop is there, VM is not locked. Also mouse movement doesn't work in this "disconnected" state. Any suggestions ? Thank you Link to comment Share on other sites More sharing options...
Developers Jos Posted April 14, 2021 Developers Share Posted April 14, 2021 Moved to the appropriate 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. 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