Jump to content

Recommended Posts

Posted (edited)

  On 10/18/2012 at 8:15 PM, 'JohnOne said:

If that works without doubling the lines in the script to be compiled

It doubles the lines... But it's only a line number assigned to a variable. If I improve it, I can reduce the doubling to 1/3. (strip statements/comments/includes) Edited by FireFox
  • Developers
Posted

  On 10/18/2012 at 7:48 PM, 'FireFox said:

This can be improved, It's only an idea.

You are getting close, but forgetting the commentlines.

Try stripping a source file with Obfuscator using /SO or /MO and compare them.

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.
  :)

Posted (edited)

  On 10/18/2012 at 8:24 PM, 'Jos said:

You are getting close, but forgetting the commentlines.

Try stripping a source file with Obfuscator using /SO or /MO and compare them.

Jos

Yes, but I think it will be more simple to code if I skip the lines with the script itself instead of comparing the files. (which requires to run the obfuscator)

And It will be more nice to use if it automatically compile after adding the script line numbers.

Edited by FireFox
Posted

I once done a similar thing with Mr Creators _OnAutoItErrorRegister

But the lines were only added at start of function and contained the function name

I just thought the cost of updating a var for every line would be too much.

Has anyone tested the overhead? (if even it is possible)

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Posted (edited)

Fixes:

  • 0.10.1912.2600b
  • 19/10/2012 -> The UDF was almost completely rewritten, now no longer need to include _AdlibEnhance.au3.

    The detection of error is instant and does not consume more CPU. Interface compatibility with Windows XP

Regards,

João Carlos.

Edited by JScript

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

  Reveal hidden contents

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Posted

  On 10/18/2012 at 11:22 PM, 'JohnOne said:

But the lines were only added at start of function and contained the function name

I did not know that, not bad.

@JScript,

Great :)

Br, FireFox.

Posted

Thanks for this new version. Why the script takes more than 10 sec to write (2 lines) in the file?

Why don't create a msgbox to inform about the end of the process (write in the file)?

Posted (edited)

  On 10/19/2012 at 8:48 AM, 'ricky03 said:

Thanks for this new version. Why the script takes more than 10 sec to write (2 lines) in the file?

Which OS do you use? Here on my Win 7 x86 works normally...

  On 10/19/2012 at 8:48 AM, 'ricky03 said:

Why don't create a msgbox to inform about the end of the process (write in the file)?

Done, thanks!

@FireFox

You're welcome!

JS

Edited by JScript

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

  Reveal hidden contents

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Posted

This UDF has been greatly improved. Well done.

5* from me.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted (edited)

  On 10/19/2012 at 12:15 PM, 'ricky03 said:

More one improvement, if the exception is so big, there is no scroll bar!

Done, thanks!

The version remains the same

JS

Edited by JScript

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

  Reveal hidden contents

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...