• 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: Mail email to Filemaker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail email to Filemaker


  • Subject: Re: Mail email to Filemaker
  • From: Malcolm Fitzgerald <email@hidden>
  • Date: Mon, 10 Nov 2003 23:17:32 +1100

At 10:23 AM +1000 10/11/03, Rod McDevitt wrote:
Can anyone point me in the right direction after searching the
archives - I am trying to extract details of a current Mail email
being browsed and create a new record in a Filemaker file "MAIL
TEST.fp5"but am up against a brick wall.

What is wrong with this baby????


I don't know about mail but there isn't any reason to nest the filemaker tell block inside the mail tell block. There is no need to activate FMP either. You get a speed bump if you pass all the variables into the record at once. I notice that you're using "fmp developer".

tell application "Mail"
activate
set var70 to name of to recipient
set var71 to sender of message
set var72 to subject of message
end tell

tell application "FileMaker Pro"
tell database "MAIL TEST.fp5"
create new record with data {var70, var71, var72}
end tell
end tell


TIA
Rod
PressO Software
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

--
--
Malcolm Fitzgerald email@hidden
Database Manager http://www.asauthors.org
The Australian Society of Authors ph: 02 93180877 fax: 02 93180530
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Mail email to Filemaker
      • From: Nigel Smith <email@hidden>
References: 
 >Mail email to Filemaker (From: Rod McDevitt <email@hidden>)

  • Prev by Date: OS9 folder action help
  • Next by Date: Folder Actions on OSX Server
  • Previous by thread: Mail email to Filemaker
  • Next by thread: Re: Mail email to Filemaker
  • Index(es):
    • Date
    • Thread