Sparrowlord Posted June 2, 2007 Share Posted June 2, 2007 Could someone tell me why this wont work? $test = RegRead ( "HKEY_LOCAL_MACHINE\SOFTWARE\Games", "Hotkeys" ) $file = FileOpen("writing.ini", 0) FileWrite($file, $test) FileClose($file) Link to comment Share on other sites More sharing options...
Helge Posted June 2, 2007 Share Posted June 2, 2007 You open the file in read mode. That's why. Link to comment Share on other sites More sharing options...
star2 Posted June 3, 2007 Share Posted June 3, 2007 Could someone tell me why this wont work? $test = RegRead ( "HKEY_LOCAL_MACHINE\SOFTWARE\Games", "Hotkeys" ) $file = FileOpen("writing.ini", 0) FileWrite($file, $test) FileClose($file) this is enouph $test = RegRead ( "HKEY_LOCAL_MACHINE\SOFTWARE\Games", "Hotkeys" ) FileWrite('file.ini', $test) [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] 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