> ..
>
[quoted text clipped - 8 lines]
>
> Message posted via JavaKB.comhttp://www.javakb.com/Uwe/Forums.aspx/java-general/200706/1
...
>I am new to this forum thing, i did "multi-post" but i did it only on
>2 sperate groups, i
>spent quite some time frasing my question and if a where to rewrite
>it,it would not have
>been better than my first attempt, im sorry this offended you,,
It did not offend me. Don't sweat it.
>...i wont do it again
Note that it is OK (with most people) to *cross*-post
messages between two groups. Read that first link I put,
it explains the difference, and why most people do not like
multi-posting. Here is the link again
<http://www.physci.org/codes/javafaq.html#xpost>
>now that i know its a no no.
Cool. But be aware you can achieve much the same
effect, without the sidetracking comments, by
cross-posting.
...
>i would still apreciate some help ...
FWIW (For what it's worth) your original speculations
about the Robot, combined with Twisted's comment
on JNI, pretty much sum it up. I (for one) know of no
other ways you might achieve the desired goal.
I will add though, in case you had not already realised,
that Java is not a language well suited to these 'delve
into the guts of the OS' type problems.
Robot is very kludgy and fragile for this type of problem.
JNI is platform specific, so most of the code will be..
something non Java, called by a thin Java layer.

Signature
Andrew Thompson
http://www.athompson.info/andrew/
tommygun101 - 08 Jun 2007 13:14 GMT
> Robot is very kludgy and fragile for this type of problem.
> JNI is platform specific, so most of the code will be..
> something non Java, called by a thin Java layer.
thats intersting,..
OS <--> java <--> Mathematica
i was thinking of using java as a bridge to get info about the
system that mathematica could not get and then pass
the info to mathematica to use in its process,
So, if java will not be adequate, do you know which programming
language
would be a good bet to check out,
This would be much better than doing my other alternative,.. which
was
print screen and then analysing the text and the boxes in the
task bar using the haar wavelet, but this would be too expensive
for the simple task i need.
Lew - 08 Jun 2007 15:16 GMT
> print screen and then analysing the text and the boxes in the
> task bar using the haar wavelet, but this would be too expensive
> for the simple task i need.
Maybe so, but what an extremely cool idea!
Do you have any algorithms or code you'd care to share on that approach?

Signature
Lew
tommygun101 - 08 Jun 2007 18:06 GMT
> Do you have any algorithms or code you'd care to share on that approach?
i will make a new thread, because this is a bit off topic on the
current thread
tommygun101 - 08 Jun 2007 18:08 GMT
> > Do you have any algorithms or code you'd care to share on that approach?
>
> i will make a new thread, because this is a bit off topic on the
> current thread
Text image analysis with the haar wavelet---> check it out when im done
Joshua Cranmer - 09 Jun 2007 18:31 GMT
>> Robot is very kludgy and fragile for this type of problem.
>> JNI is platform specific, so most of the code will be..
[quoted text clipped - 11 lines]
> language
> would be a good bet to check out,
Try using MVC, MVC++, or MVB. I'm not an expert on the Windows API, but
there should be some down-and-dirty stuff to grab process information
and dispatch events to open applications.
Java is a poor choice to use a bridge between high-level applications
and OS information because Java is explicitly designed to wash away the
OS information as much as possible. A much better choice would be to use
languages closer to the OS; C (or sometimes C++) is preferred because
that is what most OS's are written in.