Re: Bring FileMaker window to front
Re: Bring FileMaker window to front
- Subject: Re: Bring FileMaker window to front
- From: Nigel Smith <email@hidden>
- Date: Wed, 10 Dec 2003 17:41:44 +0000
On 10/12/03 16:06, "Bill Briggs" <email@hidden> wrote:
>
At 3:43 PM +0000 10/12/03, Nigel Smith wrote:
>
> On 7/12/03 0:18, "Chris Garaffa" <email@hidden> wrote:
>
>
>
>> So my question is, how do I activate a window in FileMaker Pro (6.0 v1)?
>
>
>
> Why bother bringing it to the front?
>
>
Because there's a bug in FileMaker Pro 6.
Ah... Yes, I can see that would cause problems!
Since we are looking to moving everything up to v6 in the near future, can
you get round this just by hiding and showing windows? I was thinking
something like:
tell application "FileMaker Pro"
repeat with x from (count of windows) to 1 by -1
set visible of window x to false
end repeat
set visible of window "DB1" to true
--add stuff to database DB1
set {visible of window "DB3", visible of window "DB1"} to
{true, false}
--add stuff to DB3
--and so on
end tell
I would think it is still worth writing the code in the direct adding-to
form as well, so when FMInc fix FMPro you can just remove the "switching"
code and keep going as usual.
Later,
Nigel
_______________________________________________
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.