Jump to content
Simpel

AU3Stripper - SendTo

Recommended Posts

Simpel

Hi,

while debugging sometimes I need the au3 stripped script with /mo parameter, so that error lines in the error message match the script. Things I use often I put inside sendto folder (shell:sendto) so I can push my file to this with right click fast. A long time I had problems with some of my scripts stripping this way because the some paths to my script included spaces (you should not do that). But here’s my solution fixing that problem:

Local $sPathToAU3Stripper = "" ; fill in the path here
Local $sPath
If $CmdLineRaw = "" Then ; you didn't do it with sendto
    $sPath = FileOpenDialog("Which file you want to AU3-strip?", "","AU3 (*.au3)", 3)
    If @error Then
        MsgBox(0, 'Error FileOpenDialog:', @error)
        Exit
    EndIf
Else
    $sPath = $CMDLINE[1]
EndIf
Local $sPath_quoted = '"' & $sPath & '"'
ShellExecuteWait($sPathToAU3Stripper, $sPath_quoted & ' /mo', "", "", @SW_HIDE)

I hope someone will find it useful.

Regards, Conrad


SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

   88x31.png  Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind.

Share this post


Link to post
Share on other sites
Simpel

Hi @Jos 

I did it that way for a long time. But then I decided to “include” the script as a resource that I always can extract via $cmdline. And suddenly I always got an error message that “including” failed. Did I comment the parameter /mo out it worked.

I hope I can post an exampe for my current workflow tomorrow evening.

Conrad


SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

   88x31.png  Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind.

Share this post


Link to post
Share on other sites
Simpel

Hi @Jos,

as written above I have some code I always put via an #include into my scripts. Inside this #include I use this code to have source code always embedded:

#include<ResourcesEx.au3> ; nötig zum Extrahieren der Source
_ExtractSource() ; extrahiert die Source wenn @compiled und $cmdlineraw stimmt

Func _ExtractSource()
    If @Compiled Then
        If StringRegExp($cmdlineraw, "(?i)(extract|extrakt|source|quelle|code|au3)") Then
            Local $sInputExe = @ScriptFullPath
            Local $sResNameOrID = 999
            Local $sFilePathAu3 = StringLeft(@ScriptFullPath, StringInStr(@ScriptFullPath, ".", 0, - 1) - 1) & "_extracted_source.au3"
            Local $bReturn = _Resource_SaveToFile($sFilePathAu3, $sResNameOrID, Default, Default, Default, $sInputExe)
            Local $sErrorAddon
            If @error = 6 Then $sErrorAddon = " - Kein Quellcode gefunden."
            MsgBox(0, 'Sourcecode', 'Extrahiert: ' & $bReturn & @CRLF & @CRLF & 'Error: ' & @error & $sErrorAddon & @CRLF & 'Extended: ' & @extended & @CRLF & @CRLF & "Pfad: " & $sFilePathAu3)
            Exit
        EndIf
    EndIf
EndFunc

Having this inside I get an error message while compiling with these parameters:

#AutoIt3Wrapper_Run_Au3Stripper=y
#Au3Stripper_Parameters=/mo

So I have to comment them out. Do you see another possibility to do both?

Regards, Conrad


SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

   88x31.png  Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind.

Share this post


Link to post
Share on other sites
Jos

What is the error and how does that extract source look when you run it compiled?
When you want me to have a look you need to give me an working example to simulate your issue.

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Simpel

Hi @Jos,

sorry I wasn't clear. Both together are a working example. Please try this:

#AutoIt3Wrapper_Run_Au3Stripper=y
#Au3Stripper_Parameters=/mo
#include<ResourcesEx.au3>
_ExtractSource()

MsgBox(0, 'Test', "This shows that the script is normally working.")
Exit

Func _ExtractSource()
    If @Compiled Then
        If StringRegExp($cmdlineraw, "(?i)(extract|extrakt|source|quelle|code|au3)") Then
            Local $sInputExe = @ScriptFullPath
            Local $sResNameOrID = 999
            Local $sFilePathAu3 = StringLeft(@ScriptFullPath, StringInStr(@ScriptFullPath, ".", 0, - 1) - 1) & "_extracted_source.au3"
            Local $bReturn = _Resource_SaveToFile($sFilePathAu3, $sResNameOrID, Default, Default, Default, $sInputExe)
            Local $sErrorAddon
            If @error = 6 Then $sErrorAddon = " - No source found."
            MsgBox(0, 'Sourcecode', 'Extracted: ' & $bReturn & @CRLF & @CRLF & 'Error: ' & @error & $sErrorAddon & @CRLF & 'Extended: ' & @extended & @CRLF & @CRLF & "Path: " & $sFilePathAu3)
            Exit
        EndIf
    EndIf
