- 基本情報
- チュートリアル
- オートメーション プロジェクト
- オートメーションの作成
- トラブルシューティング
StudioX user guide
このチュートリアルでは、Outlook 検索フォルダーのすべてのメールの添付ファイルをユーザーのコンピューターに保存するオートメーションを作成します。
We will create a project and start by adding a Use Desktop Outlook App activity to indicate the Outlook account to use. In this activity, we will add a For Each Email activity to indicate that we want to iterate through the emails in a folder. We will then add the activities to repeat inside For Each Email.
-
コンピューターと Outlook の検索フォルダーに Temp フォルダーを作成する
- コンピューターの C: ドライブのルートに Temp という名前のフォルダーを作成します。
- Outlook を開き、[フォルダー] ペインで [検索フォルダー] を右クリックし、[新しい検索フォルダー] を選択します。
- [新しい検索フォルダー] ウィンドウで、[カスタム検索フォルダーを作成する] > [選択] を選択します。
- [検索フォルダーのカスタマイズ] ウィンドウで、[名前] ボックスに「Last week's attachments」と入力し、[条件] を選択します。
- [検索フォルダーの条件] ウィンドウの [メッセージ] タブで、[時間の条件] の横にあるドロップダウン メニューから [受信日時] と [先週] を選択します。
- [詳細設定] タブで、[添付ファイル] を選択し、隣接するドロップダウン メニューから 1 つ以上の添付ファイルを選択します。
- [OK] を 3 回クリックしてウィンドウを閉じて、検索フォルダーを保存します。
-
プロジェクトを設定します。
-
Outlook アカウントをプロジェクトに追加する
-
[アクティビティ] パネルで [メール] タブを選択し、[デスクトップ版 Outlook アプリを使用] をダブルクリックします。アクティビティがデザイナー パネルに追加されます。
-
このアクティビティの [アカウント] フィールドには、あらかじめ既定のメール アカウントが入力されています。別のアカウントを使用する場合は、ドロップダウン メニューから選択します。
[参照名] フィールドは既定値
Outlookのままとして、オートメーションでアカウントを参照するときは、この名前を使用します。
-
-
Outlook フォルダーのメッセージを反復処理する
-
[アクティビティ] パネルで [繰り返し (各メール)] アクティビティをドラッグし、[デスクトップ版 Outlook アプリを使用] アクティビティ内にドロップします。
-
In the For Each Email activity, click Plus
on the right side of the In emails from field, and then select Outlook > [Search Folders] > [Last week's attachments] to select the search folder created in the account Outlook. Your selection is displayed in the In emails from field asLast week's attachments.これで、Outlook の検索フォルダーの [Last week's attachments] のメールを反復処理するように指定したことになります。

-
-
各メッセージの添付ファイルをコンピューターのフォルダーに保存する
-
In the Activities panel, drag the Save Email Attachments activity and drop it inside the For Each Email activity.
-
[メールの添付ファイルを保存] アクティビティで、次の操作を行います。
-
Click Plus
on the right side of the Email field, and then select CurrentMail to indicate that the email whose attachments you want to save is the current email you are iterating through. -
Click Browse
next to the Save to folder field, and then browse to and select the folder on your computer where to save the attachments. For this example, we created a folder called Tempon the C drive of the computer.
-
-
StudioX のリボンで [保存] をクリックしてオートメーションを保存し、[実行] をクリックしてオートメーションを実行します。
The attachments from each email in the Outlook folder Temp are saved to the Temp folder on the computer.Download example
-