sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25969
Re: [Question #248663]: Find running program (using App.focus) for a process started via command (e.g. java -jar ....)
Question #248663 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/248663
tombrus posted a new comment:
I struggled with the same issue and finally solved it in the indicated
way. I thought it was a bit brittle.
I tried to guess the name in various ways but found myself in the blind
here doing trial and error. I thought it would be helpful to be able to
get a list of all running applications with their names. This would need
a change in native Mac code. I am using the java API so I could then
scan that list in java and decide what 'my' application is named.
Another thing I noticed is that the match on application name return
just one appl that happens to have that text snippet. It would be handy
to get a list of all matching applications.
The above two could be combined by one method that returns a list of all
applications matching a certain rexexp: passing ".*" would give me all
applications.
Good idea?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.