EndFunc

SciTE console out:

>"H:\_Conrad lokal\Downloads\AutoIt3\SciTE\..\AutoIt3.exe" "H:\_Conrad lokal\Downloads\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /NoStatus /prod /in "H:\_Conrad lokal\Downloads\AutoIt3\_COX\Tests\test.au3"
+>16:01:04 Starting AutoIt3Wrapper v.16.306.1237.0 SciTE v.3.6.2.0   Keyboard:00000407  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64  Environment(Language:0407)  CodePage:0  utf8.auto.check:4    # detect ascii high characters and if none found set default encoding to UTF8 and do not add BOM
+>         SciTEDir => H:\_Conrad lokal\Downloads\AutoIt3\SciTE   UserDir => H:\_Conrad lokal\Downloads\AutoIt3\SciTE\AutoIt3Wrapper
>Running AU3Check (3.3.14.2)  params:-q -d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7  from:H:\_Conrad lokal\Downloads\AutoIt3  input:H:\_Conrad lokal\Downloads\AutoIt3\_COX\Tests\test.au3
+>16:01:05 AU3Check ended.rc:0
>Running Au3Stripper (16.306.1237.0)  from:H:\_Conrad lokal\Downloads\AutoIt3\SciTE\Au3Stripper cmdline:
+> 0 Au3Stripper v16.306.1237.0 finished merging 22963 lines of code, stripped 10091 comment lines and Merged 451 Continuation lines.
+>        Created:H:\_Conrad lokal\Downloads\AutoIt3\_COX\Tests\test_stripped.au3 with 12421 lines.
+>16:01:06 Au3Stripper ended.rc:0
>Running AU3Check (3.3.14.2)  params:-q -d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7  from:H:\_Conrad lokal\Downloads\AutoIt3  input:H:\_Conrad lokal\Downloads\AutoIt3\_COX\Tests\test_stripped.au3
+>16:01:06 AU3Check ended.rc:0
>Running:(3.3.14.2):H:\_Conrad lokal\Downloads\AutoIt3\aut2exe\aut2exe.exe  /in "H:\_Conrad lokal\Downloads\AutoIt3\_COX\Tests\test_stripped.au3" /out "C:\Users\zelckc\AppData\Local\AutoIt v3\Aut2exe\~AU9D8A.tmp.exe" /nopack /comp 2
+>16:01:08 Aut2exe.exe ended.C:\Users\zelckc\AppData\Local\AutoIt v3\Aut2exe\~AU9D8A.tmp.exe. rc:0
>16:01:08 Performing the Program Resource Update steps:
...>Updating Program Version information.
!>16:01:08 Skipping SourceSave because this is an stripped script.rc:2
>16:01:08 Program Resource updating finished successfully.
+>16:01:08 Created program:H:\_Conrad lokal\Downloads\AutoIt3\_COX\Tests\test.exe
+>16:01:08 AutoIt3Wrapper Finished.
>Exit code: 0    Time: 4.826

I think this message is the one: !>16:01:08 Skipping SourceSave because this is an stripped script.rc:2

But I don't know why it can't save that stripped file. That would be ok too. My goal at the end would be to include original unstripped and stripped version both could be excluded with to different parameters. (Why include the stripped version if I can strip the excluded original when needed manually? I found out, that a lot of error messages in faulty scripts point to a wee another line then found in the later stripped version (original scripts were definitely unchanged).)

Conrad


SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

   88x31.png  Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind.

Share this post


Link to post
Share on other sites
Jos

I think I understand that issue now. this piece of code was introduced in Obfuscator and coded in a way that the source would only be included when /StripOnly was specified when Obfuscator was ran. Obfuscator is renamed to Au3Stripper but this logic isn't adapted to the updated parameter structure.

I need to think about this one a little longer what is correct now so please add an feature request in our "Bug Tracker" so I won't forget to have that closer look.

Jos 


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Simpel

