                    ***********************************
					*       OpenSongSearch v2.2       *
					* Copyright 2007-2012 David Leigh *
					***********************************
					
Thank you for trying OpenSongSearch.  I hope you find it as useful
for you as I have for my personal use.  What you find in this document 
can also be found online at the main OpenSongSearch web page: 

http://david.leighweb.com/opensongsearch	

Additionally, there you'll find more up-to-date information as this
application evolves and links to a discussion forum where I hope
solutions to problems can be found and improvement suggestions
offered.

Thank you!
David Leigh - September, 2012

(this file is best viewed with a fixed-width font, like Courier New)

CONTENTS
=========
1.  Licensing
2.  Introduction
3.  System Compatibility
4.  Installation
5.  Configuration
6.  Usage
7.  Translation
8.  Change log


1. LICENSING
============
OpenSongSearch is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version. The program source code is also freely
available as part of the downloaded package that can be found at:
http://david.leighweb.com/opensongsearch	

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
License for more details.

You should have received a copy of the GNU General Public License
along with this program (in a file called LICENSE.txt); if not, go
to http://www.gnu.org/licenses/ or write to

  Free Software Foundation, Inc.
  59 Temple Place - Suite 330
  Boston, MA 02111-1307 USA
  
2. INTRODUCTION
===============
OpenSongSearch is a companion utility to the OpenSong lyric projection program. 
The purpose of OpenSongSearch (hereafter I'll just call it OSS!) is to provide 
a full text search capability to OpenSong on the Windows platform (I'd be 
thrilled if someone would integrate it into OpenSong in RealBasic so that it 
would be available directly in OpenSong and be available on the other platforms).

OSS is written in AutoIt3 and uses the BaseX XML database (OSS is currently 
packaged with version 6.3.5 of BaseX) to store a copy of the OpenSong "database" 
of songs that can be queried against very flexibly. AutoIt3 provides the user 
interface and the Windows dialog manipulation utilities that allows OSS to 
"interface" with certain OpenSong dialogs. This allows search results to be 
added automatically into set lists both in set mode and projection mode.

3. SYSTEM COMPATIBILITY
=======================
OSS is written for the Windows platform and has functions that are very specific
to a Windows file system.  I've tested this on Windows XP (French and English 
versions) and Windows 7. I believe it should work on any Windows platform which 
can run OpenSong. I've not tested it on Wine, but I have my doubts. Let me know 
if anyone gets it to work under Wine. System performance will depend upon system 
capacities, but we have it running with thousands of songs on an "average" XP 
box at church and it's satisfactory.

As to its compatibility with OpenSong, this version of OSS has been used with
version 1.7.1 of OpenSong.  I don't have the time or means to create an
exhaustive test-bed of all versions of OpenSong.  Chances are, versions of OSS
will evolve with the evolution of OpenSong (until it finally has a good search
engine built-in!!!) but little will be done for backwards compatibility.  This
doesn't mean that a given version of OSS will NOT work with a given version of
OpenSong, simply that it will not have been tested with all the different 
version combinations.  Reports in the forums of version combinations that have
worked for you will be very welcome!

4. INSTALLATION
===============
OSS is packaged in the zip file under a single folder "OpenSongSearch".  Ideally
this folder is designed to sit as a sub-folder of the "OpenSong" folder from the
OpenSong installation which contains the sub-folders "Songs", "Sets", "Backgrounds",
etc. and is typically found in "My Documents".  This is how OSS has been tested
and used.  

To accomplish an installation like this, unzip the zip file to your OpenSong 
documents folder. The zip file has a relative path of "OpenSongSearch" in it. 
So the typical installation would be:

    Windows XP - C:\Documents and Settings\yourusername\My Documents\OpenSong\OpenSongSearch

    Vista/7 - C:\Users\yourusername\Documents\OpenSong\OpenSongSearch

