Modify

Opened 9 years ago

Closed 9 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 Changed 9 years ago by luger

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

comment:2 Changed 9 years ago by Jpm

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 Changed 9 years ago by luger

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

comment:4 Changed 9 years ago by Jpm

  • Resolution set to No Bug
  • Status changed from new to closed

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 ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.