• 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: Another FMP question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another FMP question


  • Subject: Re: Another FMP question
  • From: John MacDonald <email@hidden>
  • Date: Mon, 6 Nov 2000 17:43:30 -0400

I get your problem too.

This is ringing bells for me.

You're asking FileMaker to ask another program to ask FileMaker to do something. FileMaker is therefore busy asking and can't answer.

When I bumped into this wall before I used the 'Send Apple Event' FM script step and told FM not to wait for the reply. This works but may knock your scripts out of synch.

'Send Apple Event' also had another bad effect for me: You specify the app to send the event to in a standard file dialog. Sometimes FM would pick another app with the same creator (any applet) and it was murderous to change them. (This might be fixed in FM5, but I doubt it)

So, the next thing to do was to embed my scripts resulting in duplicating my utility scripts, losing properties, etc. (My development cycle is try it in Script Editor, if it works, paste it into FM, try again)

This will still possibly allow you to get out of synch. An embedded script *will* initiate a Find, for instance, and the script will continue without waiting for the Find to finish.

The usual symptom for a script out of synch is when the script works the second time if none of the data was changed (when the Find or sort is already done)

I had to replace huge chunks of AppleScript with FileMaker functions. I still use my 'helper' app for some functions and to show some progress (hopefully discouraging users from working the database)

FileMaker's scripting implementation is not very friendly

Hope this helps.



-John


  • Follow-Ups:
    • Re: Another FMP question
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Printing to PostScript File from QuarkXpress
  • Next by Date: Re: Please Help Me...
  • Previous by thread: Re: Another FMP question
  • Next by thread: Re: Another FMP question
  • Index(es):
    • Date
    • Thread