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

Re: FMP question


  • Subject: Re: FMP question
  • From: Will Gosney <email@hidden>
  • Date: Mon, 30 Oct 2000 08:49:09 -0500

Paul

Something that might help you is that you can call applescripts from within filemaker native scripts that you click with a button from your layout.

Will

At 10:50 PM -0800 10/29/00, Paul Berkowitz wrote:
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


References: 
 >FMP question (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Can not read dictionaries...any of them
  • Next by Date: Re: Mount Volume
  • Previous by thread: FMP question
  • Next by thread: FMP question
  • Index(es):
    • Date
    • Thread