Jump to content

Notepad automation not working


Recommended Posts

Hi

I am a new user of Autoit v3. I have just started learning Autoit. But when I read the tutorial and run the example program ,'notepad automation' it does not work accordingly .But I can see lots of icons in my taskbar , and it continues creating such icon though I dont see any appearance of notepad in the screen. Here I like to mention that I always close the notepad application before running the script. Can anybody solve the problem plz?

Link to comment
Share on other sites

  • Developers

Tks for reply. No i wrote exactly same as in tutorial Run("notepad.exe"). but it doesnt work Plz help me.

Ok lets see:

1. What Editor did you use?

2. What did you call the file?

3. How did you run it ?

Jos

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

  • Developers

He meant did you save your script as: notepad.au3

Then the script thinks itself is the notepad.exe you Run()

Only when you compile the notepad.au3 to notepad.exe. :)

Try saving you script as: notepadtester.au3.

just renaming will not solve anything unles the notepad.exe compiled script is also deleted!

Jos

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

Only when you compile the notepad.au3 to notepad.exe. :)

just renaming will not solve anything unles the notepad.exe compiled script is also deleted!

Jos

Millions of thanks infinite of thanks to both of u.Now I am able to solve the problem. Firstly I actually created the script file as notepad.au3.Now i deleted it's exe file also and wrote a new one with different name and it is working properly. Thank you very much ..
Link to comment
Share on other sites

  • Developers

Millions of thanks infinite of thanks to both of u.Now I am able to solve the problem. Firstly I actually created the script file as notepad.au3.Now i deleted it's exe file also and wrote a new one with different name and it is working properly. Thank you very much ..

So my first guess was correct. :)

Enjoy

Jos

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