iMacros.net Forum

iMacros stealing focus

iMacros stealing focus

Posted: Mon Mar 19, 2007 2:24 pm

by Tech Support

We have had reports about iMacros stealing focus from the currently active application. This usually occurs when iMacros is run in tray or silent mode.

If you experience problems with iMacros stealing focus you can use Fast User Switching. The idea is that Fast User Switching allows you to be logged in to the same computer with two different users. You are able to switch between the two user accounts using only a keystroke and you do not need to logoff and login again, thus no application you are currently working on is closed.

Suppose you are working as User A. For replaying your macro you fast switch to User B and start iMacros. Then fast switch back to User A and continue working as usual.

The iMacros Browser, iMacros for Internet Explorer and iMacros for Firefox do not steal the focus if they the run typical macros. The focus issue occurs only if either the website or iMacros triggers dialog boxes. iMacros handles and closes the dialog boxes, but the split second they appear are enough to remove the focus from the foreground application.

I have a VBScript with an InputBox. When I display the InputBox, the iMacros browser steals the focus. This occurs with both the iMacros browser and Internet Explorer. Is there way to prevent the browser from stealing the focus so an InputBox can be displayed?

Posted: Wed Sep 26, 2007 11:18 pm

by pfreet

I will add one possibly important thing. The page I am having trouble with has this:

<BODY leftMargin=2 topMargin=2 onBlur="self.focus();">

Is this possibly causing the problem? I have no way to change the javascript, this is not my site. Any suggestions for getting around this?

Re: iMacros stealing focus

Posted: Mon Nov 03, 2008 8:46 pm

by jayv

my script running in tray is also stealling focus. However i do not believe there is are dialogues involved nor am i using any of the commands listed below. However, the page it is accessing is SSL. Could that be causing the focus to be stolen? Anyway I can confirm what is going here? Is there anyway i can prevent this?

Re: iMacros stealing focus

Posted: Fri Dec 12, 2008 11:43 am

by strickland911

Well, my situation is different. Does Imacro have the ability to cancel the action if the action just made will turn off the Imacro? And if possible, do another action so the process can remain? I really need help in this one. I have been experiencing this for days and fix the process every time the action just made is an action for another process.

Re: iMacros stealing focus

Posted: Wed Dec 17, 2008 11:02 pm

by Tech Support

Well, my situation is different. Does Imacro have the ability to cancel the action if the action just made will turn off the Imacro?