Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5194 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I am trying to have FM run an applescript then wait for the script to finish before continuing. I tried using "Pause Script" but then it's the problem of waiting to long or to short depending on server traffic, memory, blah, blah...I also tried running the script using "Send Event" and run the script as an application (only because of the Wait for Event feature) . It lets me choose the script/app in the finder but it does not carry into the "Send Event" Options.

I know there has to be a way to do this but I'm stumped. Any help would be greatly appreciated.

Posted

Have the last step in script 1 be the applescript step.

Last step in your applescript then is to call script 2.

  • Newbies
Posted

That's a good idea but I'm not sure if it will work (or I don't know how to do it yet).

A little more info: My FM script is populating a form. The FM script clears old data, goes out and touches our main database program(using Applescript), translates that info into usable data, then fills out the form.

Can I go from starting an FM script, use that to start an Applescript, then use that to start a new FM script without leaving the FM page I'm on?

  • Newbies
Posted

It took a little working (notice the amateur rating!) but I ended up doing exactly what you said and it works great.

Thank you for your help.

This topic is 5194 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.