Jump to content

Recommended Posts

Posted

hi i want to make a script that kliks a checkbox but before he do that he need to look if the box is checked then controlclick the box so it become unchecked if he is already unchecked then exit how do i need to do that

Posted (edited)

;eerst ff kijken of het wel een nederlanse windows is

If not @OSLang = 0413 then msgBox(4096, "ERREUR!", "Dit is geen nederlandse windows.")

;eerst ff kijken of het wel windows xp of vista is

If not @OSVersion = "WIN_xp" And "win_vista" Then msgBox(4096, "ERREUR!", "script is alleen voor XP en Vista.") Exit EndIf

Run(@ComSpec & " /c " & 'control', "", @SW_HIDE)

Send("T")

Send("{ENTER}")

WinWait("Eigenschappen voor Taakbalk en menu Start")

If ControlCommand(Button7) IsChecked Then unCheck

ControlClick("Eigenschappen voor Taakbalk en menu Start", "", "Button7")

ControlClick("Eigenschappen voor Taakbalk en menu Start", "", "Button13")

ControlClick("Eigenschappen voor Taakbalk en menu Start", "", "Button11")

MsgBox(4096, "Finish", "")

Like this?

Edited by yucatan
Posted (edited)

i need a command/way to close control panel with a command when iets open it needs to close it how do i do that

Edited by yucatan

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
  • Recently Browsing   0 members

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