• 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
FileMaker 10 - asynchronous commands?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FileMaker 10 - asynchronous commands?


  • Subject: FileMaker 10 - asynchronous commands?
  • From: Wayne Melrose <email@hidden>
  • Date: Tue, 05 Jan 2010 11:19:53 +0100

Hi all, 

I've done a fair amount of FileMaker scripting in the last few years, I rarely run into problems that I can't fix. 

My current issue I solved by changing my code entirely (I did it with FileMaker commands instead), which has probably made it more solid anyway. But the issue raised some questions that I thought would be worth asking.. 

When running an applescript within a FileMaker script, are all commands asynchronous? 

My problem was that an old Pentium MacMini seemed to cause my script to crash when switching from one layout to another and showing all records...

Here's a basic model of the script.. 

tell application "FileMaker Pro"
tell database "contacts"
tell front window
tell current record
set strName to cell "name"
end tell
-- ### these next two lines seemed to take place after the error
go to layout "B"
show every record
-- ### 


-- this line would error, because the record was not currently in the found set (the "show every record" command had not run)
show (every record whose cell "name" = strName)
end tell
end tell
end tell

Any thoughts? 

Thanks 

Wayne 
 _______________________________________________
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

  • Follow-Ups:
    • Re: FileMaker 10 - asynchronous commands?
      • From: Simon Forster <email@hidden>
  • Prev by Date: Re: New list for AppleScriptObjC!
  • Next by Date: Re: FileMaker 10 - asynchronous commands?
  • Previous by thread: Re: New list for AppleScriptObjC!
  • Next by thread: Re: FileMaker 10 - asynchronous commands?
  • Index(es):
    • Date
    • Thread