Re: Filemaker Pro active window [Bug?]
Re: Filemaker Pro active window [Bug?]
- Subject: Re: Filemaker Pro active window [Bug?]
- From: Tim Clark <email@hidden>
- Date: Mon, 01 Jul 2002 17:51:14 -0400
Hey there-
This has been around so long in FMP its practically a feature.
and it drives me mad as well.
Split the FMP script up into two parts. The AppleScript should be the last
step. In the *first* part of the script.
The last step in the AppleScript should be
Tell FileMaker Pro
Do Script Filemaker Script "myScript Part 2"
Make the last step of "MyScript part 2" be *either*
Toggle Window [hide]
to hide the appropriate window (if it is the frontmost)
OR
Perform Script [sub-scripts, External Script]
Where the external script to be performed has the step
Toggle Window [hide]
It's slightly obnoxious, sure, but it works.
-Tim
On 7/1/02 5:18 PM, "Cornwall" <email@hidden> wrote:
>
At 2:39 PM -0500 7/1/02, John Haley wrote:
>
> tell application "FileMaker Pro"
>
> activate
>
> go to database "Database I want if front"
>
> end tell
>
>
Has anyone noticed that doesn't seem to work if (and there several
>
conditions):
>
>
1. The script is embedded in a FMP script step, and is directed at the db it
>
is embedded in - call it "Wangdoodles".
>
>
2. There is at least one other open db behind "Wangdoodles."
>
>
3. The script first sets "Wangdoodles" visible to false, performs its work and
>
sets "Wangdoodles" visible back to true.
>
>
4. That is followed by 'go to database "Wangdoodles"' line.
>
>
"Wangdoodles" remains behind the other database. Is this a known bug?
>
>
Corny
>
_______________________________________________
>
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.
_______________________________________________
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.