• 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: Tue, 4 Sep 2007 15:29:33 -0600

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


At 1:32 PM -0700 9/4/07, Bruce Robertson wrote:
> Is there a reliable way to force FileMaker into Browse mode apart
 from running a FileMaker script.

 The example in the FileMaker documentation:

 tell application "FileMaker"
     do menu menu item "Browse Mode" of menu "View"
 end

 doesn't work if a database, table or window is specified, which means
 that there's no guarantee it will put the right window in the right
 mode.

- David Crowe

First of all, go to current record will do it:

tell application "FileMaker Pro"
    tell window "Cross_tabtest"
        go to current record
    end tell
end tell

In addition to Gary's point about calling a script, what is the big picture
here? What are you trying to do?

_______________________________________________ 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: FileMaker AppleScript question...
  • Next by Date: Re: Eliminating duplicate items from a list
  • Previous by thread: Re: FileMaker AppleScript question...
  • Next by thread: Re: FileMaker AppleScript question...
  • Index(es):
    • Date
    • Thread