CyberFunk Productions Posted April 20, 2004 Share Posted April 20, 2004 For some reason the ini's won't write, i have the exe in a file of its own so i shouldn't need a path it should just write into the folder, and it also won't write my txt file. what am i doing wrong? Func ShortC() ;Writes keys $Path = FileSelectFolder("Choose a file", "", 0) ;gets values $File = FileOpenDialog("File EXE", "C:\Program Files\", "Files (*.exe)", 1) Sleep(500) IniWrite( "Keys.ini", $Key, "F6P", $Path) ;then write the values IniWrite( "Keys.ini", $Key, "F6F", $File) $answer = MsgBox(4, "Description", "Would you like to put a description on key?") If $answer = 6 Then $Des = Inputbox("Description", "Please enter the description of the key:", "Description", "", -1, 75, -1, -1 ) $File = FileOpen("Log.txt", 1) FileWriteLine( $File, $Key & " - " & $Des) EndIf EndFunc Link to comment Share on other sites More sharing options...
Developers Jos Posted April 20, 2004 Developers Share Posted April 20, 2004 (edited) For some reason the ini's won't write, i have the exe in a file of its own so i shouldn't need a path it should just write into the folder, and it also won't write my txt file. what am i doing wrong?Deja Vu: http://www.hiddensoft.com/forum/index.php?...indpost&p=13048 Edited April 20, 2004 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
CyberFunk Productions Posted April 20, 2004 Author Share Posted April 20, 2004 lol, ok, i forgot about that one.... Link to comment Share on other sites More sharing options...
jterwelp Posted April 20, 2004 Share Posted April 20, 2004 lol, ok, i forgot about that one....Wow...that's scary. You forgot about a post you made two days ago?Jeff Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now