Jump to content

Recommended Posts

Posted
  On 5/19/2014 at 3:23 PM, jaberwacky said:

I noticed that skip_commentblock can be set via command line parameter.  When I set it through tidy.ini it doesn't seem to work.  This particular parameter isn't documented as far as I could tell.  Am I using the right thing? Or am I completely in the wrong?

I hope you update the tidy.ini in the right dir userappdatalocalautoit v3scitetidytidy.ini

Posted (edited)

Gosh, I was looking at a block of comment lines.  Durrrr.  Thanks!

I did find a possible issue though.  If you tidy this then everything inside of #CS and #CE is deleted:

#cs
; *********************************************************************************************************************
; *********************************************************************************************************************\
; *********************************************************************************************************************\
; *********************************************************************************************************************
; *********************************************************************************************************************
#ce

Also, the skip_commentblock doesn't seem to be in the tidy.ini and isn't listed in the tidy documentation except under command line parameters.   Unless I'm mistaken once again.

Edited by jaberwacky
  • Developers
Posted (edited)
  On 5/19/2014 at 4:31 PM, jaberwacky said:

Gosh, I was looking at a block of comment lines.  Durrrr.  Thanks!

I did find a possible issue though.  If you tidy this then everything inside of #CS and #CE is deleted:

#cs
; *********************************************************************************************************************
; *********************************************************************************************************************\
; *********************************************************************************************************************\
; *********************************************************************************************************************
; *********************************************************************************************************************
#ce

Fixed in current Beta Tidy v 2.4.1.2.

 

  On 5/19/2014 at 4:31 PM, jaberwacky said:
Also, the skip_commentblock doesn't seem to be in the tidy.ini and isn't listed in the tidy documentation except under command line parameters.   Unless I'm mistaken once again.

It is added to the example Tidy.ini for the next release.

Jos

Edited by 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)

I'm not sure but I guess the proper format for a multidimensional array is:

[["{ESC}", $keyClose], ["{F5}", $keyRefresh]]

If yes, Tidy removes the space after the dimensional separator comma:

[["{ESC}", $keyClose],["{F5}", $keyRefresh]]
Edited by D4RKON3
Posted

D4RKON3 also known as the "eagle eye"

;)

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

some mistake in Au3Stripper documentation:

instead command.name.46*.au3=Au3Stripper   must  command.name.46.*.au3=Au3Stripper

instead command.46.*.au3="$(SciTEDefaultHome)Au3StripperAu3Stripper.exe" must command.46.*.au3="$(SciteDefaultHome)au3StripperAu3Stripper.exe" "$(FilePath)"

Edited by Inververs
Posted (edited)

Jos,
I'm trying to remove some unnecessary resources after comping the script using #AutoIt3Wrapper_Res_Remove, am I using this the correct way?

#AutoIt3Wrapper_Res_Remove=Menu, 166, 2057

It says:

...>Adding / Removing 1 resource(s).
!>15:59:54 Error: EndUpdateResource: Returncode = 0 - LastError:1359:An internal error occurred.rc:2
!>15:59:54 Error: Program Resource updating Failed. The output program will not contain the Resource updates!rc:2
Edited by D4RKON3
  • Developers
Posted
  On 5/21/2014 at 7:45 AM, Inververs said:

some mistake in Au3Stripper documentation:

instead command.name.46*.au3=Au3Stripper   must  command.name.46.*.au3=Au3Stripper

instead command.46.*.au3="$(SciTEDefaultHome)Au3StripperAu3Stripper.exe" must command.46.*.au3="$(SciteDefaultHome)au3StripperAu3Stripper.exe" "$(FilePath)"

Will update.

Thanks

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

  • Developers
Posted

  On 5/21/2014 at 11:29 AM, D4RKON3 said:

 

Jos,

I'm trying to remove some unnecessary resources after comping the script using #AutoIt3Wrapper_Res_Remove, am I using this the correct way?

#AutoIt3Wrapper_Res_Remove=Menu, 166, 2057

It says:

...>Adding / Removing 1 resource(s).
!>15:59:54 Error: EndUpdateResource: Returncode = 0 - LastError:1359:An internal error occurred.rc:2
!>15:59:54 Error: Program Resource updating Failed. The output program will not contain the Resource updates!rc:2

That should read:

