Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Count in Filemaker Pro



On Tuesday, October 29, 2002, at 03:52 PM, Nigel Smith wrote:

On 24/10/02 10:14 am, "Craig Taylor" <email@hidden>
wrote:

I have the following statement in a script which has always worked in OS 9

tell application "FileMaker Pro"
set databaseCount to count of documents
end tell

If you want a workround inside AppleScript

AFAIK this is functionally similar to count of [documents | databases | windows] and is a smidge shorter than Nigel's sample.

tell application "FileMaker Pro"
if window 1 exists then set databaseCount to (index of last window)
end tell

HTH

Simon Forster
_________________________________________________
BabelFix Ltd, Office One, 16 Canham Road, London, W3 7SR, UK
<tel int="+44 20 8746 0555" uk="020 8746 0555">
<tel int="+44 70 9230 5244" uk="070 9230 5244">
<fax int="+44 70 9230 5247" uk="070 9230 5247">
<mailto:email@hidden>
_________________________________________________
_______________________________________________
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.

References: 
 >Re: Count in Filemaker Pro (From: Nigel Smith <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.