adapagol Posted June 23, 2008 Share Posted June 23, 2008 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 More sharing options...
Developers Jos Posted June 23, 2008 Developers Share Posted June 23, 2008 let me guess: You called your script notepad.au3 ? 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 More sharing options...
adapagol Posted June 23, 2008 Author Share Posted June 23, 2008 let me guess: You called your script notepad.au3 ? Tks for reply. No i wrote exactly same as in tutorial Run("notepad.exe"). but it doesnt work Plz help me. Link to comment Share on other sites More sharing options...
Triblade Posted June 23, 2008 Share Posted June 23, 2008 He meant did you save your script as: notepad.au3 Then the script thinks itself is the notepad.exe you Run() Try saving you script as: notepadtester.au3. My active project(s): A-maze-ing generator (generates a maze) My archived project(s): Pong3 (Multi-pinger) Link to comment Share on other sites More sharing options...
Developers Jos Posted June 23, 2008 Developers Share Posted June 23, 2008 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 More sharing options...
Developers Jos Posted June 23, 2008 Developers Share Posted June 23, 2008 He meant did you save your script as: notepad.au3Then 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 More sharing options...
adapagol Posted June 23, 2008 Author Share Posted June 23, 2008 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!JosMillions 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 More sharing options...
Developers Jos Posted June 23, 2008 Developers Share Posted June 23, 2008 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. EnjoyJos 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 More sharing options...
Valuater Posted June 23, 2008 Share Posted June 23, 2008 So my first guess was correct. EnjoyJosGotta love the "Guessing-Game" we have to play, just to help someone... 8) Link to comment Share on other sites More sharing options...
Triblade Posted June 24, 2008 Share Posted June 24, 2008 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!JosAh, good tip I didn't think about that. (Didn't need the anwser anyway _YET_) My active project(s): A-maze-ing generator (generates a maze) My archived project(s): Pong3 (Multi-pinger) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now