.入門|getting started
使い方はカンタンです。
ダウンロードした ProcessMakerTL.exe をダブルクリックして起動。
IPアドレス:127.0.0.1、ポート:8081 で起動します。
FileMakerでフィールドを作成。
フィールド名:Command
フィールド名:Result、どちらもTEXTで作成。
スクリプトを作成。
URL から挿入 [選択; ダイアログなし; PMTL::Result; ""http://127.0.0.1:8081/?target=cmd&Arguments=" & GetAsURLEncoded ( "/c " & PMTL::Command )]
フィールド名:Command
値:
dir "C:\"
スクリプトを実行。標準出力が取得されます。
フィールド名:Command
値:
dir "C:\" /b
ファイル・フォルダ名のみ取得。
dir "C:\" /b /a-d
ファイル名のみ取得。
dir "C:\" /b /ad
フォルダ名のみ取得。