Re: FileMaker AppleScript question...
Re: FileMaker AppleScript question...
- Subject: Re: FileMaker AppleScript question...
- From: David Crowe <email@hidden>
- Date: Wed, 5 Sep 2007 22:25:48 -0600
Bruce;
You're right. I had a "go to cell" command, which seems to want to be
in Browse mode. Removing that means that the old code works (i.e. go
to layout .../copy aVariable to cell "aGlobalCell"/do script
ScriptName).
Thanks,
David Crowe
At 3:46 PM -0700 9/5/07, Bruce Robertson wrote:
> 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