Jump to content
Sign in to follow this  
GreatBarrier86

Having AutoIT click a button on the screen

Recommended Posts

GreatBarrier86

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

Share this post


Link to post
Share on other sites
someone

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

Share this post


Link to post
Share on other sites
GreatBarrier86

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?

Share this post


Link to post
Share on other sites
y4m4

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.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.