4-5 Macros
4-26
WINMIN Minimizes a specified window
Applicable versions System Version 6.6 or higher
Format WINMIN(S1, S2)
Function
Minimizes a window specified with S1.
Set the following search conditions for each bit with S2.
The 0 bit to 3rd bit:
0:Window title that completely matches with S1.
1:Window title that matches with the number of characters of S1.
2:Window title that matches with the number of characters of S1 (Except for
a folder).
Use Unicode if you use a symbol to specify a string with S1.
Return Value
0: Completed normally
-1: No specified window
Example WINMIN("TEST",0) ; ‘Minimize a window titled TEST.
WINNORMAL Restores a size of a specified window
Applicable versions System Version 6.6 or higher
Format WINNORMAL(S1, S2)
Function
Restores a size of a window specified with S1.
Set the following search conditions for each bit with S2.
The 0 bit to 3rd bit:
0:Window title that completely matches with S1.
1:Window title that matches with the number of characters of S1.
2:Window title that matches with the number of characters of S1 (Except for
a folder).
Use Unicode if you use a symbol to specify a string with S1.
Return Value
0: Completed normally
-1: No specified window
Example
WINNORMAL("TEST",0) ;
‘Restore a size of a window titled TEST.