Jump to content

Rsh With Autoit Script


Recommended Posts

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")

Link to comment
Share on other sites

  • 2 years later...

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!

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...