Jump to content

Automated button click not working in my laptop


Recommended Posts

Dear All,

I executed simple notepad automation from online documention(http://www.autoitscript.com/autoit3/docs/)

Everything works fine in automation but when the save popup appears button click is not functioning in my Laptop (HP Elite Book 8440p, Windows 7).

The same script works fine in desktop and i can execute the same in all of my friends laptop.

Similarly Selenium automated script also fails to handle button click.

I figured out atlast all automated script with button click is not functioning in my laptop,even it sounds puzzled.

Even i formated my laptop and tried all but fails to resolve this issue.

Please help me almost 1 week am colapsed.

Link to comment
Share on other sites

  • Developers

This is a known issue with the Notepad in WIN7 and reported multiple times.

Try:

Run("notepad.exe")
WinWaitActive("Untitled - Notepad")
Send("This is some text.")
WinClose("Untitled - Notepad")
WinWaitActive("Notepad", "Do&n't Save")
Send("!n")

You can use the provided au3info to research these kind of issues.

Jos :huh2:

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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