How does one start SongBeamer NOT in full-screen?

Let us know about any problems in SongBeamer
Post Reply
wnpaul
Posts: 8
Joined: Sat May 23, 2009 6:24 am

How does one start SongBeamer NOT in full-screen?

Post 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.
Sebastian
SongBeamer
Posts: 207
Joined: Sat Apr 22, 2006 10:58 pm

Post 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.
Post Reply