Difference between revisions of "Menu Window Transparent"

From Wiki
Jump to: navigation, search
(Example)
(Example)
Line 14: Line 14:
 
== Example ==
 
== Example ==
  
;Window will be dark black
+
menu window $000000 ;Window will be dark black
menu window $000000
+
menu show 200 200 ;Shows window
  
;Shows window
+
for %i 0 100 ;Loops from 0 to 100
menu show 200 200
+
 
+
;Loops from 0 to 100
+
for %i 0 100
+
 
{
 
{
 
     menu window transparent %i ;Sets the transparency of the window
 
     menu window transparent %i ;Sets the transparency of the window
Line 27: Line 23:
 
}
 
}
  
;Terminates the script
+
halt ;Terminates the script
halt
+

Revision as of 11:51, 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