Execute "OpenSongSearch.exe" (OpenSongSearch.au3 is the AutoIt3 source code and 
can be executed if you have an installation of AutoIt3. The executable does not 
need an installation of AutoIt3 or any other specific .dll files)

*** updating existing installations ***

If you have a prior version of OSS, you *MAY* have some settings that are important
to you in the opensongsearch.ini file or in one of the OSS_LANG_xx.ini language
interface files.  If this is the case, before unzipping the upgrade, simply copy 
these files someplace else.  You will, however, have to manually update your
settings in the newly-installed files.

Otherwise, you may simply follow the steps of a new installation and specify that
you want to overwrite any existing files.  This is probably the cleanest way to
upgrade.

5. CONFIGURATION
================
On the first execution, OSS will try and locate the installation of OpenSong and 
from OpenSong's parameters will try and set the location of OpenSong's song files. 
If it succeeds it will automatically create its database (you'll see the progress 
dialog if so). If it can't find the OpenSong files, it will give you a message and 
you'll have to go into the configuration dialog and set those paths manually.

*** Configuration Dialog ***
The Configuraiton Dialog is accessed via the "Configuration" button on the main
screen.  All the parameters in the Configuration Dialog are stored in the 
opensongsearch.ini file.  Other variables are also stored in the .ini file.  It
is probably safest to use the dialog to update the values so that nothing is
accidentally "undone" in the .ini file by editing it directly. When you click 
"save", the changes are written to the OpenSongSearch.ini file.

Dialog Field (.ini file field name)             Purpose
-------------------------------------------     ---------------------------------- 
Text Viewing Application                        This is the application that will
(TextViewApp)                                   be used to view either the OSS log
                                                file or the BaseX log file.  The
												default is to use Notepad. You need
												to supply the full Windows path to
												the executable.
												
OpenSong Song Folder                            This is the full Windows path to 
(OSSongFolder)                                  the folder that contains the 
                                                OpenSong song files. OSS will try
												to get this or guess this but if
												it fails, you'll have to specify
												it manually.
												
OpenSong Progam Path                            This is the full Windows path to 
(OSPgmPath)                                     the folder that contains the 
                                                OpenSong executable.  Sorry for 
												inconsistency, but for this one
												you do NOT specify the executable
												name.  OSS furnishes "opensong.exe"
												itself.
												
Overwrite Log File                              This is a check box (on/off) field
(OverwriteLog)                                  to let you choose whether to 
                                                append to the OSS log file for
												each execution or to replace the
												file at each new execution of OSS.
												Note: if not checked, the OSS log
												file will continue to grow - there
												is no "auto-trim" or "maximum size"
												feature for the log file.
												
Offer to view the log after each execution      This is a check box (on/off) field.
(ViewLog)                                       If you check it, you'll be presented
                                                with a dialog box when you close OSS
												that offers to show you the log file
												for that session (to which you can 
												reply yes or no).  If you leave it 
												unchecked, you'll not see this prompt
												at the end of OSS execution. (this 
												has no bearing on whether the file
												is appended to or not and does not
												erase the log file if you say "no").
												
Show Tool Tips                                  Virtually every field/button/etc. in
(ToolTip)                                       OSS has ToolTip text to give 
                                                contextual help for the usage of OSS.
												Other than the ToolTips and this
												readme file, there is not any "help"
												for OSS as of this writing.  Keeping
												ToolTips on can help in understanding
												how to use OSS but there are a few
												places where the ToolTips can get in
												the way.  A personal preference thing.
												
Log BaseX Query Text                            OSS programmatically creates the XML
(BaseXQueryLog)                                 database query that is sent to BaseX
                                                to do the search.  For debugging or 
												learning purposes, these queries can
												be added to the BaseX log (normally
												they are not). Check this box and
												they will be logged.

Interface Language                              This field contains the two-letter
(OSSLanguage)                                   code of the language that the 
                                                interface of OSS will be displayed
												in.  For the interface with OpenSong
												to work, this language MUST MATCH
												the interface language of OpenSong!
												This restriction may be changed in
												a future version to allow greater 
												flexibility in usage in multi-
												lingual situations.  The values in
												this drop-down combo-box are derived
												from the OSS_LANG_xx.ini files that
												OSS finds in its directory.

