Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Greedy Focus window
#1
I'm trying to do some downloads via IE (https) and using the acc obj works fine when something jumps over the top of the browser but those stupid win("File Download" "#32770" "" 0x8) windows won't seem to let the "DoDefaultAction" or "Mouse(1)" start the download process by pressing the button even though it doesn't have focus.

is there anyway to make a window retain focus for itself and anything it creates?
An old blog on QM coding and automation.

The Macro Hook
#2
No.

I tested with IE7. The download dialog begins to work after 0.5 seconds since activation. Insert this before clicking the button:

Code:
Copy      Help
int h=win("File Download")
rep
,act h
,0.6
,if(win=h) break
#3
thanks....i was afraid of that...i was building in some 0 WC and using an act but it's probably better to just do it this way....**sigh*** Sad
An old blog on QM coding and automation.

The Macro Hook


Forum Jump:


Users browsing this thread: 1 Guest(s)