Ok, thank you for your information. I use ResourcesEx.au3 only because it works with marcos and variables .In FileInstall() it must be a literal string. It cannot use a variable and because of that I can't use it as a standard function inside an include I include in all of my scripts. Is there another possibility to include my script?

Conrad


SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

   88x31.png  Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind.

Share this post


Link to post
Share on other sites
Jos

Quick hack to make it always include the master source?
Changed the lines 2545-2562 in AutoIt3Wrapper.au3: 

; Add original source to Resources
            If $INP_Res_SaveSource = "y" Then
                Local $tempfilein
                If $INP_Run_Au3Stripper = "y" Then
                    If StringInStr($INP_Au3Stripper_Parameters, "/so") Or StringInStr($INP_Au3Stripper_Parameters, "/striponly") Then
                        FileCopy(StringTrimRight($ScriptFile_In, StringLen($ScriptFile_In_Ext)) & '_stripped' & $ScriptFile_In_Ext, $TempDir & "\scriptin.tmp", 1)
                        Write_RC_Console_Msg("Adding stripped Script source to RT_RCDATA,999 in the Output executable.", "", "...", 0)
                    Else
                        Write_RC_Console_Msg("Skipping SourceSave because this is an stripped script.", 2)
                    EndIf
                Else
                    $tempfilein = _TempFile($TempDir)
                    FileCopy($ScriptFile_In, $tempfilein, 1)
                    Write_RC_Console_Msg("Adding original Script source to RT_RCDATA,999 in the Output executable.", "", "...", 0)
                    _Res_Update($rh, $tempfilein, 10, 999, $INP_Res_Language)
                    __DelTempFile($tempfilein)
                EndIf
            EndIf

to:

; Add original source to Resources
            If $INP_Res_SaveSource = "y" Then
                Local $tempfilein = _TempFile($TempDir)
                FileCopy($ScriptFile_In, $tempfilein, 1)
                Write_RC_Console_Msg("Adding original Script source to RT_RCDATA,999 in the Output executable.", "", "...", 0)
                _Res_Update($rh, $tempfilein, 10, 999, $INP_Res_Language)
                __DelTempFile($tempfilein)
            EndIf

Jos :)


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Simpel

Ok. That led to a stripped master source included. I did this instead to have both.

Line 995 from:

$ScriptFile_In = $ScriptFile_In_stripped

To:

Local $ScriptFile_In_Unstripped_For_Res_Update = $ScriptFile_In ; variable including unstripped script - mod by cox
$ScriptFile_In = $ScriptFile_In_stripped

And line 2490ff instead your original posted to:

; Add original source to Resources ; mod by cox
            If $INP_Res_SaveSource = "y" Then
                Local $tempfilein
                If $INP_Run_Au3Stripper = "y" Then
                    $tempfilein = _TempFile($TempDir)
                    FileCopy($ScriptFile_In_Unstripped_For_Res_Update, $tempfilein, 1)
                    Write_RC_Console_Msg("Adding original Script source to RT_RCDATA,999 in the Output executable.", "", "...", 0)
                    _Res_Update($rh, $tempfilein, 10, 999, $INP_Res_Language)
                    __DelTempFile($tempfilein)
                    $tempfilein = _TempFile($TempDir)
                    FileCopy($ScriptFile_In, $tempfilein, 1)
                    Write_RC_Console_Msg("Adding stripped Script source to RT_RCDATA,998 in the Output executable.", "", "...", 0)
                    _Res_Update($rh, $tempfilein, 10, 998, $INP_Res_Language)
                    __DelTempFile($tempfilein)
                Else
                    $tempfilein = _TempFile($TempDir)
                    FileCopy($ScriptFile_In, $tempfilein, 1)
                    Write_RC_Console_Msg("Adding original Script source to RT_RCDATA,999 in the Output executable.", "", "...", 0)
                    _Res_Update($rh, $tempfilein, 10, 999, $INP_Res_Language)
                    __DelTempFile($tempfilein)
                EndIf
            EndIf

Thanks @Jos. Exe has some more kb but always includes the originals this compiled script is made from.

Conrad

P.S. I don't know why line numbers differ but wrapper says Global Const $VERSION = "16.306.1237.0". I thought using the latest updates.


SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

   88x31.png  Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind.

Share this post


Link to post
Share on other sites
Jos

I regularly make updates and post them in the Beta directory so line numbers could indeed differ. 
I knew I shouldn't have given that quick hack as I knew there was more to it that would need testing. :)

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Simpel

I do like it. But understand you completely. I would feel that way too. But here I just needed a short hint.

Conrad


SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

   88x31.png  Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind.

Share this post


Link to post
Share on other sites
Jos
On 16-1-2018 at 8:36 PM, Simpel said:

Thanks @Jos. Exe has some more kb but always includes the originals this compiled script is made from.

I am not going to add the option to save both the original master script and the script source generated by au3stripper  in the original AutoIt3Wrapper as that feels like an overkill. To always add the original master file we could simply use $ScriptFile_In_Org which contains just that, but I quite like the fact that the au3stripper output is just a selfcontained script source that will run all by itself without the need for the right version of any include. 

So am considering to make it optional which source to include, being either Master or Au3Stripper output.

Thoughts?

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
lpduy

Hi Jos

Thank alots about Autoit also Au3stripper!

Please support options on one build!

#Au3Stripper_Parameters=/MO /rm /sv /sf

 

Share this post


Link to post
Share on other sites
Jos
Posted (edited)

Not sure what you are expecting to happen with these options?
/MO=Merge Only and /SV & /SF tell to strip the variables and functions.

So what exactly do you expect to happen that isn't happening with: 

#Au3Stripper_Parameters=/rm /sv /sf

-or- ( which is the same )

#Au3Stripper_Parameters=/rm

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
lpduy
On 8/14/2018 at 2:16 PM, Jos said:

Not sure what you are expecting to happen with these options?
/MO=Merge Only and /SV & /SF tell to strip the variables and functions.

So what exactly do you expect to happen that isn't happening with: 


#Au3Stripper_Parameters=/rm /sv /sf

-or- ( which is the same )


#Au3Stripper_Parameters=/rm

Jos

Can you help to merge all include, then remove unused func and then rename func to reduce the file size and the feeling of doing so the app will run smoother

Share this post


Link to post
Share on other sites
Jos
Just now, lpduy said:

Can you help to merge all include, then remove unused func and then rename func to reduce the file size and the feeling of doing so the app will run smoother

That is what I already stated!  simply use:

#Au3Stripper_Parameters=/rm

Have you tried it and is it giving problems?

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
lpduy
10 minutes ago, Jos said:

That is what I already stated!  simply use:


#Au3Stripper_Parameters=/rm

Have you tried it and is it giving problems?

Thanks alot! the best and no problem! only one I understand all func au3stripper!

Can I ask new option for au3stripper?

Share this post


Link to post
Share on other sites
lpduy
10 minutes ago, Jos said:

I do not understand what you are asking me now... please try to explain in some more detail.

Jos

I call this option strip all string values.

this is replace all string in script by array element. And all string will build to global array.

it will late to repare app when start but it faster when do work.

 

 

Share this post


