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

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

Recommended Posts

Posted

I have a script that when run opens the mail client with a order confirmation email to the customer and confirms the order in FileMaker.

But is there a way to check if the user actually pressed send on the email before confirming the order in FileMaker?

Posted
12 hours ago, JohnDing said:

But is there a way to check if the user actually pressed send

I don't think so. And even if there were, you wouldn't be able to tell if they didn't modify it before sending it. If you need to be sure, why don't you send it directly, instead of going through the mail client? Or perhaps you could send a copy to yourself, then check the incoming mail.

 

Posted

It was not that i was afraid that they would modify the email or that is would get stuck in internet traffic.

I wanted to use it as a condition like:

if (userPressedSend){
  #continue script ...
  } else {
  #pause or stop script ...
}

but now when i type it out i can see some flaws with this idea.

But thanks for the input @comment

Posted

for macOS?

How good is your AppleScripting? 

You could trigger send, FileMaker passes email to Apple Mail. Then you can use AppleScript to query current window ID for the message composer. And regularly query again whether this window is still open.

This topic is 1410 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.