Jump to content

Remote Execution of Screen Scraping Script


 Share

Recommended Posts

Hi there.

I'm relativly new to screen scraping and have a probably rather easy question for a more experienced person. Any help would be much appreciated:

I have a perl script that calls auto-it and pops up the calculator on my PC.

I need to execute this script remotly. So I use telnet to remotely login to my PC from another PC, execute the script and see a calculator window popup on my PC.

Does anyone have any recommendations for acheiving this?

Thanks in advance for your help,

Kev

Link to comment
Share on other sites

Search for TCP in the help file.

Or, look at this topic: http://www.autoitscript.com/forum/index.php?showtopic=20589

#)

Edited by nfwu
Link to comment
Share on other sites

Send a string, lets say ~~exec~~:calc.exe from client-side.

On server-side, you'll have to add a line that interprets that stuff, like

If StringinStr($retv, ~~exec~~) Then
   $retv=StringSplit($retv, ":")
   Run($retv[2], @ScriptDir)
EndIf

Put that around the lines where you interpret ~~bye~~ (hope you have that example :) )...

Edited by dabus
Link to comment
Share on other sites

  • 3 months later...

So would I expect to see a calculator pop up on my PC screen if I was to execute this remotely?

If I understand your question, you want to login to remote system from your local system and execute something on the remote system that would then redirect the output to the local system?

If that is the case, then you are looking for some type of X server for windows. This effectively allows you to export your display on the remote system back to your local system.

That being said, it is possible with Autoit to execute a script on a remote system. However, the output stays on the remote system.

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