send.exe
窓に対してメッセージを送る
ftp://ftp.riken.go.jp/pub/pc/winesite/winxp/miscutil/Send-v1_31.zip
ソース同梱
winsiteがトップしかないので更新はないと思う
http://vanheest.org/
Location: http://www.eskimo.com/~edv/vanheest
http://www.eskimo.com/~edv/lockscroll/
mb2u.exe Multibyte to Unicode converter
u2mb.exe Unicode to Multibyte converter
HideCmd.exe HideCmd {executable} [arguments] GUI
show.exe Provide at least an application name
1.27-1.30
-r A regular expression of "." will match all windows that have a title of at least one character.
1.31
-p Send windows messages to the parent of the control
以下 1.27用
-r "アプリケーション"で正規表現を使う
-c 大文字と小文字を区別する
-f 繰り返し文字列を送る (永遠に) Ctrl+Alt+Shiftで終了
-g アクティブな窓(foreground)に送る (アプリケーション指定は無視する)
sendg.bat @send -g "" "%*">nul
-b Leave the selected window in the background (WM/pos only)
背面に選択した窓をLeaveする(WM/pos only)
-dと同等?(指定した窓をアクティブのままにする)
-l 全窓のcaption一覧表示
List captions of all windows not matching "application"
-w 窓が出るまで待機する
send -w -i 2 "Google Chrome" \[BM_CLICK]
何もせずに終了する
-W 窓が有効化されるまで待機する ("keys"を指定しても無視される)
send -W -i 2 "Google Chrome" \[BM_CLICK]
"Google Chrome"の2を待つだけ
-d 送信後、元の窓(forground)をアクティブにしない
-h 非表示の窓も含める
-n 新しいcaptionにする
-s classも指定する
Also match the window class specified
-a 該当する全ての窓にコマンドを送る
-i 小窓のIDを指定する(不可視窓も含まれる)(!付きは含まれない)
Use the dialog item ID specified
-x 窓が無くなるまで待機する
-X 窓が無効化されるまで待機する
time 指定した時間まで待機する
Wait until specified time to send the keys
API関連は一番下に書いた
-w 以降の引数も実行される
-W 以降の引数は無視される
send -X "sendh.bat" "sendh.bat"終了時、待機したまま
send -x "sendh.bat" "sendh.bat"終了時、終了する
p 前の窓 previous window
n 次の窓 next window
f 最初の窓 first window
l 最後の窓 last window
c 最初の子窓 first child window
o 親窓 owner window
ShareDBEditor.exeでの使用例
:ロード
send -w -s ThunderRT6FormDC "ShareDBEditor 0.01b4" \[WM_COMMAND,1]
:download.txt選択
send -w -s ThunderRT6FormDC "ShareDBEditor 0.01b4" \[WM_COMMAND,0x1D]
:選択中のみ表示
send -w -s ThunderRT6FormDC "ShareDBEditor 0.01b4" \[WM_COMMAND,0x0A]
:Hash Search ThunderRT6CheckBox ID 10
send -w -i 10 "ShareDBEditor 0.01b4" \[BM_CLICK]
最終更新:2010年06月06日 16:01