Key Send Speed                                  When interfacing with OpenSong, 
(OSSKeySendSpeed)                               OSS sends keystrokes to the 
                                                OpenSong dialog windows.  Some of
												the OpenSong dialogs update with
												each keystroke and sending something
												too fast on a slow machine can
												create problems.  Likewise, on a
												fast machine, the speed can be too
												slow.  Currently the default of 
												500 milliseconds works on a slow
												machine but you'll want to change
												this to something like 50 or even
												5 on a fast machine.  You can 
												experiment with this value to 
												see how it works for you.

Restore Default Window Dimensions               This is not an .ini value but
                                                does reset values stored in the
												.ini file with respect to the
												dimensions of the OSS window.  
												The OSS window can be resized but
												this resizing can create sizes that
												are problematic.  Clicking on this 
												button resets the dimensions of 
												the main OSS window to their 
												default vallues. 

*** other fields in opensongsearch.ini ***
*** (default value)                    ***

OSWindowTitle                                   This is the string in the title
(OpenSong v)                                    of the main OpenSong window that
                                                OSS is looking for to find out if
												OpenSong is running and is used 
												when sending keystrokes to this 
												window.  This is a value that is
												internally stored in OpenSong.
												Changing it in the .ini file 
												could disable the interface
												functionality between OSS and
												OpenSong.

OSClass                                         This is also used for sending
(RBWindow)                                      keystrokes to OpenSong. This is 
                                                a value that is internally 
												stored in OpenSong. Changing it 
												in the .ini file could disable 
												the interface functionality 
												between OSS and OpenSong.

OSSongDialogClass                               This is also used for sending
(RB_CanvasPane41)                               keystrokes to OpenSong. This is
                                                a value that is internally 
												stored in OpenSong. Changing it 
												in the .ini file could disable 
												the interface functionality 
												between OSS and OpenSong.

OSSongDialogAddClass                            This is also used for sending
(Button1)                                       keystrokes to OpenSong. This is
                                                a value that is internally 
												stored in OpenSong. Changing it 
												in the .ini file could disable 
												the interface functionality 
												between OSS and OpenSong.

OSSongDialogCloseClass                          This is also used for sending
(Button2)                                       keystrokes to OpenSong. This is
                                                a value that is internally 
												stored in OpenSong. Changing it 
												in the .ini file could disable 
												the interface functionality 
												between OSS and OpenSong.

OSSWinState                                     These are the coordinates of
(5|5|895|280)                                   position, width and height of
                                                the main OSS window. They are
												saved at the end of every
												execution so that they are
												remembered for the next execution.
												If OSS finds values in here at
												startup that render the dialog
												unusable, it will reset them to
												these default values.  As of this
												version of OSS, when you resize
												the window, the proportional 
												moving of the buttons is not
												correct.  When you restart OSS
												the window dimensions are retained
												but the buttons are repositioned
												correctly.  This may be fixed in
												a future release.

BaseXServer                                     This is the java command to start
(java -cp BaseX.jar org.basex.BaseXServer)      the BaseX server in the background.
                                                if you change this, your search
												functionality will probably not
												work.

BaseXClient                                     This is the java command used
(java -cp BaseX.jar org.basex.BaseXClient -Uadmin -Padmin -o)  when the BaseX
                                                client (OSS) submits its queries
												to the BaseX server.  If you 
												change this, your search 
												functionality will probably not
												work.

BaseXDatabase                                   This is the name of the BaseX
(OpenSongSearch)                                database that will contain your
                                                OpenSong song database in BaseX
												format. I suppose you could call
												this whatever you want.  I'm pretty
												sure it would not change anything.
												I'd just leave well enough alone.
												
