マウスのx,y、
マウス下の色、
マウス下のウインドウのx,y、
マウス下のウインドウの左上x,y、
マウス下のウインドウの中央点x,y
マウス下のウインドウの右下x,y、
マウス下のウインドウタイトル
マウスの位置や色を調べる機会が多いので、よく使います。
[code]
While True
if GETKEYSTATE(VK_1) then exit
x = ▼続きを読む
Warning: Use of undefined constant M - assumed 'M' (this will throw an Error in a future version of PHP) in /home/masareukey/www/masareukey/blog/wp-content/themes/mas_1/loop.php on line 92
開いているウインドウの中から、文字列に合うウィンドウ(ウィンドウタイトル)を探します。
[code]
reg = "chrome"
w = GETALLWIN()
For i = 0 to w-1
title = STATUS(ALL_WIN_ID[i], ST_TITLE)
ifb regTest(reg,title) then
print ti ▼続きを読む
Warning: Use of undefined constant M - assumed 'M' (this will throw an Error in a future version of PHP) in /home/masareukey/www/masareukey/blog/wp-content/themes/mas_1/loop.php on line 92
・ショートカットキーでフォルダを開く
スクリプト修正中に少しコードを修正したい部分があることが多いので、
このコードを仕込んでおくと便利。
[code]
if GETKEYSTATE(keyCode) then folder_open("D:\")
procedure folder_open(path)
Exec("EXPLORER.EXE &quo ▼続きを読む
Warning: Use of undefined constant M - assumed 'M' (this will throw an Error in a future version of PHP) in /home/masareukey/www/masareukey/blog/wp-content/themes/mas_1/loop.php on line 92
Warning: Use of undefined constant M - assumed 'M' (this will throw an Error in a future version of PHP) in /home/masareukey/www/masareukey/blog/wp-content/themes/mas_1/loop.php on line 92