Modify

Opened 14 years ago

Closed 14 years ago

#1673 closed Bug (Fixed)

Error in the output of an example script

Reported by: nirmal070125@… Owned by: Jpm
Milestone: 3.3.7.0 Component: AutoIt
Version: 3.3.6.0 Severity: None
Keywords: Cc:

Description

The out put of the AutoIt3\Examples\Helpfile\WinGetProcess.au3 is not correct. I think the reason is process creation takes some time.

I propose to add Sleep(1000) after the first code line. So the WinGetProcess.au3 would be like:

Run("notepad.exe")
Sleep(1000)
$pid = WinGetProcess("[CLASS:Notepad]")
MsgBox(4096, "PID is", $pid)

Thanks.

Attachments (0)

Change History (1)

comment:1 Changed 14 years ago by Jpm

  • Milestone set to 3.3.7.0
  • Owner set to Jpm
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [5880] in version: 3.3.7.0

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.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jpm.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.