Jump to content
Sign in to follow this  
juanamo

ImageSearch in remote server

Recommended Posts

Hello.

I am using Autoit to control a web page that is in FlashPlayer and I need to search some images with ImageSearch.
The au3 file is on a server and the image search works well when I connect to a remote desktop and start the script.
Also when I run it using psexec and I have the remote desktop open, it also works well for me.

The problem I have when I run the script using psexec and I'm not connected by remote desktop. In that case ImageSeach does not find any image.

My final idea is to start the script on the server from a web page that will be hosted on that same server.

Is it possible to use ImageSearch in background?

Thank you.

 

Share this post


Link to post
Share on other sites
28 minutes ago, juanamo said:

Hello.

I am using Autoit to control a web page (not a game) that is in FlashPlayer and I need to search some images with ImageSearch.
The au3 file is on a server and the image search works well when I connect to a remote desktop and start the script.
Also when I run it using psexec and I have the remote desktop open, it also works well for me.

The problem I have when I run the script using psexec and I'm not connected by remote desktop. In that case ImageSeach does not find any image.

My final idea is to start the script on the server from a web page that will be hosted on that same server.

Is it possible to use ImageSearch in background?

Thank you.

 

 

Share this post


Link to post
Share on other sites

I'm pretty sure your problem is that without an active connection to the server (RDP), there is no "Active Desktop" to display the image on.  This has been discussed many times here and there is no easy solution.


hmm... I guess I have to have a signature...

Share this post


Link to post
Share on other sites

Thanks for your quick response.
How could I do it?
Is it possible to activate the connection to the server (RDP) from the Autoit script?
Sorry, but I can not find any solution in the forum. I'm new to this topic ...
Thank you.

Share this post


Link to post
Share on other sites

I only have the problem in ImageSearch. The rest, (ControlClick, ControlSend) works well in background ...
I hope someone can help me.

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