Merchants Posted March 13, 2012 Posted March 13, 2012 (edited) this works fine ShellExecute('C:') but some how i can't get this to work i need to open this windows: ConfiguratieschermVormgeving en persoonlijke instellingenPersoonlijke instellingenBureaubladachtergrond but if i put this is the shell it wil give a error "can't find it" #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <EditConstants.au3> #Include <Constants.au3> #NoTrayIcon Global $GUI[7] $GUI[0] = GUICreate("Auto program", 200, 50) GUICtrlCreateLabel("Settings", 6, 5) $GUI[1] = GUICtrlCreateButton("Ok chance settings", 5, 20, 120, 25) $GUI[2] = GUICtrlCreateButton("Exit", 130, 20, 59, 25) GUISetStyle($WS_CAPTION, $WS_BORDER) GUISetState() While 1 $GUI[3] = GUIGetMsg($GUI[0]) Select Case $GUI[3] = $GUI[2] Exit Case $GUI[3] = $GUI[1] ShellExecute('ConfiguratieschermVormgeving en persoonlijke instellingenPersoonlijke instellingenBureaubladachtergrond') ;$Win = WinGetHandle("[class:CabinetWClass]") ;ControlCommand($Win, "", "[CLASS:ComboBox; INSTANCE:2]", "SetCurrentSelection", 1) EndSelect WEnd Edited March 13, 2012 by Merchants
Developers Jos Posted March 13, 2012 Developers Posted March 13, 2012 Something like this: ShellExecute(@WindowsDir & "system32control.exe","/name Microsoft.Personalization /page pageWallpaper") SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Merchants Posted March 13, 2012 Author Posted March 13, 2012 hm is it also possible to do the change without opening the windows?
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