티스토리 뷰
#20.오토핫키 Ini파일쓰기/읽기
안녕하세요 코드모아 입니다.
1월 7일 #20.오토핫키 Ini파일쓰기/읽기 에대해 강의하겠습니다.
Iniwrite : Ini파일쓰기
즉, Ini파일에다가 원하는내용을 입력할수있다.
Iniread : Ini파일읽기
즉, Ini파일을 읽어 Ini파일의내용을 출력할수있다.
Iniwritre
문법
:
Iniwrite,내용,파일이름.ini,제목,분류
Iniread
문법
:
Iniread,변수,파일이름.ini,제목,분류
ex)
Gui, Add, Edit, x12 y19 w450 h60 vedit,
Gui, Add, Button, x12 y89 w220 h50 gbutton,Iniwrite
Gui, Add, Button, x242 y89 w220 h50 gbutton2,Iniread
Gui, Show, w475 h156,#20.오토핫키 Ini파일쓰기/읽기
return
button:
guicontrolget,edit
Iniwrite,%edit%,예제.ini,코드모아,1
msgbox,Iniwrite완료
return
button2:
Iniread,read,예제.ini,코드모아,1
guicontrol,,edit,%read%
msgbox,Iniread완료
return
GuiClose:
ExitApp
#20.오토핫키 Ini파일쓰기/읽기을 마치겠습니다.
다음강의는 #21.오토핫키 체크박스 에대해 강의해보겠습니다.
질문 및 궁금한점은 댓글로남겨주세요.
'Autohotkey(오토핫키)' 카테고리의 다른 글
#22.오토핫키 라디오박스 (0) | 2018.01.09 |
---|---|
#21.오토핫키 체크박스 (0) | 2018.01.08 |
#19.오토핫키 Random (0) | 2018.01.06 |
#18.오토핫키 goto/gosub (0) | 2018.01.05 |
#17.오토핫키 SetTimer (0) | 2018.01.05 |
댓글