Getpage

此説明頁面適用於 Desktop Studio。 此資訊亦適用於 Studio。

Icon of GetPage: document with a globe

檢索完整的網頁並將其儲存在變數中。

相依性

  • Getpage 會與 Htmltable 動作結合使用,該動作接著會剖析並從變數中提取資料。
  • 將網頁的 HTML 程式碼儲存到屬性中指定長度的變數中。
  • 請務必變更長度以適應網頁的大小。

支援的程式碼類型

The icon for a Generic script type - a rectangle with < and > symbols inside it.

電郵指令碼類型的圖示 - 菱形中的大 @ 符號。

聊天指令碼類型的圖示 - 帶有省略號 (...) 的菱形聊天氣泡。

電話指令碼類型的圖示 - 一種帶有彎曲電話線的老式電話聽筒,表示會發出聲音。

語音郵件指令碼類型的圖示 - 類似於盒式磁帶的符號 - 兩個圓圈位於一條水平線上。

``` 工作項目指令碼類型的圖示 - 有一個角向下折疊的紙張,上面有一個項目符號清單。 ```

SMS 指令碼類型的圖示 - 帶有聊天氣泡的智慧型手機。

Digital 腳本類型的圖示-一部電腦顯示器,旁邊放置一部智能電話。

通用

電郵 聊天 電話 語音郵件 工作項目 SMS Digital

輸入屬性

這些屬性定義了動作執行時使用的資料。

屬性

描述

標題

Enter a short phrase that uniquely identifies this action in the script. The caption appears on the script canvas under the action icon. The default is the action name.

URL 網頁的URL,例如:http://www.nice.com
逾時 動作在逾時前等待執行的秒數。此數值必須介乎0與60之間。
MaxLength Limits the size of the web page. You can choose from Limit4K, Limit8K, Limit16K, Limit32K.
ResultVar 包含檢索的網頁之變數的名稱。

結果分支條件

結果分支條件允許您在指令碼中建立分支,以處理執行動作時的不同結果。

條件

描述

預設

Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined.

逾時

Path taken if there is no response for the number of seconds specified.

NoData

Path taken if there are no values for the specified properties.