Vindicator209 Posted October 28, 2006 Share Posted October 28, 2006 (edited) Ok then, I've got myself, say, an encrypted INI file, now how could I change it's Icon from the original Notepad to something of my own creation? *that is, within autoit Edited October 28, 2006 by MethodZero [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 28, 2006 Moderators Share Posted October 28, 2006 Ok, as I was saying about my game, I figured how to make teh game saves....now I dont like the fact that its a whie piece of paper so i decided I wanted to find a way to write files with an icon... how would I do this? and I know its perfectly possible considering the auto it team did it with those AU3 files.... so any one want to be kind enuf to share how to manage this? =PEDIT: dunno if it matters but Im using filewrite to make an .MRS fileI think I'd prefer reading a BasicOS post, at least he has an excuse on why his posts make no sense. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Vindicator209 Posted October 28, 2006 Author Share Posted October 28, 2006 (edited) shmuh.... right..... so uh....how could I accomplish this? I was thinking of looking at the script for AUT2EXE or the program that comes up whenever you click "COMPILE WITH OPTIONS" because those somehow add icons the the files.... of course I never found those files, simply because they dont exist Edited October 28, 2006 by MethodZero [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 28, 2006 Moderators Share Posted October 28, 2006 shmuh.... right.....so uh....how could I accomplish this?turtles Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Vindicator209 Posted October 28, 2006 Author Share Posted October 28, 2006 I was changing teh post! I take it your never going to even bother? T_T [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 28, 2006 Moderators Share Posted October 28, 2006 I was changing teh post!I take it your never going to even bother? T_T1. I wasn't kidding when I said your post made 0 sense.2. Why should I bother trying or better yet why should I have to decipher your disrespectful approach to posting a support question. You obviously only care about an answer, but not enough about those of us that generally give you your answers to post a well thought out question. You just typed whatever you were thinking at the moment, which says alot.3. If you code like you post your support questions, I don't think you should concern yourself with the virtual world or whatever you selling, as you'll be spending much of your time debugging broken code.Does this seem spiteful? I hope so, and the shitty part is, you're getting the blunt end of the last 5 support request I've read by others. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Vindicator209 Posted October 28, 2006 Author Share Posted October 28, 2006 errr...oh... sorry... after your first post i realized I really rushed teh question so I went back and changed it... then I saw you post so I said I was changing it... then saw it again not realizing it was the same one so I tried not to add any more un needed info... and err thats all the escuse I can give, concerning I really didnt mean to be.. like offensive, I just wanted to know how i could fix my post in any case, Im just a kid who wanted to make a cool game just like everyone else does around here. If you'd think I suck at it so badly then fine, I'll stop using autoit, but I'd would've liked to how I could fix my question. [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 28, 2006 Moderators Share Posted October 28, 2006 (edited) errr...oh... sorry...after your first post i realized I really rushed teh question so I went back and changed it... then I saw you post so I said I was changing it... then saw it again not realizing it was the same one so I tried not to add any more un needed info... and err thats all the escuse I can give, concerning I really didnt mean to be.. like offensive, I just wanted to know how i could fix my post in any case, Im just a kid who wanted to make a cool game just like everyone else does around here.If you'd think I suck at it so badly then fine, I'll stop using autoit, but I'd would've liked to how I could fix my question.Did you try to use the search option provided to you by the forum?Now before you answer that question, guess how I found the above? It's not scripted specifically to fit your needs, but it will give the direction to go in all the same.I want you to read that question in Blue above, read it carefully. Now try to understand it. What do you get out of it? Do you know what a cognitive dissonance is? Edited October 28, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
GaryFrost Posted October 28, 2006 Share Posted October 28, 2006 Scite Help, search for "Compiler Directives" SciTE for AutoItDirections for Submitting Standard UDFs  Don't argue with an idiot; people watching may not be able to tell the difference.  Link to comment Share on other sites More sharing options...
Vindicator Posted October 28, 2006 Share Posted October 28, 2006 ooh, usefull, I like this. what IS cognitive dissonance? If I hadn't said thank you yet, and you deserve it, than thank you... Link to comment Share on other sites More sharing options...
GaryFrost Posted October 28, 2006 Share Posted October 28, 2006 ooh, usefull, I like this.what IS cognitive dissonance?http://en.wikipedia.org/wiki/Cognitive_dissonance SciTE for AutoItDirections for Submitting Standard UDFs  Don't argue with an idiot; people watching may not be able to tell the difference.  Link to comment Share on other sites More sharing options...
Vindicator Posted October 28, 2006 Share Posted October 28, 2006 right...two conflicting thoughts at the same time... I still dont get what that has to do with Icons, but hey, its not my problem =P If I hadn't said thank you yet, and you deserve it, than thank you... Link to comment Share on other sites More sharing options...
Valik Posted October 28, 2006 Share Posted October 28, 2006 (edited) I grow tired of your support posts MethodZero, and as evidenced by Smoke, others are too. You don't know anything about this language but you're trying to do something vastly complex. You're trying to fly but you haven't learned to crawl yet. Learn the language and how to use it then in a few months come back and re-visit writing a game. Right now you're just asking a bunch of stupid questions that are overly complex and poor solutions to problems you have no hope of actually solving. So far from what I can recall, you've had a problem and then asked for helping implementing a solution that is possibly the worst possible way to ever do the given task, if your "solution" is even possible, which in numerous cases, is not.Or put more simply (And has already been mentioned): Turtles.Edit: Aside: I'm really glad my random-word-generator (brain) didn't churn out something like "horse penis" and came up with the more mundane "turtles" because that response seems to be catching on far more than I ever thought it would (given that I never thought it would). Edited October 28, 2006 by Valik Link to comment Share on other sites More sharing options...
Rad Posted October 28, 2006 Share Posted October 28, 2006 right...two conflicting thoughts at the same time...I still dont get what that has to do with Icons, but hey, its not my problem =PLMAOTHAT MADE ME LAUGH SO HARDooh i dont even know why but that was so halarious i just had to share it Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 28, 2006 Moderators Share Posted October 28, 2006 (edited) Edit: Aside: I'm really glad my random-word-generator (brain) didn't churn out something like "horse penis" and came up with the more mundane "turtles" because that response seems to be catching on far more than I ever thought it would (given that I never thought it would).I chuckled the first time I saw it. I don't remember who it was directed to, maybe slyfox. Anyway, that's a type of term I teach my sales people, when you're frustrated at a client, and need to break the monotony... say something off the wall... our word was "monkey". I first thought of that when I was in a heated debate with a client that was obviously more educated than I was, but didn't have the credit that his education portrayed. The look on his face when I said whatever I said, reminded me of a monkey. Thus, my sales trainings were taught with monkey*ism.Your post on whatever issue, reminded me of that. No matter how confused you are, break the monotony ... "monkey" - thus - "turtle" .Edit:Now that I'm reading this, the poor guy probably thought I had tourette syndrome. Edited October 28, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
cppman Posted October 28, 2006 Share Posted October 28, 2006 (edited) not sure but is this what you were asking? Func _ChangeFileIcon($sType, $sNewIcon) $sLoc = RegRead("HKEY_CLASSES_ROOT\" & $sType & "\", "") RegWrite("HKEY_CLASSES_ROOT\" & $sLoc & "\DefaultIcon\", "", "REG_SZ", $sNewIcon) ProcessClose("explorer.exe") ; Run(@WindowsDir & "\explorer.exe") EndFunc _ChangeFileIcon(".ini", "your_icon_file_here.ico") -Careful how you use this, it can mess up your icons... Edited October 28, 2006 by CHRIS95219 Miva OS Project Link to comment Share on other sites More sharing options...
Developers Jos Posted October 28, 2006 Developers Share Posted October 28, 2006 (edited) shmuh.... right.....so uh....how could I accomplish this? I was thinking of looking at the script for AUT2EXE or the program that comes up whenever you click "COMPILE WITH OPTIONS" because those somehow add icons the the files....of course I never found those files, simply because they dont existIt is using the ResHacker program to update the program Resource information, but the Aut2exe commandline options to define the Program Icon. Reshacker can be used to change the program Icon after it is compiled ... Edited October 28, 2006 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...
Moderators SmOke_N Posted October 28, 2006 Moderators Share Posted October 28, 2006 I think everyone has missed the 3 previous "original posts" on what he's actually trying to do. It's not an "autoit" script he's trying to change the "icon" of. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Vindicator209 Posted October 28, 2006 Author Share Posted October 28, 2006 (edited) hmmm... I'd like to stop building a game if it hadn't taken me two months to finish and am only trying to perk up its graphics, I'd probably would, considering even a moderator is sick of me asking questions, one of the probably best writers are too, then okay, and like I said if you wanted me to stop than say so. I started autoit when I was 11 because I saw someone make a really cool game, and since then Ive been scrapping out games over and over because I never understood something, and I was always afraid to ask here because I knew it would be in the help file, but I never knew what words to search... can I get atleast a chance to apologize? Edited October 28, 2006 by MethodZero [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center] Link to comment Share on other sites More sharing options...
Vindicator Posted October 28, 2006 Share Posted October 28, 2006 you retarded, first off, read the second page, their TRYING TO HELP YOU second, your an idiot, they arent flamming you, their ANNOYED third, who the heck cares if you quit, go ahead and see if anyone cares, Ive only found the fourm like threedays ago and Ive learned to be annoyed of your posting. If I hadn't said thank you yet, and you deserve it, than thank you... 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