Opened 14 years ago
Closed 14 years ago
#1896 closed Bug (Wont Fix)
Just a little error to fix in the help file (documentation)
Reported by: | jacksteeve@… | Owned by: | |
---|---|---|---|
Milestone: | Component: | Documentation | |
Version: | 3.3.6.1 | Severity: | None |
Keywords: | Help, Tutorials | Cc: | jacksteeve@… |
Description
In the AutoIT Help file on "Tutorials/Simple Notepad Automation" have a little error in the line code 5 "WinWaitActive("Notepad", "Do you want to save")", in this line we need to define a time (timeout) to the WinWaitActive code before it can reproduce the "Send("!n")" in the line code 6.
Wrong code in the Help file:
Run("notepad.exe")
WinWaitActive("Untitled - Notepad")
Send("This is some text.")
WinClose("Untitled - Notepad")
WinWaitActive("Notepad", "Do you want to save")
Send("!n")
Fixed Code to be in the next Help File in the next updated of AutoIt:
Run("notepad.exe")
WinWaitActive("Untitled - Notepad")
Send("This is some text.")
WinClose("Untitled - Notepad")
WinWaitActive("Notepad", "Do you want to save", 1)
Send("!n")
Sorry for the bad English, I am Apprentice in AutoIt programming and this error make me lose some time thinking to found why it's not work, maybe can be relationed for my OS, I'm using Windows 7 32 bits now. So it can Impede or Delay some another new student too.
Thanks for the AutoIt program and for the help document to guide us in the learning. Good Year for your all, GOD Bless you! :)
Attachments (0)
Change History (1)
comment:1 Changed 14 years ago by Jon
- Resolution set to Wont Fix
- Status changed from new to closed
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.