the_lord_mephy Posted November 17, 2004 Share Posted November 17, 2004 Is there a way to Open a .ini file for the user to edit directly? I tried FileOpen, but that's only for .txt files. Can anyone help me please? My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote] Link to comment Share on other sites More sharing options...
Developers Jos Posted November 17, 2004 Developers Share Posted November 17, 2004 Is there a way to Open a .ini file for the user to edit directly? I tried FileOpen, but that's only for .txt files. Can anyone help me please?<{POST_SNAPBACK}>why would that only for ".txt" files?I don't see any issue opening an INI file.... 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...
layer Posted November 17, 2004 Share Posted November 17, 2004 Hmmm, I've tried IniWrite and IniRead, but they don't actually open up the file... FootbaG Link to comment Share on other sites More sharing options...
Developers Jos Posted November 17, 2004 Developers Share Posted November 17, 2004 Hmmm, I've tried IniWrite and IniRead, but they don't actually open up the file...<{POST_SNAPBACK}>Don't understand your point here... iniread and iniwrite are standard system calls but they do open the file, do their thing and close it again...see my answer to your other post for an example how fileopen does work.... : #41859 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...
this-is-me Posted November 17, 2004 Share Posted November 17, 2004 Do you actually think that IniWrite will visually show the file in an editor? If you do, then you have got to be completely spaced out... Who else would I be? Link to comment Share on other sites More sharing options...
the_lord_mephy Posted November 17, 2004 Author Share Posted November 17, 2004 JdeB I wasn't the person who said hmm i tried iniwrite and that, but that's beside the point =-o I tried doing FileOpen("Config.ini", 0) and nothing happened. I want to make it so you can view the file when it opens My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote] Link to comment Share on other sites More sharing options...
this-is-me Posted November 17, 2004 Share Posted November 17, 2004 ... Read above ... Who else would I be? Link to comment Share on other sites More sharing options...
layer Posted November 17, 2004 Share Posted November 17, 2004 Actually, you can view the .ini, it's possible...You need to make a registry key in the .ini thing, thanks to larry, I know this =D Although it's already in there, the key that you need, so I'm not sure, I'm a moron... FootbaG Link to comment Share on other sites More sharing options...
the_lord_mephy Posted November 17, 2004 Author Share Posted November 17, 2004 JdeB I wasn't the person who said hmm i tried iniwrite and that, but that's beside the point =-o I tried doing FileOpen("Config.ini", 0) and nothing happened. I want to make it so you can view the file when it opensI didn't say that I tried IniRead or w/e that was layer. I got it.Run('notepad.exe "' & @ScriptFullPath & '"') =-o My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote] Link to comment Share on other sites More sharing options...
Developers Jos Posted November 17, 2004 Developers Share Posted November 17, 2004 Jackpot for Valik..... 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...
this-is-me Posted November 17, 2004 Share Posted November 17, 2004 He's already commented on this, since a notorious person likes to cross-reference threads. http://www.autoitscript.com/forum/index.ph...=6118&pid=41869 Who else would I be? Link to comment Share on other sites More sharing options...
killaz219 Posted November 17, 2004 Share Posted November 17, 2004 (edited) I just answered it in Layers post that This-is-me posted. So if you need the answer that bad, go there Edited November 17, 2004 by killaz219 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