With Apple script no longer supported, how do I....

Geoff Canyon gcanyon at gmail.com
Wed Aug 7 01:20:59 EDT 2013


Would it work to export from within FileMaker, and then import that file
into LC? That would mean writing a (very simple) script in FileMaker, or
just manually exporting using the specified layout as a template, and then
writing a simple importer in LC.


On Tue, Aug 6, 2013 at 5:55 PM, Jim Hurley <jhurley0305 at sbcglobal.net>wrote:

> Election season is fact approaching in my county. I do a lot of election
> DB work.
>
> One thing I have long relied on was the ability to extract data stored
> Filemaker and put it into a LC stack, (where the scripting language is not
> idiotic.)
>
> I have done  this with something like this (below) executed as Apple
> Script:
>
> set theDatabase to choose file with prompt "Please locate a FileMaker Pro
> database file to open:"
> tell application "FileMaker Pro"
>         with transaction
>                 try
>                         open theDatabase
>                         go to layout "list"
>                         get every record of layout "list"
>                 end try
>         end transaction
> end tell
>
> It was slow but it worked.
>
> With Apple script gone, will there remain a way to script in LC a way to
> extract  info from FM?
>
> Please tell me this is a naive question, and the answer is easy.
>
> Jim Hurley
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list