• 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
FMP question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FMP question


  • Subject: FMP question
  • From: Paul Berkowitz <email@hidden>
  • Date: Sun, 29 Oct 2000 22:50:41 -0800

I'm brand new to FMP - I've just had the 30-day trial version of FMP5 for 2
days and am awaiting a full version in a week or so.

It seems that

do script "NameofFileMakerScript"

only works when the document to which the FileMaker script in question
belongs is in the front. It does no good to put

do script "NameofFileMakerScript" of document "TheOneIWant"

if that doc is in the background: it errors, nor to use the supposedly
unique ID of the script (1.0) since every doc has its own ID 1.0 FM script.

So how do you get an open document to the front? 'show' seems broken,
'select' doesn't exist, 'open' errors, all with either 'document' or
'window'.

The only thing I've found that works is to tell FMP to open the alias
representing the document file itself, even though it's already open. That
puts it into the front, then I can 'do script' one of its scripts. This
seems remarkably circuitous. It will do as a work-around, but surely there
must be some easier way to get the window to the front, or to run a
FileMaker script belonging to a window in the background?

Any help would be appreciated.
--
Paul Berkowitz


  • Follow-Ups:
    • Re: FMP question
      • From: Will Gosney <email@hidden>
  • Prev by Date: Re: The New AppleScript Users Digest
  • Next by Date: FMP question
  • Previous by thread: Re: Desktop Printer Manager-Out of Memory?
  • Next by thread: Re: FMP question
  • Index(es):
    • Date
    • Thread