Local Website Archive 2.1.0  -  Homepage  -  Help-Start  -  Topics  -  Previous  -  Next

Add new applications

Supported applications are stored as ini files in the subdirectory app.

Structure of an application INI file

[General]
Name=Application name
IsBrowser=1
AppExeName=yourapp.exe
AppWindowClass=class name
AppWindowCaptionSubStr=right( - YourApp)
GetNameUrlMethod=general(name,url)
RemoveFromCaptionLeft=[
RemoveFromCaptionRight=] - YourApp
Language=english,({Alt}f){$}a{$}<FILENAME>{Enter}
Language=german,({Alt}d){$}a{$}<FILENAME>{Enter}


Description

Name= Name of the application. Usually the same name as the ini filename.
IsBrowser= Set this value to 1 if the application is a browser. If this value is set then the internal method is enabled in Local Website Archive
IsIE= Set this value to 1 if the application is Internet Explorer. For all other applications this value must not be set.
AppExeName= Name of the application program file (without path). Needed to identify opened applications.
AppWindowClass= Class name of the application. Needed to identify opened applications. You can get the class name from the Process-List dialog (help menu). Supported functions are:
  • left(STRING) ... where STRING defines a substring on the left side of the class name
  • right(STRING) ... where STRING defines a substring on the right side of the class name
  • substr(STRING) ... where STRING can be at any position in the class name
AppWindowCaptionSubStr= Typical window caption substring. Needed to identify opened applications.
Supported functions are:
  • left(STRING) ... where STRING defines a substring on the left side of the window caption
  • right(STRING) ... where STRING defines a substring on the right side of the window caption
  • substr(STRING) ... where STRING can be at any position in the window caption
  • exact(STRING) ... where STRING is the exact window caption
  • (empty)
  • (not empty)
GetNameUrlMethod= Method how Local Website Archive determines the name and the URL of a document.

Values:
  • general(name,url) ... general method to determine name and url
  • general(name,) ... general method to determine only the name
  • general(,url) ... general method to determine only the url
  • dde(<APP>) ... uses DDE to determine name and url (<APP> defines the DDE name of the application)
RemoveFromCaptionLeft= If you choose the general method to determine name and url of a document (see setting above), then you can remove application substrings from the window caption. Enter the substring of the left side (if available) or let this setting empty.
RemoveFromCaptionRight= If you choose the general method to determine name and url of a document (see setting above), then you can remove application substrings from the window caption. Enter the substring of the right side (if available) or let this setting empty.
InitUseApp= Set this value to 0 if the application should be disabled initially.
Language= The language settings lets you define predefined shortcuts for a specific language. Place each language in a separate line where each line has the following format:

Language=Name,keystrokes

The following special characters are used:
  • {F1} ... {F10} ... function keys
  • {Enter} ... Enter key
  • {$} ... pause of 0.1 seconds
  • + ... SHIFT-key
  • ^ ... CTRL-key
  • % ... ALT-key
  • {Alt} ... ALT-key (alternative to %)
  • ( ) ... Surround sequences of characters or key names with parentheses in order to modify them as a group. For example, '+abc' shifts only 'a', while '+(abc)' shifts all three characters.
  • <FILENAME> ... is automatically replaced with the filename generated by Local Website Archive

Example:

Language=english,%f{$}s{$}<FILENAME>{Enter}

This example sends the following keystrokes to the selected application:
  1. %f (...for Alt+File)
  2. {$} (...wait 0.1 seconds)
  3. s (...for "Save")
  4. {$} (...wait 0.1 seconds)
  5. <FILENAME> (...enters the generated filename)
  6. {Enter} (...for pressing the Enter key)