App.open in remote desktop

Asked by hakim johari

Hi,

I want to open an application by using this script

App.open("C:\Program Files (x86)\xxx\xxx.exe")

but this folder is actually in my remote desktop connection, eventho the remote desktop is in the background my application does not start.

Do I need to start sikuli in my remote desktop?

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

no, not possible this way.

The App class functions need to be run on the machine hosting the application to be managed.

... hence you need Sikuli on the remote machine.

... but there are many other ways, to start an application on a remote machine: Google is your friend ;-)

Revision history for this message
hakim johari (hakim-johari) said :
#2

then I'll just use find and doubleClick method

but how can I force terminate the application without clicking the 'X' button on the top right of every app.

since App class function cannot be used then I think App.close is also out of the question right?

Revision history for this message
RaiMan (raimund-hocke) said :
#3

--- since App class function cannot be used then I think App.close is also out of the question right?

... YES ;-)

Can you help with this problem?

Provide an answer of your own, or ask hakim johari for more information if necessary.

To post a message you must log in.