SearchInLyrics                                  This is the saved status of the 
(1)                                             checkbox in the main search dialog
                                                that states which fields will be
												searched with the search string you
												enter. 1=search in this field and
												0=don't search in this field. If 
												you changed the status of the check
												box in the main dialog, it is saved
												here for use in the next execution
												of OSS. Default is 1.

SearchInAuthor                                  This is the saved status of the
(1)                                             checkbox in the main search dialog
                                                that states which fields will be
												searched with the search string you
												enter. 1=search in this field and
												0=don't search in this field. If 
												you changed the status of the check
												box in the main dialog, it is saved
												here for use in the next execution
												of OSS. Default is 1.

SearchInTitle                                   This is the saved status of the
(1)                                             checkbox in the main search dialog
                                                that states which fields will be
												searched with the search string you
												enter. 1=search in this field and
												0=don't search in this field. If 
												you changed the status of the check
												box in the main dialog, it is saved
												here for use in the next execution
												of OSS. Default is 1.

SearchInFilePath                                This is the saved status of the
(0)                                             checkbox in the main search dialog
                                                that states which fields will be
												searched with the search string you
												enter. 1=search in this field and
												0=don't search in this field. If 
												you changed the status of the check
												box in the main dialog, it is saved
												here for use in the next execution
												of OSS.  Default is 0.

*** MRU list ***                                This is the list of the 10 most
(s0-s9)                                         recent searches.  This allows one
												to choose a recent search instead
												of typing a new one.  Helpful in 
												some circumstances.  It is 
												important to leave the 10 lines
												of variable names with an "=" after
												them for OSS to function even if 
												you erase the contents of the list.
												

6. USAGE
========
Tooltips ("help") - Instead of authoring a help file (too much work), I created 
lots of tooltips for the various buttons, etc. So, you kind of have to explore 
at first and be willing to leave your mouse over a field or button to find out 
its purpose. The tooltips are all part of the language .ini files so one could 
change the tooltips themselves, if that were desired, to something that was a 
better explanation.

There is a log file for OSS application and one for the BaseX database. The OSS 
log file logs the searches that are made so that one can go back after a service 
and see what what searched for to see if a missing song needs to be added or if 
someone just typed something incorrectly. The BaseX database log is most helpful 
when the BaseX database build/update process fails. This is usually due to a 
problem with the XML in a particular song file. This log will show you which file 
it is and give a somewhat helpful message as to why the database build/update 
failed. The BaseX database log will be there regardless of whether you check the 
option to log the query text or not. This option is specifically to show the full 
XML query text sent to the database associated with the search text that was typed 
in. This can be helpful in debugging or perhaps in learning how the queries can 
be built. Leaving it unchecked does make the log growth a bit slower. At this 
point, there is not an option to not log or auto-maintain the BaseX log. IT JUST 
GROWS. It's not at all a huge thing, but certainly over time it could be. The OSS 
log can be recreated at each execution but there is also no option currently to 
turn off this log either.

The button to restore default window dimensions can be helpful if for some reason 
the window dimensions or screen position have gotten out of whack. You may notice 
that on resizing the main window that relative button positions are not exactly 
proportionally maintained. If you close OSS and reopen it after resizing it, the 
buttons will be positioned in a correct manner.

The "send key speed" setting can be helpful in tuning how OSS works on slower 
computers when it sends keystrokes to OpenSong (which is its method of interfacing 
with OpenSong). This may take some trial and error adjustment to find the happy 
medium. The initial default might be a bit slow on newer computers.

Database Update - It's important to realize that OSS searches a copy of the 
OpenSong song files. The advantage of this version of OSS is that it doesn't have 
to do any reformatting to stuff data into a relational database (which takes some 
time if you have LOTS of songs, like we do). BaseX is an XML database so OSS justs 
tells it which folder is the root of the song file hierarchy and it simply reads 
the files directly and loads them into its database...and it does it pretty fast!

