Download Print this page

Omron NS Reference Manual page 68

Hide thumbs Also See for NS:

Advertisement

Section2 Functions
NS series Macro Reference
WINMAX
Maximizes a specified window
Applicable versions
Format
Function
Return Value
Example
WINMIN
Minimizes a specified window
Applicable versions
Format
Function
Return Value
Example
System Version 6.6 or higher
WINMAX(S1,S2)
Maximizes 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.
0 :Completed normally
-1:No specified window
WINMAX("TEST",0) ; 'Maximize a window titled TEST.
System Version 6.6 or higher
WINMIN(S1,S2)
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.
0 :Completed normally
-1:No specified window
WINMIN("TEST",0) ; 'Minimize a window titled TEST.
48

Advertisement

loading

This manual is also suitable for:

Ns-series