Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp and snagit
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00988551
Message ID:
00988560
Views:
69
>Anyone done anything with Snagit and VFP? I am passing an address to MS Mappoint 2004 and it displays a map, which I would like to capture and save to a jpg file and return to a web client.

One trick to this project seems to be how the automation will determine that it has "snagged" the proper "object" in the screen. The piece of the mappoint GUI that contains the content will need to offer an "expected" handle. Maybe snaggit creates a collection once the "capture" is involked.

You'll probably have to "drive" Snaggit from the command window (we got autocomplete now).
_cliptext=transform(oSnagit.Object1.Child1.property.value)

Times like these a two-display setup is nice!

Snagget will need to capture "objects" (stuff inside the window like the image object presenting the "map"), or a window . As the "capture" frame moves from object to object, somewhere in "Snagit" there should be a "name" or "handle" that could be used reliably every time the automation is called.

I might fool around with it some this weekend -
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform