; ドラッグ範囲選択終了まで待機 While (1) { If (GetKeyState("LButton", "P")) { Send, {LButton Down} While (1) { If (!GetKeyState("LButton", "P")) { Send, {LButton Up} Goto, PrscEnd } } } } PrscEnd: