Un correspondand m'a répondu sur MacScriper.
Il semble que le code ci-dessous pourrait effectuer le travail voulu.
ATTENTION, il suppose qu'un tableur soit ouvert dans Excel.
#<code>
tell application "Mail"
# grab a selected message
set unMessage to item 1 of (get the selection)
# fill the clipboard with the contents of the message
set the Clipboard to (get content of unMessage)
end tell
tell application "Microsoft Excel"
tell sheet "Sheet1" of active workbook
activate object range "A1"
paste
end tell
end tell
#/<code>
Bien entendu je n'ai pu tester mais j'espère que vous me tiendrez au courant du comportement de la bête.
Yvan KOENIG (VALLAURIS, France) mardi 22 octobre 2019 16:29:50
_______________________________________________
Applescript_fr mailing list
Applescript_fr@???
http://listes.patpro.net/mailman/listinfo/applescript_fr