Excel:
首先需要拉一个Excel Application Scope
get text:从系统中读取数据
Read range:读取excel的内容,可以规定读取范围
For each row:对excel的每一行数据进行遍历
Filter Data table: 过滤数据表。Input Data Table是对哪个数据表进行操作,output Data Table是输出到哪个数据表,column是从左往右数第几列,注意是从0开始的。keep or remove表示满足下面条件的列被保留还是移除。

i++:

write range:在原有excel中写入值。把Datas表写入sheet2的A1. “sheet2"这里表示在excel中的哪个表写入,后面的”A1“表示写入的范围。”Datas"表示把哪个表写入

Write CSV:新建一个excel. list.csv这个名字可以自定义(会新建一个excel),或者选择已有excel文件,write from从哪个表格写入数据

Assign:把一些东西赋值给一个变量

1.抓取网络数据至excel。Data Scraping->write CSV
2.Excel的读与写 read range是读,filter data table是条件筛选,write range是写

Merge Data Table:合并2个excel表格。把source合并写入destination里, add就是直接添加;ignore是假如destination只有2列而source有3列,合并后以destination为准,为2列;error是如果有不对应的行数,就会主动报错。
注意:如果需要输出合并后的excel,那么必须记得在merge后加write range,不然只是停留在变量中。

查找功能vlookup:

Outlook


Get outlook message: 拿到邮件。 MailFolder:从哪个邮箱文件夹里取出邮件。 Top拿出前面的几封?Messages:给这些邮件集进行命名

Save attachment: 保存附件,folderPath是准备把附件保存到哪个文件夹里。Message是保存的物体叫什么变量名,filter可以选择不填写,是过滤条件。

Get Outlook Mail Message:获取邮件,mailfolder是目标邮件在哪个邮件文件夹里,top是选取多少个邮件(注意,是全部邮件里的前多少个而不是符合条件的前多少个)
filter:
-
Use the Filter Property In the Filter property, define your filter criteria using DASL (Dynamic Application Search Language) or JET queries. Examples of common filters: Emails with a specific subject: "[Subject] = 'Your Subject Here'" Emails from a specific sender: "[SenderEmailAddress] = 'example@domain.com'" Emails received today: "[ReceivedTime] >= '" + DateTime.Today.ToString("MM/dd/yyyy HH:mm tt") + "'" Emails containing a keyword in the body: "@SQL=\"urn:schemas:httpmail:textdescription\" like '%keyword%'"

Directory.GetFiles(“路径”)一般用于遍历文件
Now.toString表示当前时间
reply to mail message:回复邮件。注意mail(get message拿到的邮件)的类型是MailMessage,需要手动改


浙公网安备 33010602011771号