• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Count in Filemaker Pro
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Count in Filemaker Pro


  • Subject: Re: Count in Filemaker Pro
  • From: Nigel Smith <email@hidden>
  • Date: Tue, 29 Oct 2002 15:52:59 +0000

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
> and Filemaker Pro 5.x. I have just try running the same script in OS 10.2
> with same version of Filemaker and I get an object not found error?
>
> tell application "FileMaker Pro"
> set databaseCount to count of documents
> end tell
>
> Thanks
> Craig

If you want a workround inside AppleScript, rather than using a field in
FileMaker, you could base it on this:

tell application "FileMaker Pro"
try
repeat with x from 1 to 10000000
-- or other unfeasible number
get class of document x
end repeat
on error
return (x - 1)
end try
end tell


HTH,

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.

  • Follow-Ups:
    • Re: Count in Filemaker Pro
      • From: Simon Forster <email@hidden>
References: 
 >Count in Filemaker Pro (From: Craig Taylor <email@hidden>)

  • Prev by Date: PDF FIles [Off topic?]
  • Next by Date: Re: filtering a list of items with Finder
  • Previous by thread: Re: Count in Filemaker Pro
  • Next by thread: Re: Count in Filemaker Pro
  • Index(es):
    • Date
    • Thread