• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: FileMaker AppleScript question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: FileMaker AppleScript question...
      • From: Bruce Robertson <email@hidden>
References: 
 >Re: FileMaker AppleScript question... (From: Bruce Robertson <email@hidden>)

  • Prev by Date: Re: Pass Finder Selection to Shell Argument
  • Next by Date: Re: FileMaker AppleScript question...
  • Previous by thread: Re: FileMaker AppleScript question...
  • Next by thread: Re: FileMaker AppleScript question...
  • Index(es):
    • Date
    • Thread