Page 1 of 1

Know when a page or tab is in focus

PostPosted: Thu May 27, 2021 9:49 am
by CarolynS
Morning.

Have you got any way to guarantee that a particular page or tab is "in focus"?

Thanks

Re: Know when a page or tab is in focus

PostPosted: Fri May 28, 2021 10:30 am
by eValid
CarolynS wrote:Morning.

Have you got any way to guarantee that a particular page or tab is "in focus"?

Thanks


Yes CarolynS, eValid does have such a command called : Focus wid

where wid is the number of the window you want to put into focus.

The first window in any test playback sequence is always wid=0 and the windows are always numbered strictly in the order of appearance.

Important note: If the script deletes a window the numbers are NOT updated.

The nth window opened in a playback is always the "n-1" 1st one.


-- eValid Support