Question #179709 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/179709

    Status: Answered => Open

Vinay Kulkarni is still having a problem:
All instances of application have same title. That’s why I am trying to
create instance. I was looking at getting process id from windows os. Is
there any method in python to get process id of app?

Thanks & Regards,
Vinay Kulkarni
Ishnatek Systems & Services Pvt. Ltd.
Contact : +91 8956345939

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of RaiMan
Sent: Wednesday, November 23, 2011 3:01 PM
To: [email protected]
Subject: Re: [Question #179709]: How to open any application from user defined 
path

Your question #179709 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/179709

    Status: Open => Answered

RaiMan proposed the following answer:
as already mentioned in our private conversation:

--- App.open() 
cannot be used in your case, since it does not allow, to specify a start 
directory

--- os.popen()
can be used in combination with Window's start command, to start your app from 
one of your configuration directories, but it does not return an App instance, 
that can be used later

--- window title for app switching
If your different app instances do not have different window titles, you will 
not be able, to switch between these apps using Sikuli's switchApp() or 
App.focus().
If they have different window titles, use switchApp().

--- other possibilities
if the app window content makes them distinguishable, you might look for this 
and use alt-tab to switch the apps. Or you might use clicking the task bar to 
switch between the app instances, since they should stay there in the order 
they where started.

-- 
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/sikuli/+question/179709/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/sikuli/+question/179709

You received this question notification because you asked the question.

You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to