Re: FileMaker Script Question
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