WebBar 對象

屬性

scrollX

傳回捲動條的水平位置。

scrollY

傳回捲動條的垂直位置。

Visible

顯示或隱藏網頁瀏覽器。

方法

Open

打開指定 URL 的網站。

scrollBy

依指定的相對距離捲動視窗。

scrollTo

將視窗捲動到指定的位置。

SetFocus

將鍵盤焦點設定到網頁瀏覽器。

範例

[JavaScript]

WebBar.Open( "https://www.emeditor.com/" );
WebBar.SetFocus();

[VBScript]

WebBar.Open "https://www.emeditor.com/"
WebBar.SetFocus

版本

支持 EmEditor Professional 版 23.0 或之後的版本。