Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Find All Open Programs
#27
To add array element, I usually use this:

a[a.redim(-1)]=h

a.redim(-1) resizes the array by 1 element and returns the index of the element.

Or use this:

int ni
ni=a.redim(-1)
a[ni]=h

_____


win("" "" "IEXPLORE")

will return hidden windows too. Use flag 0x400 if you need only visible windows.

rep
,0.1
,h=win("" "" "IEXPLORE" 0x400)
,if(h)
,,a[a.redim(-1)]=h
,,hid h


Use

,hid- h; err


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)