grwork1 Posted November 5, 2012 Share Posted November 5, 2012 (edited) I am failing to control MMC Internet Information Services (IIS) Manager dialog. Searching the forum; the answer would seem to be to add #RequireAdmin. Problem is #RequireAdmin is not defined in AutoItX help and gives syntax error in VB script. How do I achieve the #RequireAdmin fuctionality in a VB script using AutoItX. My script, preceded by some notes, is attached. Grateful for any help.[update: Calling IsAdmin reveals that true so perhaps this is not a permissions issue but a basic error on my part in using ControlClick? Edited November 5, 2012 by grwork1 Link to comment Share on other sites More sharing options...
JohnOne Posted November 5, 2012 Share Posted November 5, 2012 It would depend on your IDE, for example in Visual Studio it is part of a project setting. it is nothing to do with AutoItx. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Richard Robertson Posted November 5, 2012 Share Posted November 5, 2012 VB Scripts cannot be run as administrator very easily. You'd have to invoke the script interpreter with administrator privileges instead. grwork1 1 Link to comment Share on other sites More sharing options...
grwork1 Posted November 5, 2012 Author Share Posted November 5, 2012 Thanks for replies so far. Re. IDE. I am not using one but running a VB script via cscript at a Win 7 Admin Command Prompt. Re. Admin permissions. I'm not convinced that this is my problem as I can ControlClick on other controls in the MMC IIS dialog. In short, could somebody with AutoItX knowledge Run the MMC IIS Manager and try to activate the 'View Sites' control in the right-hand pane because I sure as hell can't. New simplified VB test script attached. 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