Modify

Opened 15 years ago

Closed 15 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 by Jon, 15 years ago

Resolution: Wont Fix
Status: newclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.