Jump to content

Recommended Posts

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

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
×
×
  • Create New...