Gernot Wrote: "I hope this comments are of some value – or is this
forum just a VB/Excel training camp. In that case I would stop
posting."
Your posts are totally welcome.......
Scott
--- In twsapi@y..., gernot.ullrich@t... wrote:
David,
Can you look inside the java window using perl and parse it?
No way if they use pure Java, because the Java GUI isn't tightly
integrated with the MS Windowing system. If the Java App doesn't
provide help it's even hard to print a Java Panel. You might
consider
this a bad thing, but it's done by purpose to make the GUI
independent
from the OS and to give the application all the control over the
data.
If you have access to the Java Source of the App (you might try to
re-generate it from the binary which is sometimes possible but in
most
cases illegal), you may add code to split off the desired data.
Just
for fun I tried it on the IB client long ago. It worked but I would
not
recommend this to the public.
I don't think it's a good idea to rely on some output format anyhow,
because this layer usually is fastest changing part of any
application.
Perl certainly is an good tool to read HTML streams and parse text
data
because it has so nice pattern matching facilities. It's easy to do
this
in Java as well.
I hope this comments are of some value – or is this forum just a
VB/Excel training camp. In that case I would stop posting.
Gernot
-----Ursprüngliche Nachricht-----
Von: David [mailto:kotomo@p...]
Gesendet: Friday, June 14, 2002 10:50 PM
An: twsapi@y...
Betreff: Re: TWSAPI: General: Anyone know how to refrence a webpage
and
read it?
Wichtigkeit: Hoch
Richard,
dont know Perl but Daniel is spot on for VB and VC..
Now, in Perl can you look at Java Window and parse it?
To give you an example - in VB i find JAva window through API's and
copy
the content and parse it. Fortunately it is in text format. It is an
awkward step as you need to focus mouse on that window.
Can you look inside the java window using perl and parse it?
I just need direction - if yes i will learn about it.
Thanks
David
----- Original Message -----
From: Richard Foulk <mailto:richard@s...>
To: twsapi@y...
Sent: Saturday, June 15, 2002 1:24 AM
Subject: Re: TWSAPI: General: Anyone know how to refrence a webpage
and
read it?
} Does anyone know how to refrence a webpage and read its content
} programatically?
}
} A friend of mine was able to read the CME settlement page and get
the
} settlement price for SPoos and Noodles using ensign charting
scripts
}
} Here is the site:
}
}
.
} html
}
} It apparently is in a delimited format and can be read. Any ideas
on
} how to do that in VB or C++
}
} Useful for including Net change in your spreadsheets, without
relying
} on a secondary feed or manual entry.
}
} Scott
}
I do that stuff in Perl all the time.
BTW: just got some stuff back from IB ... they say they sample
quotes
every .7 seconds. So I guess the filtering isn't very complex ...
Oh and Noodles? Are you from Jay's Smurf room? :-)
Richard
To unsubscribe from this group, send an email to:
twsapi-unsubscribe@y...
Your use of Yahoo! Groups is subject to the Yahoo!
<> Terms of Service.
To unsubscribe from this group, send an email to:
twsapi-unsubscribe@y...
Your use of Yahoo! Groups is subject to the Yahoo!
<> Terms of Service.