Jump to content
Sign in to follow this  

Recommended Posts

My script (autoIT) work fine locally, but when I try to operate it by rsh it start and hang. any idea?

The script basically lunch https page and the window that pop up is the "Security Alert" - which the script hang there - any idea?

Without rsh works fine.

$page = "http://" & $host & ":1751/athena/framework/index.jsp"

Run("C:\Program Files\Intern~1\IEXPLORE.EXE "& $page)


WinWaitActive("Security Alert")

Send ("Yes")

Share this post

Link to post
Share on other sites

if I get your question right, you may be opening it by remote?

If so, winwait functions don't work too well when they are not actually displayed.

I use a few scripts to do remote functions, and you need to watch out for window type functions.

The program may still be running on the remote machine, I had this problem in the past before. ( I had 20 copies of the program in a winwait state, and since the window never actually is displayed, autoit will not actually click anything.

AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...