Jump to content
Sign in to follow this  
Merchants

open a dir folder for configuration screen

Recommended Posts

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 by Merchants

Share this post


Link to post
Share on other sites

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.
  :)

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...