Jump to content

Automated Windows customization


Skorn
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

:idiot:

Edited by MHz
Link to comment
Share on other sites

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")
Link to comment
Share on other sites

[..]

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}")

:idiot:

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...