Share My Creation BOJ - Bruce's Own Joblog

BOJ prompts for whatever the user has been doing up to the point of its appearance.

The user selects the "department" (or accepts the default) that the log applies to (in the author's case, either HOME, WORK or OTHER) and enters text into an HtmlEdit control. The date, the "department" and the entered text are appended to an HTML log file.

The jar, the log and an ini defining the "departments" are stored together. In the author's case, these files are stored in %USERPROFILE%\.joblog

In the ini file, the default "department" is prefixed with an asterisk.

The program is executed according to a schedule defined in Task Scheduler. In this author's case, this is once every 15 minutes.

The window is undecorated so as to force the user to hit "Save" or "Cancel".

BOJ renders in B4J an app written previously in VB6.

License: MIT License.

Source: https://github.com/axtens/boj
 

Attachments

  • boj-snip.PNG
    boj-snip.PNG
    17.5 KB · Views: 3,671
  • boj.zip
    2.9 KB · Views: 315

Bruce Axtens

Active Member
Licensed User
Longtime User
I've updated the git repository and uploaded an new zip.

Changes:
1. Upgraded the project to B4J 2.5
2. Cancels are logged (department and time stamp but no text)
 

Bruce Axtens

Active Member
Licensed User
Longtime User
Changes:
1. Fixed crash on empty save bug
2. Changing departments changes the default to the department (good for when I get home)
 

Bruce Axtens

Active Member
Licensed User
Longtime User
Have changed the code in the github project. Last commit "IncludeClipboard=true in ini and current clipboard, if string, is inserted". Will upload here soon-ish.
 

Bruce Axtens

Active Member
Licensed User
Longtime User
More recent version with some bugfixes and a change of INI library, at github.
 
Top