Finderから新しいOutlookメッセージに単一のアイテムを添付する方法を検討しました(オンラインで見つけました)。私はこのフォーマットで多かった - 「selecteditem」や選択肢やその他の大きな変更を変更しましたが、複数のアイテムを一度に新しいOutlookメッセージに添付する方法はありません。applescript/automatorを使用して複数のアイテムを新しいOutlookメッセージに添付する
新しいOutlookメッセージごとに1つの項目のみが添付されます。 AutomatorにはOutlook Automatorのオプションはありません.Office 365はそれらを削除したと思います。
次のように私の現在のスクリプトは次のとおりです。
tell application "Finder" to set selectedItem to item 1 of (get selection)
set theAttachment to selectedItem as alias
set fileName to name of selectedItem
tell application "Microsoft Outlook"
set newMessage to make new outgoing message with properties {subject:fileName}
tell newMessage
make new attachment with properties {file:theAttachment}
end tell
open newMessage
get newMessage
end tell
私は現在、私は新しいOutlookメッセージに直接ファイルを送信するには、右クリックオプションを持っているサービスとしてのAutomatorでこのスクリプトを使用しようとしています。これは現在、このように設定されています。
命令 'make new attachement'は、1つのファイルのみを追加します。 xファイルを追加するファイルごとにループで使用する必要があります。選択したファイルをリストに設定し、そのリストの各項目について繰り返します。 – pbell
これを行うために上記のスクリプトをどのように適応させるかについての考え方はありますか? –