× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Scott, rob, and Scott,

..please see my response to Brian. This is the last call for those address that couldn't be located. An additional webservice call to a different geocoding engine will help, but the 's still the need for a manual intervention in those extreme cases.

Thanks

David

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Mildenberger
Sent: Thursday, May 23, 2013 1:34 PM
To: Midrange Systems Technical Discussion
Subject: RE: Getting Windows clipboard

I can't help with your exact question but may have a different approach if it fits your situation.

Does you have to manually find the address in Google Maps or do you already have the address available. If you already have the address there are web services that will give you the Lat/Lon coordinates.
Google Maps probably has one and I know Mapquest does because I use the Mapquest API's for a different purpose. I use Mapquest because there Open API's can be used behind our firewall for no cost where Google charges a license fee if your application is not open to the public.
Whichever you use you will want to verify the licensing for how your application works.

If this might be an option here is the link to the Mapquest Open API's http://developer.mapquest.com/web/products/open

I have a couple of applications that display on a Mapquest map so might be able to offer some guidance even though I haven't specifically used the Web Service that it sounds like you would need.


Scott


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of David Baugh
Sent: Thursday, May 23, 2013 1:49 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Getting Windows clipboard

I'm fighting with windows clipboard in an attempt to programmatically get the contents into my iSeries session.

Here's what I need to do:

In Google Maps, find an address, then hit a button on the website to 'copy link address'. This puts a string containing, amongst other things, GPS coordinates.

I want to get the contents of the clipboard into a string variable on the iSeries and manipulate it to get the GPS coordinates, then display them on the 5250 screen and ultimately write them to file.

I've got as far as writing a java class that resides on my windows network, which gets the contents of the clipboard into a string, strips out the coordinates and writes them back to the clipboard. This is being called using STRPCCMD. On the 5250 session, hitting paste then gives me gps coords.

This is far from ideal (and kinda clunky), since there's a disjoint between that program finishing execution and the 5250 session having access to the reconfigured contents of the clipboard.

If I can get the clipboard into a variable, I can handle the rest.

Does anyone have experience ?

Thanks in advance
David

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.