autoking Posted September 19, 2012 Share Posted September 19, 2012 Hi. Is it not possible to use #requireadmin this way?: If IsAdmin() Then #RequireAdmin ;some stuff Else EndIf If Not IsAdmin() Then ;some stuff Else EndIf If i'm logged in as a standard user, it will still prompt for admin rights. I guess I'm doing it right, but that #RequireAdmin doesen't support to be used with a if - then. Some way to do it ? Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted September 19, 2012 Moderators Share Posted September 19, 2012 No, #RequireAdmin is a computer directive, and will be processed regardless. If you take the time to do a forum search, you can read through the dozens of times this has been asked and answered. "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 More sharing options...
autoking Posted September 19, 2012 Author Share Posted September 19, 2012 ok thank you, there's no work around? Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted September 19, 2012 Moderators Share Posted September 19, 2012 Yes, there is. Forum....search.... "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 More sharing options...
James Posted September 19, 2012 Share Posted September 19, 2012 Please don't directly help this guy with questions like this. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
autoking Posted September 19, 2012 Author Share Posted September 19, 2012 (edited) well i found a way to accomplish it using fileinstall, a bit a messy way, but it works. Edited September 19, 2012 by autoking 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