Normalwindowsize and Position

Discussion of Inner Space

Moderators: Lavish Software Team, Moderators

Post Reply
BoJMorph
GamingTools Subscriber
Posts: 2
Joined: Mon Feb 04, 2008 8:24 am

Normalwindowsize and Position

Post by BoJMorph » Wed Feb 06, 2008 1:18 pm

Hy,

maybe someone can tell me how i can resigze the NormalWindow to another position and and another size.

When i tabet out from fullscrennmode to the normalmode the resolution is 1024x768 and the position is in the upper lft corner.

What must is do that the resolution change to 1400x900 and the position should be around 100x100pxl away from the left corner.

And where i put in that commands that it will be used every time i start Innerspace.

Thx for every Help.

Regards

PS: Sorry for the bad english

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Wed Feb 06, 2008 8:23 pm

normalposition and normalsize are aliases, which allow you to type one command to mean another. Here's the defaults shown for these if you type "alias -list" in a session

Code: Select all

normalposition=WindowPos -viewable ${Display.DesktopX},${Display.DesktopY}
normalsize=WindowSize -viewable 1024x768
These commands are executed by the bind when you press shift+alt+n.

All of this behavior is simply default, all installed by the default startup sequence executing defaultstartup.iss in Session Startup. All of this can be overridden by adding commands to the startup sequence.

Open the IS configuration window, and in the upper right corner underneath "Startup Sequences", click Startup underneath Session. Add an entry to the startup sequence in the form that comes up by clicking Insert. Click on "New Entry" in the list on the left, and name it something (in the text box at top) that describes the command you're entering -- it doesn't really matter what it's named, it's for your own purposes. For the command to execute, paste the following by giving the text box keyboard focus (by clicking on it) and hitting either SHIFT+INSERT or CTRL+V (both of which are standard paste hotkeys):

Code: Select all

alias normalsize "WindowSize -viewable 1400x900"
Repeat the same thing for setting normalposition, with the following command:

Code: Select all

alias normalposition "WindowPos -viewable \${Display.DesktopX:Inc[100]},\${Display.DesktopY:Inc[100]}"
This will make the normal size 1400x900, and positioned 100,100 away from the top left corner.

Once you are finished modifying the startup sequence, click on Finished. To save your changes so that they take effect (the next time you launch a session), click Apply.

BoJMorph
GamingTools Subscriber
Posts: 2
Joined: Mon Feb 04, 2008 8:24 am

Post by BoJMorph » Thu Feb 07, 2008 10:52 am

Thx for the detailed Information.

Works perfect.

Post Reply