Pages and  Numbers = Mail.app

Hi,
I want to create "customized e-mails" from a Pages template and a table in Numbers.
I succeded in creating the Pages document with the fields, associating them with a column in the right file in Numbers.
But, one of the column is the e-mail address I want to sand the e-mail to.
How can i create an e-mail with the instantiated template to the right recipient ?
I am wondering if there is not a way to do a simple script bades on Numbers only.
thanks

Hi users of the English language, you know that French askers are quite rare here (mainly because English is badly taught in our schools). In such case I make the choice to answer in French.
You may use an automatic translator to try to understand what I wrote. I'm sure that it will make you laugh.
Utiliser Pages pour ce genre de travail est difficile parce qu'il n'est pas facile d'extraire le contenu de pages mais c'était oublier que la fonction Fusion ne crée pas un document découpé en pages mais un document découpé en sections.
De ce fait, le problème peut se traiter comme suit :
--{code}
tell application "Numbers" to tell document 1 to tell sheet 1 to tell table 1
          set les_balises to value of cells of row 1 (* j'ai considéré que la 1ère ligne de la table source contient les balises sans leurs caractères < & >. *)
          set les_valeurs to value of cells of rows 2 thru -1 (* create a list of lists *)
end tell
set texte_brut to read file "chemin:d:accès:a:mon:texte"
set objet_des_mails to "blah blah blah"
repeat with m from 1 to count of les_valeurs
          copy texte_brut to le_message
          repeat with b from 1 to count of les_balises
                    set le_message to my remplace(le_message, "<" & item b of les_balises & ">", item b of item m of les_valeurs)
          end repeat -- b
          my |crée_le_mail|(le_message, item x of item m of les_valeurs, objet) -- x étant l'ndex de l'adrrese mail du destinataire dans une fiche individuelle
  -- certains fournisseurs d'accès n'aimant pas les envois en masse, il peut être utile de prévoir une pause tous les dix ou vingt messages
end repeat -- m
--=====
on |crée_le_mail|(un_message, addresse_destinataire, objet_du_mail)
  -- demande à Mail de créer un message à partir des trois valeurs passées
  -- expédie le mail
end |crée_le_mail|
--=====
-- cette routine provient de ma bibliothèque de codes prêts à l’emploi, je suis sur de son bon fonctionnement.
replaces every occurences of d1 by d2 in the text t
on remplace(t, d1, d2)
          local oTIDs, l
          set oTIDs to AppleScript's text item delimiters
          set AppleScript's text item delimiters to d1
          set l to text items of t
          set AppleScript's text item delimiters to d2
          set t to l as text
          set AppleScript's text item delimiters to oTIDs
          return t
end remplace
--=====
--{code}
Yvan KOENIG (VALLAURIS, France) mercredi 2 novembre 2011 17:39:27
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
My iDisk is : <http://public.me.com/koenigyvan>
Please : Search for questions similar to your own before submitting them to the community

Similar Messages

  • Hi, can t downloaded updates pages or numbers from App Store .from a

    Hi, i can t dowloaded up dates for pages and numbers from App stores. Get an the following error message : " une erreur est sruvenue, veuillez consulter la page achat"

    I managed to solve my problem without spending 4 hours going to Apple Store.
    I don't know why, but Yosemite somehow decided to restrict permissions literally to itself.
    1) you need to enable seeing hidden files - paste this in terminal "defaults write com.apple.finder AppleShowAllFiles YES"
    2) find the folder "private" and select "get info"
    3) give to user "wheel" (this is OS X internal or root "admin") permission to "read and write" this folder and all its contents. I also added user "admin" and gave permissions to "read and write" all the same as to "wheel", just in case.
    4) repair permissions, restart your computer and reset PRAM
    5) go to App Store and try to update your system.
    6) if all worked fine, don't forget to paste in terminal "defaults write com.apple.finder AppleShowAllFiles NO" to hide all hidden files.
    Enjoy updated system.

  • I downloaded the new Pages and Numbers through my app store but when I open my old documents, it still tells me my 30 day trial is over. How do I get the computer to automatically recognize the new applications?

    More information: I have a 3 year old MacBook and had been using "Microsoft for Mac" until last week when I took my MacBook in for some upgrades- including the operating system Lion. I have been unable to use the Word, Excel, etc. programs because they are not supported on the new operating system... and I already used my 30 day trial of iWork when we first purchased the computer. I decided to buy Pages and Numbers through the App Store icon. When I open the Pages and Numbers under my Applications, I can get them to work. However, when I open old documents saved on my computer, they go into the 'old' iWork messages of that my trial has expired. How do I get the computer to automatically recognize that I've purchased Pages and Numbers?

    You need to delete the trial & then reinstall from the boxed DVD or the Mac App Store. The files to delete are the iWork ’09 folder from the main HD > Applications; the iWork ’09 folder in HD > Library > Application Support & the individual iWork application plist files found in HD > Users > (your account) > Library > Preferences for each user.
    Yvan Koenig has written an AppleScript that removes the files. You can find it on his box.com account in for_iWork'09 > other_iWork'09 items > uninstall iWork '09.zip.

  • I purchased a IPad Air with Pages and Numbers included. I was told I could use these apps on my mac book and other devices. How do I sync or access these from my mac.

    I purchased a IPad Air with Pages and Numbers included. I was told I could use these apps on my other devices like my MacBook. How do I sync or add these to my macBook?

    the free apps are only for ios device (iphone ipad ipod touch) and do not work on mac computers. if you do get pages and numbers on your mac though you can sync the information using icloud

  • App Store not responding after upgrade to OS X Mavericks and installing free Keynote, Pages and Numbers app

    My App Store is not responding after upgrading to Mavericks and installing free Keynote, Pages and Numbers Apps.
    Also I tried to reboot and restart and nothing happens still unresponsive.
    Tried to click as many times as I can the App Store and it won't open.
    Please Help.

    Dongski
    I had the same problem and solved it myself.
    Please see discussion  https://discussions.apple.com/message/23556072#23556072
    Hope it helps

  • I have the new ipad / ipad3 . I upgraded to ios7 but I didn't get pages and numbers apps free, but my colleague who is using ipad4 with ios7 it is free. more over my ipad is not showing airdrop facility. please help me out in how to rectify those

    please help me out somebody. I need pages and numbers apps immediately. I have ipad3 with ios7 running in it. Apple announced iPhoto, iMovie, Keynote, pages, numbers all are free for ios7 users. but for me it's not like that. shall I download or should I wait. in my ipad airdrop also not coming. but my colleague has both apps also comin for free and airdrop also coming who has ipad4  with same version of ios7.0.2

    They are free to iOS 7 users who have activated their NEW device on Sept 1 2013 or after. They are NOT automatically free with iOS 7.
    AirDrop is only compatible with iPad 4th gen and iPad mini. iPad 3rd gen and below do contain the necessary hardware for AirDrop. Also, AirDrop is only compatible between iOS devices. You cannot AirDrop between iOS device and Mac OS.

  • How do i mail merge with the new Pages and Numbers?

    How do I mail merge with the new Pages and Numbers?
    On Pages 09 I have a document that draws variable data from a spreadsheet created in Numbers.
    With the new Pages and Numbers program update, my links are lost and I am unable to see how to correct this.

    Thanks Peter,
    very disappointing.
    My Pages 09 keeps opening in the new one.
    I dont think they want me to be a loyal customer anymore.
    They changed Final Cut Pro, so now I use Premier Pro
    Aperture 3 has been left behind so now I moved to Lightroom 4.
    And now Pages 5 does not have a vital component, so back to Word.
    Sad day
    Thanks again

  • Mail merge in PAGES and NUMBERS has GONE!

    A while ago I painstakingly moved data and documents from Microsoft Excel 2008 for Mac to Numbers and from Word to Pages. I have been using Numbers for data lists and Pages for Mailmerge documents successfully since 2011.
    With the latest "update" to Pages and Numbers, I thought I would see improved software and performance. What I got was a downgrade in functionality.
    * Pages no longer supports mail merge
    ** Pages documents with mail merge fields are corrupted on opening them with the new version - SAVE THE ORIGINAL FIRST !
    * Numbers documents can no longer be used with the previous version of Pages to perform a mail merge - the headers are not being recognised!
    WORK AROUND
    Don't use the new Pages or Numbers.
    Keep your old Pages and Numbers documents in a safe folder.
    Use the prior versions of Pages and Numbers for mail merging (HOPEFULLY APPLE READS THIS AND PUTS MAIL MERGE BACK IN THE NEXT FIX)
    It is possible to maintain Numbers documents using the new version. This however necessitates saving your modified Numbers document in the old format (Save As...) before using it with the prior Pages version.
    @APPLE: PLEASE RECOGNISE THIS MAJOR PLANNING ERROR ON YOUR PART AND GIVE US THE FUNCTIONALITY BACK ASAP !!!

    I agree with Peter. This is NOT a forum for filing complaints directed at Apple. They do make that clear.
    Paul, I suggest you channel your frustration toward Apple at their Product Feedback page: http://www.apple.com/feedback/
    Mac

  • I went to the apple store and they did a reset, I got all my apps back Except Pages and Numbers..how do I get them back..without paying...of course.

    I went to the apple store and they did a reset on my iPad...I was able to restore all my apps Except Pages and Numbers...those don't appear on my purchased apps at the App Store...how do I restore them...without paying for them again..of course.

    If you go into iTunes and sign in and then try to download them again it will let you redownload them. Just make sure you're signed in with the apple ID you used to buy them in the first place.

  • I have my i cloud on my ipad, iPhone and Mac pro book but my two apps I downloaded pages and numbers won't connect to my ipad and iPhone. How do I get theses apps on ipad and iPhone?

    How do I get pages and numbers on my iPhone and ipad after it was downloaded on my Mac book pro?

    Pages and Numbers on a Mac are Mac Apps and are downloaded from the Mac App Store. iOS devices use a completely different operating system and the version of Pages and Numbers for that are quite different programming - you can't move Mac applications to an iOS device. The programs will have to be download from the App Store on your devices, and you have to buy them separately from the Mac versions.

  • Upon upgrading to Yosemite, the Pages and Numbers apps will not open (although they are the latest versions) and Keynote will not upgrade; how do I go about getting the apps to open?

    Upon upgrading to Yosemite, the Pages and Numbers apps will not open (although they are the latest versions) and Keynote will not upgrade; how do I go about getting the apps to open? Is this a common issue?

    Hi Madhattanite,
    Welcome to the Support Communities!  When did you purchase your Mac?  The first thing I would suggest is to review the information in the resource below for the Up-To-Date Program for Pages, Numbers, and Keynote.
    Once Yosemite is installed, you should have the option to Accept the Pages, Numbers and Keynote apps in the Mac App Store Purchases pane.
    Apple - Up-to-Date Program for Pages, Numbers, and Keynote
    I hope this helps ...
    - Judy

  • I have an older version of Keynote, Pages and Numbers. Do I have to buy new versions from the app store or is there another way (free)?

    I've upgrade my Macbook Pro and now the OS X Maverik, but when I purchased Keynote, Pages and Numbers there wasn’t an App Store available yet. I still have the old CD with the software in it.
    How can I download the new versions without having to buy the apps again?

    Thanks for your comment.
    I have the the 09 suite alreday installed, and I didn't loose them with Maveriks upgrade.
    Pages version 4.3, Keynote 5.3 and Numbers  2.3
    Numbers was the only one notifying me that there was an upgrade available.

  • Hello. After updating my Ipad2 to Ios5 Ive missed some Apps( pages and numbers). What's wrong with my device? Thanx

    Hello. After updating my Ipad2 to Ios5 Ive missed some Apps( pages and numbers). What's wrong with my device? Thanx

    Were the apps on your computer's iTunes when you started the update process ?
    As long as the apps are still available in the store, and you use the same iTunes account as you originally used to buy them, then you should be able to re-download them for free : http://support.apple.com/kb/HT2519 . If you download them to your computer's iTunes you could then try restoring to your backup and see if that restores them and their settings/content - a backup doesn't contain the actual apps, just their content/settings, so for the restore to work fully iTunes needs access to the apps so that it can restore them.

  • TS1702 I have purchased and installed Facebook, pages and numbers apps. However I am now unable to open any of these apps. When I click on the app the GUI just bleeps. Any suggestions please?

    I have purchased and installed Facebook, pages and numbers apps. However I am now unable to open any of these apps. When I click on the app the GUI just bleeps. Any suggestions to resolve this please?

    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Or....
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Or....
    Try downloading another app - any free app is fine. See if that resets the other apps.

  • I don't understand why I can't download for free the apps designed by Apple, such as Pages and Numbers, which are free with iOS 7. Can anyone help me?

    I don't understand why I can't download for free the apps designed by Apple, such as Pages and Numbers, which are free with iOS 7. Can anyone help me?

    The apps are free with iOS 7 if you purchased a new device after September 2013. The apps do not come free just because you are running iOS 7 now. Did you purchase or receive a new iPad recently?
    If you did, are you using the same Apple ID to get the apps that you used to activate the iPad? If you are, sign out of your ID, restart your iPad, sign in again and go back to the App Syore and see if the apps show up as free.
    Settings>iTunes & App Store>tap your ID and sign out. Restart the iPad and go back to the settings and sign in again.

Maybe you are looking for