Sign in to follow this  
Followers 0
feldmaneyal

Rsh With Autoit Script

3 posts in this topic

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

Share this post


Link to post
Share on other sites



More info, the script basiclly 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)

sleep(1000)

WinWaitActive("Security Alert")

Send ("Yes")

Share this post


Link to post
Share on other sites

More info, the script basiclly 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)

sleep(1000)

WinWaitActive("Security Alert")

Send ("Yes")

FYI Just so someone else does not get stuck on this issue, heres a way around this. Download the Ataman rsh or telnet server and grab the fg.exe binary. Then exec your script like

rsh host -l user "fg.exe \"AutoIt3 script.au3\""

Works great with any rsh/ssh/telnet server!

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  
Followers 0