Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automating what was not designed to be automated
Message
From
05/11/2007 09:17:50
Victor Chigne
Inteliventas
Peru
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01266504
Message ID:
01266686
Views:
10
Thanks Sergey. The $%$&%&% program needs to select the file name from a file selection box, you can't type the file name in the file name input box, as it seemed to be when I first looked at it.

So I'm doomed with this AFAICS. I'm waiting the developer reply to my email.

>Victor,
>
>You can try WSH
>oShell = Createobject("wscript.shell")
>oShell.AppActivate("...")
>oShell.SendKeys("...")
For the list of keys see http://msdn2.microsoft.com/en-us/library/8c6yea83.aspx
>
>>I came to this wonderful freeware program shp2kml, which converts maps in ESRI/SHP format to KML and then displays them in Google Earth. Amazing stuff.
>>
>>I'd like to integrate it into my application, but the sad thing is that the program is a standard exe with no command line options and no API or any other interface.
>>
>>
>>The fields to fill are rather common. You have to input 3 screens like a wizard and then voila, your map opens in Google Earth.
>>
>>Maybe there is a way to send keystrokes from my VFP application to this exe?
>>
>>Any other way to record a keyboard script to automate this application you can think of?
Previous
Reply
Map
View

Click here to load this message in the networking platform