Jump to content

Task schedule & batch & IE


Recommended Posts

Hi Everyone,

I wrote autoit script that work perfectly on exe.

nonetheless, when I just make it work together with window server 2008 task schedule The process stop at below code section.

Local $Btnlogin = _IEGetObjByName($oIE, "LOGIN")
_IEAction($Btnlogin, "click")
;~ Send("{ENTER}")


sleep(7000)

;~Stop here
send($path2)

 

I though because when i run on schedule it has taskeng.exe appear then IE bar is grey.

Untitled.jpg.226cb848d197560692038681023

 

Please Help , Thank a ton.

Link to comment
Share on other sites

Check out the task schedule UDF from the example scripts. It seems you haven't created the task to support windows. I think it was the checkbox "only run if the user is logged in"

Link to comment
Share on other sites

The task can go but stop at step sent string because IE is not an active (color Blue @menu bar) window.

could we set it to an active window when run through task schedule?

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...