SongBeamer Forums Forum Index SongBeamer Forums

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How does one start SongBeamer NOT in full-screen?

 
Post new topic   Reply to topic    SongBeamer Forums Forum Index -> Technical Questions
View previous topic :: View next topic  
Author Message
wnpaul



Joined: 23 May 2009
Posts: 8

PostPosted: Fri Jan 01, 2010 8:22 pm    Post subject: How does one start SongBeamer NOT in full-screen? Reply with quote

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.
Back to top
View user's profile Send private message
Sebastian
SongBeamer


Joined: 22 Apr 2006
Posts: 196

PostPosted: Fri Jan 01, 2010 9:17 pm    Post subject: Reply with quote

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:
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:
"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.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    SongBeamer Forums Forum Index -> Technical Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group