Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Is there a way to detect admin ?

$
0
0

I am explaining :

 

I got my migration's script working fine now BUT... :) for one command i need to lunch the script in admin

 

and for others command i need to be user cause i am using @user parameters

 

i got that system in place :

 

Migration not done = Red color GUI

Migration done = Green color GUI

 

I whant to do :

 

Migration script runed with double click = no change

Migration script runed as = gui blue color or something like that

 

who can give me a way to work about that i realy dont got idea about how i can do that

 

how to say in my script something like that

 

if processexist Migration profil.EXE runed as LocalAdminUsername then Guibkground color = xx

 

hope i am clear enouth xD


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>