|
|
|
|
Using TWAIN to scan directly into FileMaker Pro FileMaker Pro (FMP) v4 and v5 has no built-in feature to allow scanning images directly into a container field. If you do not want to use a plugin and work under Windows, here is a solution that will (hopefully) satisfy your needs for 99%: Get freeware AutoIt v2.63 or higher from www.hiddensoft.com/autoit. Get freeware IrfanView v3.61 + all plugins or higher from www.irfanview.com Write the following textfile; my comments are bulleted and in italics. Be careful: window titles are case sensitive. Double backslashes are needed to represent a single backslash. run, C:\\Program Files\\irfanview\\i_view32.exe WinWaitActive, IrfanView Send, !d Send, c WinWaitActive, ScanGear Send, !s WinWaitActive, ScanImage Send, ^c WinClose, ScanImage WinActivate, FileMaker Pro Send, ^v Now save this as text file "fmptwain.aut" an compile it with Aut2exe.exe into "fmptwain.exe". In FMP you need a container field on a layout, and a 2 line script: Go to Field ["o.image"] Send Message ["fmptwain.exe", "aevt", "odoc"]This works fine, with one single exception (that is the remaining 1%): at the end the container field is still selected. You could avoid that with a sufficient pause before giving an additional "naked" Go to Field. FMP does not wait until an external app is finished (very nasty, would be nice for FMP v6). You would have to find out with testing your scanner etc. how long that pause would have to be. Good luck! Back to the list of my FileMaker Pro trouvailles |
![]() |
![]() |
|