Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There is nothing special in opening a file, but there are several ways to open a file which could be interesting.

Menu

Normal opening via the menu is probably the best known way.

Info

This method follows the Opening Stategy.

  • File | Open or Ctrl + O

draw.io DiagramborderfalsediagramNameFile open 1simpleViewerfalsewidthlinksautotbstylehiddendiagramDisplayNamelboxfalsediagramWidth426revision2Image Added

Tool bar

Since opening a file is very often needed, the tool bar includes a folder button to do this.

Info

This method follows the Opening Stategy.

draw.io DiagrambordertruediagramNameFile open 2simpleViewerfalsewidthlinksautotbstyletoplboxtruediagramWidth232revision2Image Added

Recent Files

The opened files will be available at File | Open recent files.

draw.io DiagramborderfalsediagramNameFile open 3simpleViewerfalsewidthlinksautotbstylehiddendiagramDisplayNamelboxfalsediagramWidth511revision1Image Added

Program Arguments

You can start SPHW LogViewer with the path or paths as arguments like this:

Code Block
languagebash
titleOne path
LogViewer.exe "path/to/file.log"


Code Block
languagebash
titleMultiple paths
LogViewer.exe "path/to/file1.log" "path/to/file2.log" ...

SPHW LogViewer is opening all of these files in separate tabs.

Open With

The path as arguments is also what enables you to open a file with the "open with" method, or you associate a file ending directly with the SPHW LogViewer.

Opening Strategy

On the very first opening, the open dialog will show the default system location. After the first opening the path will change related to the following rules.

  • No file is currently open.
    The last open location gets saved after each opening. The location of the open dialog will be initialized with this location.
  • One or more files are currently opened.
    The open dialog will be initialized with the location of the log-file from the current selected tab.


Table of Contents
classfloating-toc