Modify ↓
Opened 16 years ago
Closed 16 years ago
#1673 closed Bug (Fixed)
Error in the output of an example script
| Reported by: | 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 , 16 years ago
| Milestone: | → 3.3.7.0 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Fixed by revision [5880] in version: 3.3.7.0