본문 바로가기

만드는 이야기/기타21

한글2007 설치후 인터넷 익스플로러 8 웹 페이지 복원 오류 문제 간단하게 배치파일로 만들었습니다제대로 작동 안하시는 분은 설명서 일고 직접 복사하셔요; -- 배치 내용 -- @echo offecho.echo.echo -----------------------------------echo --- 인터넷 익스플로러 강제 종료 ---echo -----------------------------------taskkill /IM iexplore.exeecho -----------------------------------echo.echo.echo ----------------------------------echo --- jscript.dll 파일 복사 실행 ---echo ----------------------------------copy "%~DP0jscript.dll" .. 2015. 1. 24.
오토핫키) 메모장이 종료되면 다시실행시키고 숫자 입력 및 툴팁 표시 coordmode,tooltip,screen CoordMode , Mouse, screen ;마우스 정대좌표로 인식,안할시 활성창 기준SetTimer, MSG_TXT1 , 1000j:=0 loop{ GoChk1 = 0MouseGetPos, OutputVarX, OutputVarY, OutputVarWin, OutputVarControltooltip,%TXT1%%A_Index%,OutputVarX+10,OutputVarY+20,1 } return ~^!#m:: ; 노트패드를 실행후 노트패드에 키를 보내는 예GoChk1 = 1i:=1Loop{IfWinNotExist, ahk_class Notepad{run, NotepadWinWait, ahk_class Notepad}ControlSetText, Edit1,.. 2014. 3. 14.
오토핫키) 키보드 인식 또는 입력 http://www.autohotkey.com/docs/commands/Send.htmSend Keys SendRaw Keys SendInput Keys SendPlay Keys SendEvent Keys #^+!F9:: ;메크로실행후 WIN + CONTROL + SHIFT + ALT + F9를 입력시send #^+!{F7} ; WIN + CONTROL + SHIFT + ALT + F7를 입력return ! ;알트+ ;쉬프트^ ; 컨트롤# ;윈도우!: Sends an ALT keystroke. For example, Send This is text!a would send the keys "This is text" and then press ALT+a. Note: !A produces a different.. 2014. 3. 13.
오토핫키) loop 일반 루프, 파일 갯수만큼 루프 Loop (normal)Perform a series of commands repeatedly: either the specified number of times or until break is encountered.Loop (files & folders)Retrieves the specified files or folders, one at a time.Loop (parse a string)Retrieves substrings (fields) from a string, one at a time.Loop (read file contents)Retrieves the lines in a text file, one at a time (performs better than FileReadLine).Loop (re.. 2014. 3. 13.