Jump to content

Not active


Line
 Share

Recommended Posts

Hey there.

I'm newb:).

I want auto it to open up a application/software or anything that needs admin rights.I'm using that mouse click command but when the "resquest accept" window pops up with the "yes" or "no".My script seems to die,it doesn't work anymore.Its like working in the background.

Bad at explaining but if you got it and you are willing to help me,thanks alot!

Link to comment
Share on other sites

You cannot do that. Windows has built in special protection to stop you from being able to automate that window. You have to do as Kidney said if you want to bypass it, or add this at the very top of your script:

#RequireAdmin

If you add #RequireAdmin, you will see the UAC prompt only when you start your program, anything that you run after it will run with the same privileges, so you will not get that UAC box popping up again. 

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...