Modify

Opened 16 years ago

Closed 16 years ago

#1673 closed Bug (Fixed)

Error in the output of an example script

Reported by: nirmal070125@… Owned by: J-Paul Mesnage
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 by J-Paul Mesnage, 16 years ago

Milestone: 3.3.7.0
Owner: set to J-Paul Mesnage
Resolution: Fixed
Status: newclosed

Fixed by revision [5880] in version: 3.3.7.0

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


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