Skorn Posted January 18, 2005 Posted January 18, 2005 Having a hard time here with this. Basically at our company we buy budget dell pc's and I have to manually uninstall all of their crap programs and customize everything to our specs. So I wanted to start by automating something as simple as right clicking the start menu, choosing properties, choosing classic start menu, then click ok. I tried creating a script to click 'button1' under window 'program manger' since this is what autoit spy told me the start button was. Did not work. Then I thought if that window is an actual .exe then I can launch it that way, but after many google searches I can't find an .exe thats associated with that "Taskbar and start menu properties" window. I guess I could do a click based on x,y location but i wanted to keep this as simple as possible. Any ideas? thx
MHz Posted January 18, 2005 Posted January 18, 2005 (edited) If you just want a way for simple custom setup of Startmenu properties. You set can up the startmenu like you want it. Then export the following registry key to file. Then you can use Autoit to run the file. Or manually import the file, via clicking on it.HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced Edited January 18, 2005 by MHz
Radsam Posted January 18, 2005 Posted January 18, 2005 Does this help? Run(@ComSpec & " /c " & "control.exe", "", @SW_HIDE) WinWait("Control Panel") Send("{HOME}") Send("T") Sleep(1 * 1000) Send("{ENTER}") WinWait("Taskbar and Start Menu Properties") Send("^{TAB}") Sleep(.5 *1000) Send("{DOWN}{ENTER}") WinClose("Control Panel")
trids Posted January 19, 2005 Posted January 19, 2005 [..]I tried creating a script to click 'button1' under window 'program manger' since this is what autoit spy told me the start button was. Did not work. [..]<{POST_SNAPBACK}>To press the Start button, you can just Send("^{ESC}")
CyberSlug Posted January 19, 2005 Posted January 19, 2005 These two threads might also help:http://www.autoitscript.com/forum/index.ph...wtopic=4459&hl=http://www.autoitscript.com/forum/index.ph...wtopic=2030&hl=@Trids: or Send("{RWIN}") Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
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