avander Posted August 5, 2009 Posted August 5, 2009 Hi all, New to AutoIt I'm trying to automate configuration of some Security settings in Win XP. Here's what I got so far: MsgBox( 64, default, "Fasten seatbelts...") Run ( "mmc secpol.msc /s") ; run Local Security Settings applet and wait for it WinWaitActive( "Local Security Settings") ;; left tree: open Local Policies ;; left tree: click Security Options ;; right panel: double-click 'Shutdown: Allow system to be shut down without having to log on' ;; pop-up: set to 'disabled' and click 'Ok' sleep( 2) ; pause before end MsgBox( 64, default, "That's all folks!") WinClose( "Local Security Settings") WinWaitClose( "Local Security Settings") As you see, it's almost done! :-). I've been thru the tutorials but unfortunately they all just seem to click a few buttons ( which is trivial). Any pointers to examples on how to perform the steps in 'pseudo-code' would be a great help. TIA
Bert Posted August 5, 2009 Posted August 5, 2009 The security settings you are trying to set can be done with command line. The Vollatran project My blog: http://www.vollysinterestingshit.com/
avander Posted August 5, 2009 Author Posted August 5, 2009 The security settings you are trying to set can be done with command line.Thanks for the tip, I guess you're refering to SecEdit.exe? Does this mean that it can't be done using an AutoIt script?
avander Posted August 6, 2009 Author Posted August 6, 2009 Thanks for the tip, I guess you're refering to SecEdit.exe? Does this mean that it can't be done using an AutoIt script?I'll rephrase my initial question, can I just use 'mouse' functions to click at x,y to for instance open a folder in the treeview?
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