Difference between revisions of "Menu Window Transparent"

From Wiki
Jump to: navigation, search
(Description)
(Example)
Line 16: Line 16:
 
== Example ==
 
== Example ==
  
menu window $000000 ;Window will be dark black
+
<pre>menu window $000000 ;Window will be dark black
 
menu show 200 200 ;Shows window
 
menu show 200 200 ;Shows window
  
Line 26: Line 26:
  
 
halt ;Terminates the script
 
halt ;Terminates the script
 +
</pre>

Revision as of 11:57, 28 July 2008

Synopsis

menu window transparent [ opacity percentile ]


Description

The menu window transparent sets the transparency of the window ( 0 is almost invisible and 100 is fully opaque )
Note: This command doesn't work under Linux + Wine

Example

menu window $000000 ;Window will be dark black
menu show 200 200 ;Shows window

for %i 0 100 ;Loops from 0 to 100
{
    menu window transparent %i ;Sets the transparency of the window
    wait 5 ;Waits 1/4 second
}

halt ;Terminates the script