Mentis Posted June 15, 2016 Share Posted June 15, 2016 Hey guys, some people asked me to update a pretty old script of mine, i was surprised that anyone still cared since quiet some time passed :). Now I've sadly ran into problems trying to update the code..i obviously get molested by 10.000 "constant already defined" errors (include the metroUI for and some other functional changes) since through some misshappenings I've lost the source and have to work with a decompiled version. Is there a way to automaticly detect and extract all the used? I've started a new project with my old code, but restoring all the includes either through debugging the new project or matching thousends of line in the other code makes little ponys sad .. I would really appreciate any input! peace out Link to comment Share on other sites More sharing options...
Developers Jos Posted June 16, 2016 Developers Share Posted June 16, 2016 @Mentis, We have some rules around discussing decompiled scripts, so make sure you read them first. First observation is that a retrieved source would not contain include statements but the whole source in one file. So you would need to totally strip it down when adding the Includes back in or simply leave it like that. Jos 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...
Mentis Posted June 17, 2016 Author Share Posted June 17, 2016 Spoiler Hey Jos, thanks for the reply! I was apparently way overdue (18 hour work day:).. its a good thing) when I typed this down yesterday since my articulation is really really off and I hardly got my point across. I also just reread the rules (would be really cool if they were thumbnailed in all subcategories, took me a short while to find them), so let me rephrase my question : After a good night out with some buddies I decided to work some more on my script in an unconcious(drunken) state of mind. When I woke up I the next morning, my Pc was still running, and for some weird reason i replaced all the include statements with their matching sources. Did somebody else run into similar happenings and managed to tidy up their sourcecode? My current solution is exactly the opposite way : I exported my own functions into a new project and am currently trying to slowly add all includes by debugging. After working on it for some time it really felt like there was a good chance somebody has written a parser for your proposed (manual) solution. peace Mentis Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted June 17, 2016 Moderators Share Posted June 17, 2016 Mentis, Quote I also just reread the rules (would be really cool if they were thumbnailed in all subcategories, took me a short while to find them) There is a link to the "Forum Rules" in the menu bar at the top of each and every page - so the expression "ice cold" would seem apt..... M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area 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