Jump to content

Having AutoIT click a button on the screen


Recommended Posts

You know when you first install windows and browse to the program files folder, you receive a message saying "these folders are hidden"...well i want to get rid of this but i dont think is it possible in a script. I know autoit could open up the C:\Program Files folder, but can it find a link on the screen and click it? In this case, the link labeled "Show the contects of this folder."

Link to comment
Share on other sites

Did some googling looks like this registry key is the answer...

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\"WebViewBarricade"

make it equal dword:00000001

let us know if that works for you

While ProcessExists('Andrews bad day.exe')
	BlockInput(1)
	SoundPlay('Music.wav')
	SoundSetWaveVolume('Louder')
WEnd
Link to comment
Share on other sites

Did some googling looks like this registry key is the answer...

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\"WebViewBarricade"

make it equal dword:00000001

let us know if that works for you

Yes. it does. Don't i feel like a fool :)

anyway, can AutoIT do that though? Can it search and find a button to click on?

Link to comment
Share on other sites

Yes. it does. Don't i feel like a fool :)

anyway, can AutoIT do that though? Can it search and find a button to click on?

It can if you can get the control ID using Autoit Window info.

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