Jump to content

Disable startbutten and clock


Recommended Posts

ControlHide ( "title", "text", controlID )

ControlDisable ( "title", "text", controlID)

Use "C:\Program Files\AutoIt3\AU3Info.exe" to get the Title, Text & controlID.

<{POST_SNAPBACK}>

Try this:

Opt("WinTitleMatchMode", 4)

Opt("WinDetectHiddenText", 1)

Controlhide ( "classname=Shell_TrayWnd", "Start", "TrayClockWClass1")

Controlhide ( "classname=Shell_TrayWnd", "Start", "Button1")

sleep(5000)

Controlshow ( "classname=Shell_TrayWnd", "Start", "TrayClockWClass1")

Controlshow ( "classname=Shell_TrayWnd", "Start", "Button1")

Sebastian

Link to comment
Share on other sites

Try this:

Opt("WinTitleMatchMode", 4)

Opt("WinDetectHiddenText", 1)

Controlhide ( "classname=Shell_TrayWnd", "Start", "TrayClockWClass1")

Controlhide ( "classname=Shell_TrayWnd", "Start", "Button1")

sleep(5000)

Controlshow ( "classname=Shell_TrayWnd", "Start", "TrayClockWClass1")

Controlshow ( "classname=Shell_TrayWnd", "Start", "Button1")

Sebastian

<{POST_SNAPBACK}>

nothings happends? :lmao:
Link to comment
Share on other sites

Hi,

Remove the 'text' part and it works...

Opt("WinTitleMatchMode", 4)
Opt("WinDetectHiddenText", 1)
Sleep(1000)
Controlhide ( "ClassName=Shell_TrayWnd", "", "TrayClockWClass1")
Controlhide ( "ClassName=Shell_TrayWnd", "", "Button1")
sleep(5000)
Controlshow ( "ClassName=Shell_TrayWnd", "", "TrayClockWClass1")
Controlshow ( "ClassName=Shell_TrayWnd", "", "Button1")

Andre

What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!
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...