Difference between revisions of "ISKernel:WindowSize (Command)"

From Lavish Software Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
== Syntax ==
 
== Syntax ==
 +
WindowSize -fullscreen|-reset|[-viewable] #x#
  
== Description ==
+
== Forms ==
 +
*Windowsize -fullscreen - makes the window as large as the current window viewable size
 +
*Windowsize -rescale <#x#> - rescales the window to <#x#> resolution
 +
*Windowsize -reset - resets the viewable window size to the resolution of the game
 +
*The -viewable option uses the windowsize without the borders and titlebar in its calculations (Preferred)
  
 
== Examples ==
 
== Examples ==
 +
===Set the window resolution to Fullscreen===
 +
*Windowsize -fullscreen
 +
;Output
 +
New Window Size: 1288x1004 (Viewable: 1280x977)
 +
===Reset windowsize to games resolution===
 +
*Windowsize -reset
 +
;Output
 +
New Window Size: 1288x1004 (Viewable: 1280x977)
 +
===Set window to 800x600===
 +
*Windowsize -viewable 800x600
 +
;Output
 +
New Window Size: 808x627 (Viewable: 800x600)
  
 
== See Also ==
 
== See Also ==
 
*[[LavishScript:Commands|LavishScript Commands]]
 
*[[LavishScript:Commands|LavishScript Commands]]
 +
*[[IS:Kernel#Commands|Kernel Commands]]
 
*[[IS:Session#Commands|Inner Space Session Commands]]
 
*[[IS:Session#Commands|Inner Space Session Commands]]
 +
  
 
{{Command-Stub}}
 
{{Command-Stub}}
 +
[[Category:Inner Space]]
 +
[[Category:Inner Space Kernel]]
 +
[[Category:Inner Space Kernel Commands]]

Latest revision as of 04:31, 19 October 2005

Syntax

WindowSize -fullscreen|-reset|[-viewable] #x#

Forms

  • Windowsize -fullscreen - makes the window as large as the current window viewable size
  • Windowsize -rescale <#x#> - rescales the window to <#x#> resolution
  • Windowsize -reset - resets the viewable window size to the resolution of the game
  • The -viewable option uses the windowsize without the borders and titlebar in its calculations (Preferred)

Examples

Set the window resolution to Fullscreen

  • Windowsize -fullscreen
Output
New Window Size: 1288x1004 (Viewable: 1280x977)

Reset windowsize to games resolution

  • Windowsize -reset
Output
New Window Size: 1288x1004 (Viewable: 1280x977)

Set window to 800x600

  • Windowsize -viewable 800x600
Output
New Window Size: 808x627 (Viewable: 800x600)

See Also