Skip to content

Set start and end point in a logfile via a hotkey and save this marked part on the Windows Desktop automatically #9280

@DrSooom

Description

@DrSooom

Original suggestion by @AbhitejJohn:

Quote from his comment on issue #9275:

Also I wish I could clear/reset the logs from the UI :)

Steps to reproduce:

  1. Change the log level to "debug" in the General NVDA Settings.
  2. Open the Log Viewer via the NVDA menu.
  3. Try to remember the actual last line.
  4. Open the start menu. Or just do anything else. It doesn't matter. But its logs are very, very important for you.
  5. Switch back to the Log Viewer.
  6. Have fun by finding the previous remembered line.

Actual behaviour:

It isn't possible to clear the logged content until step 4. It has to deleted with Notepad++ or with any other useful source code editor manually, after the logfile was saved first.

Expected behaviour:

Add the following hotkeys to NVDA:

  • NVDA+Shift+F2: Set start point in the logfile.
  • NVDA+CTRL+F2: Set end point in the logfile.

After NVDA+CTRL+F2 was pressed, the content between the start and the end point is selected and copied into a new logfile which is automatically saved on the Windows Desktop. The filename for this new logfile is based on the current timestamp, e.g. "NVDA_2019-02-15-012345.log".

System configuration:

NVDA installed/portable:

Both

NVDA version:

2018.4.1

Windows version:

Win7 to Win10-1903

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions