tabnation

test 111

Dec 23rd, 2021
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. f1::
  2.  
  3. inifilepath = %A_MyDocuments%\initest\savedinfo.ini
  4.  
  5. startover:
  6. if FileExist (%inifilepath%)
  7. (
  8. IniRead, iniinfo, %inifilepath%, myinfo, info
  9. run, %iniinfo%
  10. )
  11. else
  12. (
  13. msgbox, Please nav to hello world.txt
  14. FileSelectFile, SelectedFile, 3, , Open a file, Text Documents
  15. InputBox, SelectedFile, File path, Please nav to hello world.txt,
  16. if (SelectedFile = "")
  17. (
  18. MsgBox, You got to pick something.
  19. goto startover
  20. )
  21. else
  22. (
  23. IniWrite, %iniinfo%,%inifilepath%, myinfo, info
  24. )
  25. )
  26.  
  27.  
Advertisement
Add Comment
Please, Sign In to add comment