Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp and snagit
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00988551
Message ID:
00988560
Vues:
65
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform