Jump to content

AutoIt in another account, Windows


mfvcyo
 Share

Recommended Posts

Hello
I need control a software with AutoIt in a user account that is active and it have a software in execution, but this account is not in use for the users.

It's posible? and how?

This is my code.

main()

func main()
Local $iCount = 0
While $iCount < 5
   MouseMove(325,752)
   Sleep(900)
   MouseClick("left",331,691,1)
   MouseClick("left",97,107,1)
   Sleep(500)
   MouseClick("left",535,107,1)
   Sleep(500)
   Send("{ALT}{D}")
   Send("{DOWN 9} {ENTER}")
   Sleep(500)
   Send("{ENTER}")
   Sleep(500)
   MouseClick("left",41,107,1)
   Sleep(60000)
WEnd

endfunc

I use Windows 8

Thanks

Link to comment
Share on other sites

  • Moderators

 in a user account that is active and it have a software in execution, but this account is not in use for the users.

Can you please explain this more? Do you mean you're trying to run the application under administrative credentials for a non-admin user? What is the application you're trying to manipulate? 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
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
 Share

  • Recently Browsing   0 members

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