Re: FileMaker AppleScript question...
Re: FileMaker AppleScript question...
- Subject: Re: FileMaker AppleScript question...
- From: "Gary (Lists)" <email@hidden>
- Date: Tue, 04 Sep 2007 14:59:25 -0400
"David Crowe" wrote:
> Is there a reliable way to force FileMaker into Browse mode apart
> from running a FileMaker script.
Why does it have to be apart from that? That's precisely why the FM
AppleScript dictionary has the 'do script' command, like many others apps.
Use the 'do script' command to run your FM script (which has the Enter
Browse Mode step).
It goes something like...
do script FileMaker Script "Some Script Name"
(Check the AS dictionary for exact sequence, but I think that's it.)
> The example in the FileMaker documentation:
>
> tell application "FileMaker"
> do menu menu item "Browse Mode" of menu "View"
> end
>
> doesn't work if a database, table or window is specified, which means
> that there's no guarantee it will put the right window in the right
> mode.
Then use the pure-AppleScript method of 'do script'...that's why many
applications which have an internal scripting language expose that event.
--
Gary
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden