Basic Examples (2)
Basic Examples
(2)
Get all window handles:
In[7]:=
Out[7]//Short=
{66526,66528,66532,66530,66536,66524,437,196658,65778,65742,65688,54664514,17698152}
———
Check how many windows are minimized:
<<NETLink`IsIconic=DefineDLLFunction["IsIconic","user32.dll","BOOL",{"HWND"}];CountsFunction[{hwnd},hwndPointer=NETNew["System.IntPtr",hwnd];res=IsIconic[hwndPointer];ReleaseNETObject[hwndPointer];Replace[res,{0False,1True}]]/@[]
Out[10]=
False446,True2
Possible Issues (1)
Possible Issues
(1)