WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

How To
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Issues Interacting with FileMaker Pro


Question:

I bought WinBatch specifically to interface with an existing FilemakerPro application. I thought from the description that the control manager extentions would allow me to drill into the FilemakerPro windows and work with the text fields, buttons and tabs. I have been unable to interact in anyway except clicking at mouse coordinates and sending key strokes. This is inadequate because I can't be certain what screen is current. Has anyone had any experience with WinBatch/FilemakerPro and perhaps some example they could share?

Answer:

It is my understanding that FileMaker Pro uses a cross-platform graphics "widget" library for its GUI instead of the common controls that are built into Windows. This makes it difficult to use the Control Manager functions/Roboscripter, because the controls that are present are opaque to the extender and thus can't readily be interrogated or manipulated by the extender.

I could be mistaken about this, but I seem to recall that all FileMaker Pro applications I've ever seen have had that scalable UI feature where all the controls shrink or grow as you resize the application window, and that's not a feature of any standard Windows controls that I've ever seen before.

However FileMaker Pro seems to expose its functionality via OLE. You might try looking into whether or not yo can accomplish what your needing to do via OLE.

Here is some sample code:


FMProApp = CreateObject("FMPRO.Application")
FMProDoc = CreateObject("FMPRO.Documents")
FMProApp.visible = @true
FMProDoc.open("D:\apps\FileMaker Pro 5\Web Security\Databases\Web Security.fp5","")
Pause("","FP5 Doc opened")
FMProDoc = 0
FMProApp = 0

Article ID:   W16474
File Created: 2005:02:18:12:20:52
Last Updated: 2005:02:18:12:20:52