FM語法腳本目錄整理Windows script steps:視窗腳本
Windows script steps:視窗腳本
New Window:在背景視窗下建立一個新視窗,如文件、浮動文件、對話框等視窗。
語法:New Window[Name: <name of window>; Height: n; Width: n; Top: n; Left: n; Style: Document/Floating Document/Dialog]
Select Window:用視窗名稱指定成前景視窗
語法:Select Window [Current window or Name:<name of window>; Current file]
Close Window:關閉目前作用中的視窗,或以指名的方式關閉其他視窗。
語法:Close Window [Current window or Name: <name of window>; Current file]
Adjust Window:隱藏視窗或改變視窗大小
語法:Adjust Window [Resize to fit/Maximize/Minimize/Restore/Hide]
Move/Resize Window:對選定的視窗做大小與位置的調整
語法:Move/Resize Window [Current window or Name: <name of window>; Current file; Height: <n>; Width: <n>; Top: <n>; Left: <n>]
Arrange All Windows:對所有打開的視窗做大小與位置的調整
語法:Arrange All Windows [Tile Horizontally/Tile Vertically/Cascade
Window/Bring All to Front]
Freeze Window:凍結視窗,即停止對作用中的視窗更新
語法:Freeze Window
Refresh Window:對FM文件視窗進行更新,這包含對任何關聯的記錄更新。
語法:Refresh Window [Flush cached join results; Flush cached external data]
Scroll Window:設定一般視窗、版面視窗、目前欄位的視窗成為捲軸式視窗。
語法:Scroll Window [Home/End/Page Up/Page Down/To Selection]
Show/Hide Menubar:設定FM WebDirect的功能列為顯示或隱藏
語法:Show/Hide Menubar [Show/Hide/Toggle]
Show/Hide Toolbars:設定狀態工具列顯示或隱藏
語法:Show/Hide Toolbars [Lock; Show/Hide/Toggle]
Show/Hide Text Ruler:設定文字尺規顯示或隱藏
語法:Show/Hide Text Ruler [Show/Hide/Toggle]
Set Window Title:變更視窗標題
語法:Set Window Title [Current window or Name: <name of window>; Current file; New Title: <new window name>]
Set Zoom Level:設定縮放等級(比例):設定螢幕中的圖片為放大或縮小
語法:Set Zoom Level [Lock; %...%/Zoom In/Zoom Out]
View As:設定展示資料的模式
語法:View As [View as Form/View as List/View as Table/Cycle]

