Modify

Opened 10 years ago

Closed 10 years ago

#3197 closed Bug (No Bug)

.chm debug example fix

Reported by: luger Owned by:
Milestone: Component: Documentation
Version: 3.3.14.2 Severity: None
Keywords: Cc:

Description

_DebugSetup example

#cs ----------------------------------------------------------------------------

    AutoIt Version: 3.2.8.1
    Author:         David Nuttall

    Script Function:
    Base script to show functionality of Debug functions.

#ce ----------------------------------------------------------------------------

#include <Debug.au3>

_DebugSetup("Check Excel", True) ; start displaying debug environment
For $i = 1 To 4
    WinActivate("Microsoft Excel")
    ; interact with Excel
    Send("{Down}")
    _DebugOut("Moved Mouse Down") ; forces debug notepad window to take control
Next

_DebugSetup example fix

#include <Debug.au3>

_DebugSetup("Check Excel", True) ; start displaying debug environment
For $i = 1 To 4
    WinActivate("Microsoft Excel")
    ; interact with Excel
    Send("{Down}")
    _DebugOut("Moved Mouse Down") ; forces debug notepad window to take control
Next

_DebugOut example

#cs ----------------------------------------------------------------------------

    AutoIt Version: 3.2.8.1
    Author:         David Nuttall

    Script Function:
    Base script to show functionality of Debug functions.

#ce ----------------------------------------------------------------------------

#include <Debug.au3>

_DebugSetup("Check Excel")
For $i = 1 To 4
    WinActivate("Microsoft Excel")
    ; interact with Excel
    Send("{Down}")
    _DebugOut("Moved Mouse Down")
Next

_DebugSetup example fix

#include <Debug.au3>

_DebugSetup("Check Excel")
For $i = 1 To 4
    WinActivate("Microsoft Excel")
    ; interact with Excel
    Send("{Down}")
    _DebugOut("Moved Mouse Down")
Next

Attachments (0)

Change History (4)

comment:1 by luger, 10 years ago

By the way. Why Excel? Instead, notepad, wouldnt it ?
I do not know english :)

comment:2 by J-Paul Mesnage, 10 years ago

Not really a bug as execution is OK.
for Excel it will never failed for using {down} key on an empty sheet.
Notepad need a specific file to illustrate the mouse going down.

comment:3 by luger, 10 years ago

Okey, thank you.. If you want you can turn off ticket. :)

comment:4 by J-Paul Mesnage, 10 years ago

Resolution: No Bug
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.