Link to post
Share on other sites

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

  • Similar Content

    • BigDaddyO
      By BigDaddyO
      I've recently been getting hammered by Symantec SEP deleting all of my compiled scripts so I'm trying to figure out how I could run my scripts uncompiled.
      Problem is, these scripts are typically launched from inside Citrix sessions that I don't have control of so I can't install AutoIT in there to get all the #Include files that my scripts are using.
      I tried to use AU3Stripper and while, yes that did create a single file and I could run it. it put it in a state that I couldn't easily maintain going forward.
       
      Is there any existing way to pull all the functions and drop them at the end of the main script?  Not sure about the Globals and Constants though, I guess they would have to go to the top which shoves everything else down.  I also need to maintain the current script spacing and comments as I often have to update older scripts and need the comments to help with that.
    • Jos
      By Jos
      7/8/2018: Uploaded a new SciTe4AutoIt3.exe v18.708.1148.0 installer.
      It has been over a year since the last update of the full SciTE4AutoIt3 installer whch mainly had to do with the fact that Neil was moving toward v4 of SciTE and I wanted to wait for a stable version.
      Any help with testing this version before general release is appreciated.
      Also any feedback is welcome in caseI missed something or suggestions for improvement before releasing.
      ==> SciTE4AutoIt3 v18.708.1148.0
      Enjoy,
      Jos

      Addition/Changes/Fixes in the current installer:
      -------------------------------------------------------------------------------------------------- 8-7-2018 *** Merged the SciTE v 4.1.0 by Neil Hodgson with our own version of SciTE. (Jos)     This is a major change from the previous version so ensure you update all files including LUA or else you will get errors!     - SciLexer au3: Fixed issues with nested CommentBlocks not always showing the correct color.     - SciLexer au3: Change any line starting with # and no recognised keyword to be shown with the Pre-Processor in stead of default.     - Changed Shortcut for AU3INFO to Ctrl+Shift+F6.     - Moved the session restore logic for (save.session.advanced=1)into SciTE in stead of LoadSession.lua as that was clearing the recent files list of the last session       when opening a file by double cliking it. This is fixed with this change.       Default remains 0 so when a file is double clicked the last session isn't restored unless you add this to SciTEuser.properties:       "save.session.advanced=1"     - updated Tools.lua replacing [s%] with [ /t] to avoid empty lines being stripped by those functions. (Thanks Enyby) *** Updated AutoIt3Wrapper v18.708.1148.0 (Jos)     - 17.224.935.1 Added /autoit3dir to au3stripper commandline, when provided to AutoIt3Wrapper., to ensure the included files are for the correct AutoIt3 directory     - 17.224.935.2 Added directives:          #AutoIt3Wrapper_Res_CompanyName=          ;Company field          #AutoIt3Wrapper_Res_LegalTrademarks=      ;Trademark field     - 17.224.935.5 Fixed Versioning when files contain backets ->  ()     - 17.224.935.6 Added support for :          #AutoIt3Wrapper_Au3stripper_Stop_OnError=        ;(Y/N) Continue/Stop on Warnings.(Default=N)     - 17.224.935.7 added INI support for:           [Other]            Au3Stripper_Stop_OnError=n     - 17.224.935.10 Minor changes in console messages     - 17.224.935.11 Modifications from JPM:         - add #AutpIt3Wrapper_Res_Cursor_Add         - "clean" a little bit AutoIt3Wrapper.au3 *** Updated Au3Stripper v18.708.1148.0 (Jos)     - 17.224.935.1 Fixed crash when an include file contains longer record than 4096 characters.     - 17.224.935.2 Changed /rsln to replace @ScriptLineNumber in the Master script with "XXX/YYY". XXX is the master script linenumber, YYY is the Merged script linenumber.     - 17.224.935.3 Fixed issue detecting #cs #ce when a space was missing after the directive.     - 17.224.935.4 Changed Close/Open logic for Tracelog to (hopefully) avoid the hardcrash.     - 17.224.935.5 improved speed avoiding rereading include files to determine the max rec len.     - 17.224.935.6 improved speed by re-coding the check for long records.     - 17.224.935.7 Made sure the returncode is the highest from all iterations in stead of the last iteration.     - 17.224.935.8 fix for reported bug: https://www.autoitscript.com/trac/autoit/ticket/3623#comment:4     - 17.224.935.9 added support for #autoit3wrapper_autoit3dir     - 17.224.935.10 Fixed support for #autoit3wrapper_autoit3dir when followed by linecomment                     Stop processing when include file isn't found.     - 18.624.1847.1 strip the leading and trailing double quotes from the autoit3dir directive to avoid an error when they are specified.     - 18.624.1847.2 Fixed Hardcrash in the Include logic     - 18.624.1847.3 Fixed Hardcrash in Func stripping logic by enlarging the base table size     - 18.702.1556.1 Fixed regression bug with the Translate option.     - 18.703.1808.2 Fixed regression bug with the Stripping FUNC logic for the first found FUNC. *** Updated SciTEConfig v18.708.1148.0 (Jos)     - 17.224.935.1 No updates *** Updated Tidy v18.708.1148.0 (Jos)     - 17.224.935.1 Added option  to copy comments from #CS to #CE. Default is to copy the comments.                    Added Tidy Parameters:  /Skip_CE_Comment or /scec will skip this copy action                    Added INI option:                      * * *  Add comment to #CE/#CommentEnd and make it the same as the #CS/CommentStart Comments.                      ce_comment=1     - 17.224.935.2 Fix issue with Copy comments on comment start - end     - 17.224.935.4 Fix another issue with Copy comments on comment start - end -------------------------------------------------------------------------------------------------- ==> ScitillaHistory page containing all SciTE-Scintilla updates.
      ==> Visit the SciTE4AutoIt3 Download page for the latest versions
      ==> Check the online documentation for an overview of all extra's you get with this installer.
    • kara2004
      By kara2004
      Hi there,
      I have a problem using the latest two betas of au3stripper.exe.
      Compiling my script using V17.224.935.6 works fine, the next two releases (18.624.1847.0 and 18.624.1847.1) show an error:
      !==> *** ERROR: stopping process because include file not found :#include <INCLUDE_FILE.au3> !==> *** Checked these directories : !==> C:\Program Files (x86)\AutoIt3\include\INCLUDE_FILE.au3 !==> SCRIPT_DIR\INCLUDE_FILE.au3 !==> SCRIPT_DIR\INCLUDE_FILE.au3 !>18:42:00 --------------------------------------------------------------- !>18:42:00 Au3Stripper ended with errors, using original scriptfile.rc:999 !>18:42:00 --------------------------------------------------------------- Changing the include line according to the helpfile (using "..." for includes in script dir and <..> for includes in the au3-include-dir won't help!?
      Greetings
      kara66
       
    • Jos
      By Jos
      Merged the SciTE 3.7.3 source into our version and several other changes and fixes to the supporting utilities.
      Enjoy,
      Jos
      Addition/Changes/Fixes in the current installer:
      -------------------------------------------------------------------------------------------------- 24-2-2017 *** Merged the SciTE v 3.7.3 by Neil Hodgson with our own version of SciTE. (Jos) *** Updated AutoIt3Wrapper v17.224.935.0 (Jos)     - 16.612.1119.1 Fixed #AutoIt3Wrapper_Run_Stop_OnError=N, avoiding to stop even when No or not  specified.     - 16.612.1119.2 Fixed #AutoIt3Wrapper_Run_Stop_OnError=N, avoiding to stop even when No or not  specified.     - 16.612.1119.3 Added warning for #AutoIt3Wrapper_UseX64 in case #pragma(out,..)  is used. *** Updated Au3Stripper v17.224.935.0 (Jos)     - 16.612.1119.1 Fixed issue which sometimes was stripping a global const incorrectly     - 16.612.1119.2 Fixed /maxiterations parameter not recognised     - 16.612.1119.3 Fixed increased the max #Au3Stripper_Ignore_Variables to 500 and for #Au3Stripper_Ignore_Funcs to 200     - 16.612.1119.4 Fixed regression introduced in 16.612.1119.1 *** Updated SciTEConfig v17.224.935.0 (Jos)     - 16.306.1119.1 ... *** Updated Tidy v17.224.935.0 (Jos)     - 16.612.1119.1: Fixed Sort_Func function bug when the source contains a BOM. *** Updated CodewiZard v1.5.4.0 (Cyberyeye)     - Fix Icon Ressource Number for Messagebox Tab & ToolTip Tab     - Check/Fix missing includes using AutoIt3Wrapper_Add_Constants=y     - Added Opt("MustDeclareVars", 1) to fix undeclared variables     - Replaced msgbox() magic number by constant name     - Added GUISetIcon var (au3.ico)     - Removed unusefull old AutoIt3Wrapper directive *** Updated Abbreviations (mLipok)     - Updated au3abbrev.properties and helpfile page. --------------------------------------------------------------------------------------------------
      ==> ScitillaHistory page containing all SciTE-Scintilla updates.
      ==> Visit the SciTE4AutoIt3 Download page for the latest versions
      ==> Check  the online documentation for an overview of all extra's you get with this installer.
       
    • Daeth
      By Daeth
      When I try to compile the following code:
      #NoTrayIcon #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Run_Au3Stripper=y #Au3Stripper_Parameters=/rm #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** OnAutoItExitRegister("_exit") Func _exit() ConsoleWrite("kek") EndFunc The stripped version has the _exit() function stripped. The stripped code:
      #NoTrayIcon OnAutoItExitRegister("_exit") When I check the Au3Stripper log it shows:
      0.00 AutoIt3 Source Au3Stripper v16.612.1119.0 Copyright © Jos van der Zande June 12,2016 0.00 CommandLine Params$: 0.00 ============================== Reading Source For Directive ====================================================== 0.00 Ignore Function: onautoitstart 0.00 Ignore Function: onautoitexit 0.00 Directive Params$:/rm 0.00 lCMD$:/rm 0.00 /RenameMinimum Is this a bug? I know I can fix this with '#Au3Stripper_Ignore_Funcs=_exit'.
      This error also occurs with HotKeySet. The function that HotKeySet points to is stripped.
×