So, if you make a change to a song, add some songs, delete some songs, etc. in 
OpenSong, those changes will only be reflected in the OSS database if you click 
the button to launch the database update. A database of 6500 songs on my slow 
computer takes a minute and a half (which is a COMPLETE rebuild).

Another important thing to realize is that OpenSong and OSS (or more accurately 
BaseX) are both XML apps and as such expect a certain "correctness" to the XML 
they process. Unfortunately, they don't seem to hiccup always on the same things. 
When, during a database (re)build, BaseX encounters an error in the XML, the 
database (re)build will fail. OSS will give you a message stating that and asking 
if you want to view the BaseX log file (different from the OSS log file). I would 
highly encourage you to say "yes." Go to the bottom of the BaseX log file and 
you'll likely find a message stating what BaseX had a problem with. You'll also 
get song count of "-1" if the database (re)build fails. You'll have to correct the 
file in question and start again. This is very unlikely to happen if all your song 
changes/additions come from within OpenSong. OpenSong will write out correct XML. 
Usually where I see it is when I'm importing data from another format and my 
reformatting process didn't do it 100% correctly. Anyway, the BaseX log is your 
friend when you're importing lots of songs into OpenSong.

SEARCHING - Now we come to the heart of the matter...actually searching for songs! 
The basics are that you type the text you're searching for into the search field 
and click on the search button (or simply hit ENTER) and OSS takes care of the 
rest. But it might be good to know some of the ways in which OSS behaves to 
optimize your searching:

PHRASES - OSS searches by contiguous text. So that means it doesn't have the idea 
of atomic search elements and logical operators. It searches a single word or 
phrases. So, "God is great" will not find the same text as "great is God". If you 
have 2 spaces between words in your song files where you should have had 1, the 
text will not be found (a good reason to do some data scrubbing on your song 
files!) 

    Hint: don't type in "obvious" text from the song that is likely to be found 
	in dozens of songs. Choose a more obscure phrase and you'll get a faster 
	result with less hits to wade through.

ACCENTS - On the other hand, accents on characters are ignored such that you can 
type with or without them or even give incorrect accents and the text will be 
found. This has been very helpful for our French text.

MRU LIST - The most recently used list will save the last 10 searches you type in. 
It doesn't recall them as you type, but you can click on the list drop-down arrow 
and re-select a previously used search.

THE HOME KEY - The HOME key will bring you back to the search box and highlight 
the contents of the search field. This means you can hit the HOME key and then 
just start typing. Very convenient, so stop backspacing to erase!

THE ENTER KEY - The ENTER key will also launch the search when your cursor is in
the search field(as will clicking on the search button, of course).

WHICH FIELDS TO SEARCH ON - The check boxes between the search field and the 
search results indicate which fields should be searched. Check the boxes that 
make sense for your song database and for the context of your searching. OSS 
can be used to help organize and clean your song database with this kind of 
searching.

		**************************************************************
		*              WORKING WITH SEARCH RESULTS                   *
		* Here are the ways in which you can use the search results: *
		**************************************************************

SORTING THE RESULTS - Clicking on the title of the column will sort the results 
by that column. Click again and it sorts in the opposite direction.

RIGHT CLICK - This brings up a context menu where you can choose to either view 
the lyrics of the song, edit the song file (I recommend that you specify a good 
editor that deals with XML somewhat intelligently. I personally think Notepad++ 
is ideal for this application.), or indicate that you want to send this song to 
OpenSong. 

	Editing the song file can be helpful while you're projecting if you see an 
	error and want to correct it before you forget what it was. It will not	
	change what's on the projection screen but it will change it for the next 
	time, 	which can be quite handy to deal with issues before they accumulate. 
	Again, if you have the screen real estate, I find it good to have OSS and 
	Notepad++ open together on top and OpenSong taking up the rest of the screen
	(I always make the projection dialog as big as I can - this helps in quickly 
	finding songs in big lists - especially if your worship leaders are prone to 
	starting a song in the 	middle!) With this layout you have everything at 
	your finger tips.  In addition 	to editing song files, if your worship "goes 
	prophetic" (as ours does) and the 	leader starts to sing a phrase, you can 
	type this in in Notepad++ and then quickly 	paste that into the "message" 
	field of OpenSong to facilitate spontaneous singing.  Keeping what was sung 
	in Notepad++ also gives you the ability to reuse a phrase like that and if 
	a real song comes out of a time like that, you've got the words already 
	typed in.

ENTER KEY - Sends the song whose row is high-lighted to OpenSong

DOUBLE CLICK - Sends the song whose row you double-click to OpenSong

INTERFACING WITH OPENSONG - Interfacing with OpenSong is done via sending key 
strokes to the song search dialog that OpenSong presents in List Mode, when you 
want to add an existing song to a set list or in Presentation Mode when you want 
to add an existing song to a presentation list. So, for OSS to work with 
OpenSong, OpenSong must be either in List Mode with an existing list chosen (the 
list can be empty or not) or in Presentation Mode. If it's not, you'll receive a 
message stating that OpenSong is not ready to interface with OSS.

UNDERSTANDING THE OPENSONG SONG LOOKUP DIALOG - The OpenSong "Song Lookup" dialog
has a particularity of function that is good to understand if you have a large
database of songs (several thousand) in different folders.  In the Song Lookup
dialog there is a combox box that lists the different folders that you have in 
your song database.  Then at the top of the list there is a entry for "(Main)"
and "(All)".  

"(Main)" refers to the "root" of the song database folder hierarchy. This is 
where new songs go when you don't put them in a specific folder.  If you're 
using the "pre V1.1 file cache" setting (good for slow machines with large 
databases) you'll find that you can enter your song just fine and you can see 
it in "Song Mode" but if you put it in your list, and you go to display it in 
"List Mode" or in "Presentation Mode" OpenSong can't find it!  If you DON'T use 
the "pre V1.1 file cache" setting this isn't a problem.

"(All)" refers to the combination of ALL your OpenSong database folders.  If you
have a large database, you DON'T want to land here!  Showing the list of ALL of
your songs is SIGNIFICANTLY slower than showing the list of songs in just one of
your folders (including the "Main" folder). OSS avoids displaying this list when
it is sending its keystrokes.  Typically, in a single OpenSong execution, it will
start in the "(All)" folder for the first time and then stay with the last folder
you navigated to when you create your list or searched for a song. So, depending
upon your database size, your first send of a song from OSS to OpenSong *might*
be a bit slow...it *MIGHT* even make OSS hiccup if it's too slow.  Please report
repeated problems with this.  The largest database I've worked with is about
15,000 songs and we worked to make this function, but when the database gets
really big, this can be problematic...especially if the machine itself is not very
responsive. 

Depending on the complexity of the song file folder hierarchy, the actual 
"typing" that OSS does can be fairly rapid or a bit slow. Also, this is where the 
key send delay time is important to set based on the speed of your computer. If 
it sends key strokes too fast, then OSS and/or OpenSong can get confused. If it 
sends them too slowly...well, it's no fun waiting while the computer counts to 10!

CREATING SET LISTS - In a future version of OSS, I want to be able to create set
lists OUTSIDE of OpenSong.  This will be MUCH faster.  But for now, if you have a
list of songs to input you can use OSS to help make the job easier:
1. I suggest setting your OSS and OpenSong dialogs such that they are both open at 
   the same (typically one on top of the other since they are both predominantly 
   "landscape" windows).  
2. Get your blank set list up (or existing set list if you want) and active on 
   the OpenSong side.
3. Type in a fairly obscure word or phrase in the lyrics or title of the song.
   Doing this will reduce your result set and make it easier to quickly select the
   correct song.
4. In OSS, if you know you got the right song in your search results without 
   needing to see the lyrics (Right-Click > "Show Lyrics for this Song"), just
   use your arrow keys to highlight the right song and press ENTER.
