FM語法腳本目錄整理Miscellaneous script steps:其他腳本
Show Custom Dialog:用自己定義的文本和標籤,顯示在自定的對話框中
語法:Show Custom Dialog [<title>; <message text>; Table::input field ;...]
Allow Formatting Bar:設定格式欄是否可用 0
語法:Allow Formatting Bar[<On/Off>] 0
Refresh Object:為指定的物件進行內容、條件格式、可見狀態之更新
語法:Refresh Object [Object Name: <object name>; Repetition: <value or formula>]
Beep:讓系統發出一個嗶聲
語法:Beep
Speak (OS X):從文本中產生成的講話
語法:Speak [<text to be spoken>]
Dial Phone:從內鍵的腳本撥電話
語法:Dial Phone [No dialog; <phone number>]
Install Plug-In File:從容器欄位的隨插入檔案來安裝或更新自己的電腦
語法:Install Plug-In File[<table::field>]
Install Menu Set:依據腳本的設定條件改變選單的設定
語法:Install Menu Set [Specified menu set name; Use as file default]
Set Web Viewer:控制指定的Web瀏覽器
語法:Set Web Viewer [Object Name: “<object name>”; Action: <action>]
Open URL:允許使用者打開網址
語法:Open URL [No dialog; <URL>]
Send Mail:透過email程式或SMTP在網外或網內寄送含或不含附件的email訊息
語法:Send Mail [Send via E-mail Client/Send via SMTP Server]; No dialog; To:
“<to>”; CC: “<CC>”; BCC: “<BCC>”;
Subject: “<subject>”; Message: “<message>”; “<attachment>”]
Send DDE Execute (Windows):送出一個動態資料交換命令給另一個程式執行一系列可用的命令
語法:Send DDE Execute [<topic text or filename>; <service name>]
Perform AppleScript (OS X):送出AppleScript命令給另一個應用程式執行
語法:Perform AppleScript [“<applescript text>”]
Execute SQL:在ODBC資料來源上執行任何的SQL語法
語法:Execute SQL [No Dialog; ODBC: <datasource name>; <native SQL or calculated SQL>]
Send Event (OS X):送出一個Apple事件給另一個被呼叫的應用程式
語法:Send Event ["<Target Application>"; "<Event Class>"; "<Event ID>", "<Document or Calculation or Script Text>"]
Send Event (Windows):送出一事件給另一個應用程式,進行啟動、打開文件、列印文件
語法:Send Event [“<aevt>”; “<event name>”; “<filename>”]
Comment:加入註釋到腳本步驟的列表。
語法:#<comment text>
Flush Cache to Disk:將緩衝區內的FM內部檔案立刻寫入電腦的硬碟
語法:Flush Cache to Disk
Exit Application:退出FM應用程式時,關閉所有打開的檔案
語法:Exit Application

