Wooltown Posted January 12, 2007 Posted January 12, 2007 I sent you a message with my program, where I have problem, you can have a lokk at it.
kjactive Posted January 13, 2007 Author Posted January 13, 2007 (edited) Thanks Wooltown but I never got the message - please drop it ones more kjactive Edited January 13, 2007 by kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc...
eltorro Posted January 13, 2007 Posted January 13, 2007 I've got one too where it didn't pull *some* of the constants from an included file in the same dir. I tried to break the script down to give you an example but when I do that, it works fine. I'm at work now and don't have access to that script here. I can upload it to you later if you wish. eltorro Regards, [indent]ElTorro[/indent][font="Book"] Decide, Commit, Achieve[/font]_ConfigIO.au3Language Translation --uses Google(tm) MsgBox Move XML wrapper UDF XML2TreeView Zip functionality Split your GUI Save Print ScreenZipPluginEdit In Place listviewSome of my scripts on Google code
kjactive Posted January 15, 2007 Author Posted January 15, 2007 Yes Plese do eltorro - but I have a lot of work at the office right now so take your time... kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc...
kjactive Posted January 23, 2007 Author Posted January 23, 2007 (edited) Well I'm finished with a compleate rewire to the application and fixed a lot of troublesome spots that eltorro and Wooltown nicely exposed and in the same time I did some speed upgrade - If any of you devoded autoitters come across some bugs please let me know as I'm in the final stage to move on the application coding and hopefully without debugging to much...My goal is to make Au3PreProcess into a Large Project Manager & a final scripting PreProcessor...Project Manager: To be able to move focus/edit directly into a function without looking up lots of scripts - directly from the list of included functions...PreProcessor: Reduce CPU use and speedup execute time and make scripts unreadable to hide up my bad programming practice - I miss the Jump function 'just kidding'Please download: http://www.sitecenter.dk/latenight/nss-fol...t%20Manager.zipkjactive Edited February 14, 2009 by kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc...
Wooltown Posted January 23, 2007 Posted January 23, 2007 2 small errors were found when I used it, the ending citation quote was missing on 2 linesGlobal Const $LVITEM="int should be Global Const $LVITEM="int"Global Const $MEM_MAP="uint should be Global Const $MEM_MAP="uint"
webmedic Posted January 23, 2007 Posted January 23, 2007 I have a fairly good sized project that uses multiple children gui's. When I use this script on it for some reason the child gui stuff does not get included in the _pre version. Another thing that was missed is that (and I did not look through every line of code) almost all of my globals were missing. I have a singe include with most of my globals in it. This is an interesting concept though. Another I didn't find the issues that wooltown did.
kjactive Posted January 23, 2007 Author Posted January 23, 2007 (edited) webmedic could you please mail the nessasary scripts to me and I'll have a closer look to solve the problem - Use the Autoit3 forum message handler, you'll find me under kjactive or you can drop me a personal mail with the file attached as a .zip archive at: kjactive@cph-metronet.dk PLEASE clearly state 'Au3PreProcess trouble' in the subject line or I drop the mail out in space as Spam... Wooltown could you drop me an example script or just the full Global const line that should be included, I have a fair idear about what's happened but have to see a full example line to get a closer look - but it's something with a structure and not a variable I think and that's troublesome as these use ';' as a sepparator and if you strip your script for trailing comments it would get ruined - try with this PreProcess process off. Be aware that some PreProcess options is not wise to all scripts as FileOpenDialog use ';' as a suffix sepparator and if Remove trailing comments is active this would get ruined - structure 'variables' have the same issue etc. that's why I want to include an Makefile to control the preprocessor options related to different scripts but this is not implimentated jet... Thanks both for your effort... kjactive Edited January 23, 2007 by kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc...
webmedic Posted January 23, 2007 Posted January 23, 2007 (edited) sent. A few notes. It's a work in progress. I used to have some custom scripts for pebuilder that were all batch file stuff. I'm converting it all over to autoit. A good portion of the work is done but I'm still mostly working on the gui front end stuff yet. Not everything is complete though. What is there works perfectly. The back end stuff for actually controling barts pe is not added yet however. It does work comletely as far as it goes for now and has no currently known bugs. The gui stuff I have used for another app I made and so I still need to change the lang files and stuff but that will be last for me to do after everything else is done. Thanks Also note I'm most likely going to gpl it but I have not decided on a license yet so please don't give it out. Not that you would but thanks anyway. Edited January 23, 2007 by webmedic
kjactive Posted January 23, 2007 Author Posted January 23, 2007 (edited) Hallo webmedic and Other autoitters that dropped me scriptsAlso note I'm most likely going to gpl it but I have not decided on a license yet so please don't give it out. Not that you would but thanks anyway.I'm interested in 'wild scripts' to test Au3PreProcess on and all scripts send to me get placed into a testing directory on my personal computer and wiped when done and I really appciate all the effort you peoble do on helping me out - thanks...kjactive Edited January 23, 2007 by kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc...
webmedic Posted January 23, 2007 Posted January 23, 2007 (edited) thank you. ALso I didn't look at your code yet but I do use debugging functions to output debugging info to the console window of scite. Another nice idea for the preprocessor would be if it would strip debugging lines from the finished product. This would save me from having to go through and do it all by hand. my function calls look like this _Debug(@ScriptLineNumber, "WhichPlugin = " & $WhichPlugin) This helps me to see were my code is messing up at so I sprinkle them all over when I'm trying to figure out what is going on. Edited January 23, 2007 by webmedic
kjactive Posted January 23, 2007 Author Posted January 23, 2007 (edited) Hallo Webmedic To strip _Debug lines - yes I include that in future, any other things like this I should include By the way - your mailed Project is a very well designed scripting project BUT huge, actually the biggest project I seen for a long time and it will take me quite a while to get down to the troublefull spots in Au3PreProcessor process, don't thing that I forgot it's just that huge a project that I probably have to mail you directly to get some idears where to look... kjactive Edited January 23, 2007 by kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc...
webmedic Posted January 23, 2007 Posted January 23, 2007 no problem. This project isn't much I have quite a few others that are at least this bit and a few that are larger. No problem email me with any questions. I can't think of anything else besides debug that would be nice to have. Since I know if all the _debug() lines are removed first then it should automaticly remove the function also. Thanks.
kjactive Posted January 25, 2007 Author Posted January 25, 2007 I've updated the Au3Preprocess trailing comment scan for structures and leave these unprocessed if there is more than two values in the structure - This one for Wooltown... I found a troblefull spot - Remove tab characters now leaves one blank character 0x20 not to ruin the script in some conditions... WebMedic Where do I find the _Debug function as I do remember something about this but can't find documentation... kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc...
eltorro Posted January 25, 2007 Posted January 25, 2007 Wow, making progress! Here's something it's still messing up on: It is turning this : Global Const $tagBITMAPINFO = $tagBITMAPINFOHEADER &";"& $tagQUAD oÝ÷ Ú)í¢Øb±«¢+Ù±½° ½¹ÍÐÀÌØíÑ %Q5A%9 regards, eltorro Regards, [indent]ElTorro[/indent][font="Book"] Decide, Commit, Achieve[/font]_ConfigIO.au3Language Translation --uses Google(tm) MsgBox Move XML wrapper UDF XML2TreeView Zip functionality Split your GUI Save Print ScreenZipPluginEdit In Place listviewSome of my scripts on Google code
eltorro Posted January 25, 2007 Posted January 25, 2007 Whoops, found another; in a line like this, I am not using first one, but I am using the second. But the whole line is skipped altogether. so this: Global Enum $PS_SOLID= 0 , $PS_DASH, $PS_DOT, $PS_DASHDOT, $PS_DASHDOTDOT oÝ÷ Ù·¢g¬jëh×6 eltorro Regards, [indent]ElTorro[/indent][font="Book"] Decide, Commit, Achieve[/font]_ConfigIO.au3Language Translation --uses Google(tm) MsgBox Move XML wrapper UDF XML2TreeView Zip functionality Split your GUI Save Print ScreenZipPluginEdit In Place listviewSome of my scripts on Google code
Wooltown Posted January 26, 2007 Posted January 26, 2007 Thank you very much, it works just fine. Or as you say in Denmark: Mange takk - From the guy on the other side of Øresundsbron. /Sven
kjactive Posted January 26, 2007 Author Posted January 26, 2007 (edited) Kun et K i tak på Dansk men eller Takk så mikket for hjelpen Sven, ja Øresundsbroen er helt fin - Skal til Madrid og flyver fra Sturup... Kjcative Edited January 26, 2007 by kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc...
webmedic Posted January 30, 2007 Posted January 30, 2007 Sorry for the delay I have been off line. It is a function or more like a udf that I use on my own scripts not something native to autoit. I simply make my own function _Debug and from there echo the contents to the console. It's handy for debuggingand does not require a bunch of popup windows for debugging.
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