Re: Bring FileMaker window to front
Re: Bring FileMaker window to front
- Subject: Re: Bring FileMaker window to front
- From: Bill Briggs <email@hidden>
- Date: Sat, 6 Dec 2003 20:48:30 -0400
At 7:18 PM -0500 06/12/03, Chris Garaffa wrote:
So my question is, how do I activate a window in FileMaker Pro (6.0 v1)?
I ran into this back in February doing a scripting job for a client.
IIRC FileMaker Pro 6 can't tell it's databases apart when you address
them from a script. I remember that it was very perplexing at the
time - took me a while to figure out that it was FileMaker Pro and
not the script that was messing up. It should be enough that you name
the database, whether it's frontmost or not. I expect that the
desired database won't activate because the activate message is going
to the wrong database in the first place. What happened to me was
exactly the same as what happened to you - same error message.
I ended up alternating between opening and closing the two databases
- over 7000 times for each database! - so only the one I wanted to
target was open at one time. They opened incredibly fast on the dual
1Ghz machine I was using and it didn't seem to cost a lot of time.
(The script made thumbnails of 7600 images, saved them, made new
records in the two databases and put the name and full path in one
database and the key in both, all in about 4 1/2 hours) I haven't
heard of any way to resolve the problem with both databases open, but
I haven't done any scripting of FileMaker Pro 6 since then.
- web
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.