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

Re: FileMaker Script Question


  • Subject: Re: FileMaker Script Question
  • From: Simon Forster <email@hidden>
  • Date: Wed, 10 Nov 2004 15:26:30 +0000


On 10 Nov 2004, at 15:12, Dana Hill wrote:

Does anyone know how to bring a FileMaker database to the front. I have an AppleScript that calls a couple FileMaker scripts that update FM with MSSQL data. I have two FileMaker databases open and would like the script to be called from one of them consistently. Occasionally, my script times out because the wrong database is in front when the AppleScript calls the FileMaker script. Ideas?

Target the specific database (document if current state is important):

tell application "FileMaker Pro"
tell document "my filemaker document"
...do stuff...


Or hide every database and then show the one you're interested in:

tell application "FileMaker Pro"
repeat (count window) times
set visible of window 1 to false
end repeat
set visible of window "my filemaker document" to true
end tell

The first solution is the more correct one.

HTH

Simon Forster
_____________________________________________________
 LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
 Tel: +44 (0)70 9230 5244   Fax: +44 (0)70 9230 5247
_____________________________________________________

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Timeouts & FileMaker Scripts (From: Bruce Robertson <email@hidden>)
 >Re: Timeouts & FileMaker Scripts (From: Simon Forster <email@hidden>)
 >FileMaker Script Question (From: Dana Hill <email@hidden>)

  • Prev by Date: Re: FileMaker Script Question
  • Next by Date: Re: FileMaker Script Question
  • Previous by thread: Re: FileMaker Script Question
  • Next by thread: DoMenu (enter layout mode)- In FileMaker
  • Index(es):
    • Date
    • Thread