#AutoIt3Wrapper_Res_Remove=RT_MENU, 166, 2057

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

  • Developers
Posted
  On 5/20/2014 at 8:36 PM, D4RKON3 said:

 

I'm not sure but I guess the proper format for a multidimensional array is:

[["{ESC}", $keyClose], ["{F5}", $keyRefresh]]

If yes, Tidy removes the space after the dimensional separator comma:

[["{ESC}", $keyClose],["{F5}", $keyRefresh]]

That indeed the way it should be and is changed in the current Beta Tidy v2.4.1.3

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
  On 5/21/2014 at 3:55 PM, Jos said:

That indeed the way it should be and is changed in the current Beta Tidy v2.4.1.3

Jos

Thanks, I see it's fixed now,

  On 5/21/2014 at 3:53 PM, Jos said:

That should read:

#AutoIt3Wrapper_Res_Remove=RT_MENU, 166, 2057

Jos

Thanks again, it works, I found the following information:

http://msdn.microsoft.com/en-us/library/ms648009(v=vs.85).aspx

It's ok for RT_DIALOG and RT_STRING, but I wasn't able to remove RT_GROUP_ICON.

#AutoIt3Wrapper_Res_Remove=RT_GROUP_ICON, 162, 2057
#AutoIt3Wrapper_Res_Remove=RT_GROUP_ICON, 164, 2057
#AutoIt3Wrapper_Res_Remove=RT_GROUP_ICON, 169, 2057
  • Developers
Posted

  On 5/21/2014 at 4:25 PM, D4RKON3 said:
Thanks again, it works, I found the following information:

http://msdn.microsoft.com/en-us/library/ms648009(v=vs.85).aspx

It's ok for RT_DIALOG and RT_STRING, but I wasn't able to remove RT_GROUP_ICON.

#AutoIt3Wrapper_Res_Remove=RT_GROUP_ICON, 162, 2057
#AutoIt3Wrapper_Res_Remove=RT_GROUP_ICON, 164, 2057
#AutoIt3Wrapper_Res_Remove=RT_GROUP_ICON, 169, 2057

 

We have that listed in the Table as: RT_GROUPICON

Local $aRESOURCE_TYPES[24] = ["RT_CURSOR", "RT_BITMAP", "RT_ICON", "RT_MENU", "RT_DIALOG", "RT_STRING", "RT_FONTDIR", "RT_FONT", "RT_ACCELERATOR", _
            "RT_RCDATA", "RT_MESSAGETABLE", "RT_GROUPCURSOR", "", "RT_GROUPICON", "", "RT_VERSION", "RT_DLGINCLUDE", "", "RT_PLUGPLAY", _
            "RT_VXD", "RT_ANICURSOR", "RT_ANIICON", "RT_HTML", "RT_MANIFEST"]

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

  • Developers
Posted (edited)

  On 4/5/2014 at 6:35 PM, mLipok said:
ps.

I checked all the help in terms of news.

By the way, I found these few above-described problems.

 

I have changed the creation of the online version of the helpfile, which is now auto-generated from the SciTE4AutoIt3 helpfile and thus should be in sync from now on without any extra effort.

http://www.autoitscript.com/autoit3/scite/docs/Help.html

Jos

Edited by 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

Thanks

this is very good news :)

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Is there a theoretical size limit to the amount of code that can be stripped? I have source code containing around 70,000 lines of code totaling approximately 2.8 MB of source code not counting the AutoIt includes. Au3Stripper crashes while trying to parse the includes, it consistently stops at the same place. It really doesn't matter which combination of parameters I use, it fails every time. I would like to use /PE /RM /SF=1 /SV=1. If it makes any difference, the old obfuscator would crash as well.

Posted

Hi Jos et al.,

I update to SciTE V. 3.4.1 of Mar 30 2014 21:57:28 and noticed that my Color Scheme was changed. Trying to adjust it I found that changes (to the config) are not being applied or saved. It does not seem to do any difference whatever Color Scheme I select or manual changes I apply.

I assume it should be saved in %LOCALAPPDATA%AutoIt v3SciTESciTEUser.properties ?

The AppData dir only shows the following dirs and no files.

C:UsersxxxAppDataLocalAutoIt v3

C:Users xxx AppDataLocalAutoIt v3Aut2Exe

Thanks

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...