Re: FileMaker AppleScript question...
Re: FileMaker AppleScript question...
- Subject: Re: FileMaker AppleScript question...
- From: Bruce Robertson <email@hidden>
- Date: Wed, 05 Sep 2007 15:46:13 -0700
> Bruce;
>
> What I'm trying to do is get one generic FileMaker application to
> call a script in a separate file without any connections between them
> (e.g. relationships). This is because there may be many such files
> and I want to keep the connections between them as simple as possible.
>
> Since this means there is no easy way to pass parameters, I put the
> parameter into a global text field with a standard name and then call
> a script which has a name which is established by an AppleScript
> configuration routine.
>
> The problem is that it would be easy to have the script go to browse
> mode, but it has to be called after the global field is written to.
>
> I think that "go to current record" will be a good solution for me.
>
> The actual application is that my FileMaker application performs
> processing on exported data to convert to web pages, upload them and
> so on. The exported data can come from a number of distinct FileMaker
> applications and I don't want to have to add relationships and
> scripts every time I want to export from a new database.
>
> It's an experiment in separating data from presentation as much as possible.
>
> Thanks,
> David Crowe
But you don't have to be in browse mode to write to a global.
Table references are your friend.
Copy "whatever" to cell "gScriptParam" of table "Contacts"
-- works in browse, preview, find, or layout mode
-- there is no such thing as current record for a table
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden