목록부분 (7)
넷게임
#Include, Gdip_all.ahk #Include, Gdip_ImageSearch.ahk WinGet, out, list, ahk_class LDPlayerMainFrameLoop, % out{_hwnd := out%A_Index%wingettitle, title, ahk_id %_hwnd% list=%list%%title%|} Gui, Add, DropDownList, x75 y10 w85 Choose1 v타이틀, %list% ;핸들은 이렇게 잡아서 쓰고있구요.. ;비활성클릭 PostClick(FoundX,FoundY){lparam:=FoundX|FoundY-35
초보 c# 매크로 공부시작했습니다. 이미지서치는 opencv 매치템플릿으로 쉽게 가능했는데요, 배경제외하고 검색하는 부분에서 막혔습니다. 이부분 해결해 주실분 연락주세요. 사례드립니다. 010-3258-9773 문자나 전화주셔요. 답글
안녕하세요. 처음으로 글을 올리게 되었습니다. gdip 이미지서치를 응용하고 싶습니다. 1. 이미지서치 대상(HayStack)은 파일에서 검색을 하고 싶습니다. 2. 이미지서치의 검색화면(Needle)은 클라이언트의 특정좌표 부분에서 얻고 싶습니다. 즉 클라이언트 화면 100,100좌표에서 3px 3px인 부분을 따서 저장되어있는 back.bmp파일에서 이미지를 서치해 이미지의 좌표를 구하고 싶은데요. 1번같은 경우는 pBitmapHayStack:=Gdip_CreateBitmapFromFile(back_image)이렇게 하여 파일에서 Haystack을 만들어줬습니다. 다만 2번 Needle값을 Gdip_BitmapFromhwnd에서 가져온 값중 특정좌표의 특정사이즈만 가져와 파일로 검색하게 만들 방법을 ..
gui, show, x10 y10 w190 h105, GUI 예제 gui, add, button, x100 y10 w75 h80 g버튼 , 설정 완료 Gui, Add, Text, x10 y15 Cred , Send Gui, Add, edit, x50 y10 w40 h20 v내용, 1234 Gui, Add, Text, x10 y45 CBlue , Sleep Gui, Add, edit, x50 y40 w40 h20 v속도1, %속도1% Gui, Add, Text, x10 y75 , 단축키 Gui, Add, Hotkey, x50 y70 w40 h20 v핫키1, F2 return 버튼: Gui Submit, nohide GUIControlGet, 내용 GUIControlGet, 속도1 if Enable=on {..
ocr부분 비활성 캡쳐는 아래 방식으로 사용하고있습니다. pToken:=Gdip_Startup() pBitmapHayStack := Gdip_BitmapFromhwnd(hwnd) pBitmap:=Gdip_CloneBitmapArea(pBitmapHayStack, topLeftX, topLeftY, widthToScan, heightToScan) Gdip_GetImageDimensions(pBitmap, width, height) pBitmapNew := Gdip_CreateBitmap(n_width := width * 2.5, n_height := height * 2.5) G := Gdip_GraphicsFromImage(pBitmapNew) Gdip_DrawImage(G, pBitmap, 7, 7, w..
오픈소스를 조금 수정해서 오토핫키의 함수 몇개를 고쳐서 따로 사용하려고합니다 예를들어 controlclick함수를 찾아 수정해서 사용하려고 하는데 함수명을 키워드로 검색한 후 정의 피킹을 해보니 script2.cpp에 정의인듯한 내용이 뜨더군요 ResultType Line::ControlClick(vk_type aVK, int aClickCount, LPTSTR aOptions, LPTSTR aControl , LPTSTR aTitle, LPTSTR aText, LPTSTR aExcludeTitle, LPTSTR aExcludeText) { HWND target_window = DetermineTargetWindow(aTitle, aText, aExcludeTitle, aExcludeText); if (..