Page 1 of 1

How does one start SongBeamer NOT in full-screen?

Posted: Fri Jan 01, 2010 8:22 pm
by wnpaul
Is there a way to tell SongBeamer not to start up full-screen, but to remember the size the window was manually set to the last time it was used?

It is tedious to have to click "restore" everytime one starts SongBeamer.

Posted: Fri Jan 01, 2010 9:17 pm
by Sebastian
SongBeamer always starts in full screen mode. You could use a macro to set the window style to restored, and then set the desired position. Save the following macro to a file (for example startup.sbpas):

Code: Select all

Application.MainForm.WindowState := wsNormal;
Application.MainForm.SetBounds(0, 0, 400, 300); // left, top, width, height
Start SongBeamer with the /autorun command line switch and pass the name of the Script. For example:

Code: Select all

"C:\Program Files\SongBeamer\SongBeamer.exe" /autorun "C:\Users\Sebastian\Documents\SongBeamer\Scripts\StartUp.sbpas"
You can change the "Target" of the shortcut in the start menu. You will probably need to modify the file names of the example.