Jump to content

Copying Scripts


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

Recommended Posts

I took FMs template Contact Management and added several Email fields and built scripts for them to open Apple's Mail. They were all copied from the original Send Email script, but they aren't working properly for a reason I can't figure out. Here's a brief description of what's happening and not happening. I'm attaching the file as well.

Any help will be deeply appreciated.

Thanks,

ajnhlr

Clicking Script button for Spouse Work Email with [email protected] gives me the message “There is no email address for this record. Please try again after entering an address.”

If I change the address to [email protected] it works, but shows the message being delivered to Synthia Harris not George R. Hozendorf who the address is for in my address book.

Clicking Script button for Home Email with [email protected] works, but shows the Email being sent to George R. Hozendorf at [email protected]

Clicking Script button for Spouse Home Email with [email protected] works, but shows the Email being sent to George R. Hozendorf at [email protected]

GRH_Contacts.fp7.zip

Link to comment
Share on other sites

You had it referencing the wrong fields for the "To" portion of the email (you don't need the "With name" field). If you put the "Work email with name" field on the layout you will see that it is not grabbing the right data.

Also, in your Work Email, you had If(ContactManagement::Work Email)

So there was no real statement in there. It should be changed to If(ContactManagement::Work Email = "") or

IsEmpty(ContactManagement::Work Email)

Hope that helps!

Link to comment
Share on other sites

This topic is 5671 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
 Share

×
×
  • Create New...

Important Information

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