5. Let OSS do your heavy lifting.  It will automatically: 
   - switch over to OpenSong
   - open up the "Song Lookup" dialog
   - navigate to the right folder
   - type the name of the song
   - press the ADD key
   - wait for OpenSong to re-display the "Song Lookup" dialog
   - press the DONE key
   - switch back over to OSS
   - highlight the contents of the search field
   
So now you just start typing again (step #3) for the next song.  No need to clear
out the search field or switch windows, etc.  If you work WITH OSS, it can become
a fairly smooth process. 
 
7. TRANSLATION
==============
INTERFACE LANGUAGE - OSS comes with English, French and DUTCH translations (SVP 
mes amis franais, ne me perscutez pas pour la traduction. Au lieu de a, merci 
de m'envoyer des corrections!). 

CREATING A NEW TRANSLATION - Additional languages can be added by taking the 
OSS_LANG_EN.ini file, copying it and renaming it to OSS_LANG_XX.ini where "XX" 
represents the language that you're translating into. Then simply edit the file 
and translate the text to the right of the "=" (equals sign) on each line into 
your target language. For that matter you can change the English text as well to 
whatever works for you. If you do create a translation, please send it to me and 
I'll package it with the download.

!!! VERY IMPORTANT !!!
As of this version (2.2), for the interface between OSS and OpenSong to work 
correctly, OSS has to look for specific strings in the dialog windows of OpenSong
that are LANGUAGE-SPECIFIC.  These strings are stored in the OSS_LANG_xx.ini files
for each language.  In a future version, I want to separate this and auto-detect
the OpenSong interface language so that this is not such a "delicate" thing that
one might mess up by editing the OSS translation file.  Until then, however, one
must be careful when changing the translation file.  Here is the text from a post
I put on the forum that discusses this in more detail to help you if you're
translating or changing the languge files to suit your purposes:

******************* Forum Post ***************************************************
OSS can search all day on a song database and give you good results, but its main 
value is in feeding those results directly (well, sort of ;c)) to OpenSong. To do 
this OSS has to find the right window and right controls to send keystrokes to. To 
find the windows, it searches for specific character strings. If it doesn't find 
these strings, it assumes that OpenSong isn't open or isn't on the right screen. 
When OpenSong displays in French, or German, for example, it can't search for the 
English strings and be successful. That's one reason why there are language files 
like: "OSS_LANG_EN.ini" and "OSS_LANG_FR.ini" in the OpenSongSearch directory.

Most of the strings in the language files are for the OSS user interface, but 
there are a few that are essential for the integration with OpenSong. For the 
OSS user interface, you can use what you want, but for the OpenSong integration, 
the strings must match exactly with what is displayed by OpenSong.

OpenSong also has language files (OSS uses the "ini file" format and OpenSong 
uses an "xml file" that you can find in the "OpenSong Languages" sub-directory in 
the OpenSong program installation directory. Maybe some day I'll just read these 
directly to get my information, but I'm not there yet, so you have to do some work 
yourself (sorry about that).

Here are the strings in the OSS language file that must be set to match the 
OpenSong language file so that OSS can properly interface with OpenSong (use the 
value in double quotes in the OpenSong language file so that, for example, in the 
OSS ini file, you have OSChooseSong=Song Lookup):

OpenSongSearch language file 	   OpenSong language file
============================       ======================
OSChooseSong 	                   <song_lookup title="Song Lookup">
OSChooseSongText 	               <shared> <=== first find this section
                                   <add caption="Add"/> <=== then use this
OSPresControl 	                   <presentation_helper title="Presentation Helper">
OSPresControlText 	               <actions caption="Actions">
OSTextMatch 	                   <current_set caption="Current Set">
guiListModeCheck1 	               <sets caption="Sets">
guiListModeCheck2 	               <current_item caption="Current Item">
guiDoneButton 	                   <shared> <=== first find this section
                                   <done caption="Done"/> <=== then use this

Note: In version 2.0 and 2.1 of OSS, the English ini file has "Print" for 
OSTextMatch. This works in English, but for some reason I chose "hidden text" 
for that string, which doesn't help anyone who is trying to translate! So I'll 
be changing to the value in "current_set caption" as shown in the table above.

Note: there is one more important string and that is in the 
OpenSongSearch.ini file:

    OSWindowTitle=OpenSong v

Just leave that one as it is. I can't imagine that it changes in any language 
and it is not in the OpenSong language files either.

So, if you change AT LEAST these values, you should be able to use OpenSongSearch 
in an integrated way with OpenSong running in your language. I would suggest, 
however, that you create a copy of the English or French OSS language file and 
begin your own language file for your language.

Note: The name of the OSS language file is what allows OSS to recognize that it 
exists and present it as a choice in the configuration dialog. The format of the 
file name is:

    OSS_LANG_xx.ini

Where the "xx" should be the 2 character language code for your language. For 
example, "NL" for Dutch (Netherlands) or "DE" for German (Deutsch).
******************** end of forum post *******************************************

8. CHANGE LOG
=============
  == 2.2 ==
  * Re-wrote the readme.txt file and added a LICENSE.txt file since I've put OSS
    out under the GNU General Public License
  * ADD - Allow paths in the configuration dialog to use standard system variables 
          (Caleb's suggestion)
  * ADD - Handle the situation of the Song Lookup dialog being already displayed
  * ADD - Change the song lookup dialog interaction to use the f4 drop-down and 
          to avoid the (all) folder
  * ADD - Change the song lookup dialog interaction so that it can deal with a 
          long or short wait for response from the dialog
  * ADD - Allow the Song Lookup dialog to be already open in presentation mode
  * ADD - Sped up the list view clearing
  * ADD - Added code in the database load to handle mixed case XML tags (to make 
          them all lower case) because the query text was case sensitive
  * FIX - changed some input edits that were operating against the wrong variables
  * FIX - Streamlined a few bits of code
  * FIX - Change the message of database size when language is changed
  * FIX - fix the mix up in rows when you sort and then select a song to display 
          its lyrics
  * FIX - Handle html entities so that they display correctly when found
  == 2.1 ==
  * In list prep mode, after having hit "ok", return the focus to OSS for
    more rapid song adding. --done 2.1
  * Make sure the OS search dialog is active for all key stroke sending in
    both presentation and list mode. (fixes (subscript used with non-array 
	variable") --done 2.1
  * Compile with obfuscator striponly to facilitate line number debugging in
    the compiled code --done 2.1
  * Change the message about starting OS to reflect that the problem could
    be a different language interface --done 2.1
  == future possibilities ==
  * Use $GUI_BKCOLOR_LV_ALTERNATE (somehow) to create alternate background colors
    for the ListView lines (better readability)
  * Detect OS language interface and give message about mismatch (perhaps use BaseX)
    to query the plist file? (or maybe just a super regex)
  * For the interface strings, read the OS plist to know what language is being used
    and then read the language file to find the strings (query using basex?)
  * separate interface language strings from OSS user interface language strings
  * Using the code from here:
    http://www.autoitscript.com/forum/topic/135536-how-to-make-the-gui-resizable/
	make the resizing smooth (so that every button stays where it should)
  * Make sure that the path for OpenSong's files and what the user specifies
    in the configuration match (perhaps put a warning message in the
	configuration dialog or an "are you sure" message box) Tell them that
	this can cause problems
  * Make sure that no folder in the Songs hierarchy has a _cache file at the
    beginning of the database rebuild...not only the root level
  * Create/Update/Delete set lists directly!
  * Add a check box to "keep on top" to allow the OSS window to always be
    on top even if it doesn't have the focus.
  * Make splash screen optional (with warning about "working" time) and perhaps
    semi-transparent
  * package with an installer
  **** feel free to go to the OSS forums and offer up your suggestions!!! ****
