Jump to content
Jos

July 8, 2018: New SciTE4AutoIt3 available with the updated SciTE v4.1.0 release

Recommended Posts

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.

Edited by Jos
  • Like 1
  • Thanks 2

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
ModemJunki

Hello,

On Windows 10 I have to change the FINDSTR command in the SciTEGlobal.properties file else searching within subdirectories does not return results.

E.g., I have to change: 
find.command=findstr /N /S /I /R "$(find.what)" "$(find.files)"

To:
find.command=findstr /n /s /I /C:"$(find.what)" "$(find.files)"

Is it just me?

 


Always carry a towel.

Share this post


Link to post
Share on other sites
Jos

The /R is to make it search for a regular expression, which allows for much more option in the search text. 
What is the search text you search for that isn't working?

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
ModemJunki
3 minutes ago, Jos said:

The /R is to make it search for a regular expression, which allows for much more option in the search text. 
What is the search text you search for that isn't working?

Jos

Aha! It's clearly an issue with use of findstr (probably not a defect in findstr either).

The text I tried to search for has a path e.g., "#AutoIt3Wrapper_Icon=..\Include\NewIcon.ico". If I search for "NewIcon.ico" or "\NewIcon.ico", it works fine in recursing the folders during search (with /R). But if I search for "\Include\NewIcon.ico" or "\Include\" it does not. It's the extra backslash in the string and it seems to affect findstr when using /R and not /C.


Always carry a towel.

Share this post


Link to post
Share on other sites
ModemJunki
30 minutes ago, Jos said:

Try:

"\\Include\\NewIcon.ico"

Jos

Yes, that works. Thanks!

 


Always carry a towel.

Share this post


Link to post
Share on other sites
Jos

it is up to you whether you prefer the literal string option or the regex, but I am planning to leave the current as default if that doesn't case big issuesas that gives much broader options for searching in files.

Thanks for the feedback.

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
ModemJunki
16 minutes ago, Jos said:

it is up to you whether you prefer the literal string option or the regex, but I am planning to leave the current as default if that doesn't case big issuesas that gives much broader options for searching in files.

Thanks for the feedback.

Jos

I will leave the default as I do not have to search many times for things like the include file names or the icon directive, it was only that I have a new icon today and at the same time found the new SciTE package is available.

Using the defaults where possible will prevent me from not remembering why I changed things later. This I have learned the hard way. :P


Always carry a towel.

Share this post


Link to post
Share on other sites
careca

After i updated SciTe i got these 2 messages when i tried to run (F5) a script.

screenshot - 10072018-2258.jpg

screenshot - 10072018-2210.jpg

EDIT: Reverted to SciTE4AutoIt3 v17.224.935.0 and the problem is gone, so i assume it's something in the new version, but it might be something else, as i don't see anyone else complaining about this..

Edited by careca

Spoiler

Paster - Main function is to paste text, but has more functions. (No longer mantained, switched to String Trigger)

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Share this post


Link to post
Share on other sites
Jos

Those lines weren't changed between those releases, so it seems your new version is corrupted?
Maybe an AntiVirus is interfering or something?
Could you PM me the new AutoIt3Wrapper version you have to doublecheck?

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
LukeWCS

Hi Jos

Thanks for the update. :)

There is one problem: Alt+L doesn't work anymore. I have updated two AI3 dev environments on two Windows installations, one Win 7 and one win 10 and in both cases it's the same problem with Alt+L. If I press Alt+L then it opens only a very small windows but without any list, see attachment.

I updated both environments from AI3 3.3.14.2 and Scite 3.7.3 to AI3 3.3.14.5 and Scite 4.1.0.

 

scite_alt-l-bug.png

Share this post


Link to post
Share on other sites
Jos

Looks like this is due to a patch that was proposed around the release of the latest version.

Try changing line 24 in AutoitTools.lua back to:

self.Pattern = "()[%s][Ff][Uu][Nn][Cc][%s]+([%w%s_]*%(.-%))"

I need some more time to investigate but this should fix it for the moment.

Jos

also uploaded a fixed AutoitTools.lua to beta.

Edited by Jos
  • Thanks 1

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
LukeWCS

@Jos

Yes, your workaround works as intended. Thank you. :)

This is one of the most used functions for me. Just wondering that I'm the first who reported that. ^^

Share this post


Link to post
Share on other sites
ModemJunki
On 7/29/2018 at 2:45 PM, Jos said:

Try changing line 24 in AutoitTools.lua back to:

self.Pattern = "()[%s][Ff][Uu][Nn][Cc][%s]+([%w%s_]*%(.-%))"

Interesting. I tested this and it did not work?


Always carry a towel.

Share this post


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

Did you reload SciTE?

Jos

Yes, I closed and restarted it.


Always carry a towel.

Share this post


Link to post
Share on other sites
ModemJunki

What is happening is the same as what LukeWCS posted here.

I tried first to edit the file and change the line, then I downloaded the one from beta - same result.


Always carry a towel.

Share this post


Link to post
Share on other sites
Jos

Not sure what is happening for you.
Maybe we need to start with checking the Virtual store to see if there is a AutoitTools.lua  there that is screwing things up:
C:\Users\..........\AppData\Local\VirtualStore\Program Files (x86)\AutoIt3\SciTE\Lua

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
ModemJunki
17 minutes ago, Jos said:

Not sure what is happening for you.
Maybe we need to start with checking the Virtual store to see if there is a AutoitTools.lua  there that is screwing things up:
C:\Users\..........\AppData\Local\VirtualStore\Program Files (x86)\AutoIt3\SciTE\Lua

Jos

 

I don't find a virtual store at all.

Using software "everything" I find only one copy of AutoITTools.lua on my system (Windows 10 1703 build 15063.1206).

Edited by ModemJunki
;~ need to go have lunch.

Always carry a towel.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Similar Content

    • Skysnake
      By Skysnake
      >"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /ShowGui /prod /in "C:\AutoIt\pegasus\wings.au3" +>08:02:43 Starting AutoIt3Wrapper v.19.102.1901.0 SciTE v.4.1.2.0 Keyboard:00000409 OS:WIN_10/ CPU:X64 OS:X64 Environment(Language:0409) CodePage:0 utf8.auto.check:4 +> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Users\x\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Users\x\AppData\Local\AutoIt v3\SciTE -> No changes made.. >Running Au3Stripper (19.102.1901.0) from:C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper cmdline: -### StripOnly/StripFunc Error: Found ObjEvent() statement using unsolvable Func, which will/could lead to removal of Funcs that are used by this Function. >### current Func: _1p2 c:\program files (x86)\autoit3\include\ie.au3(2572,1): Warning for line:$__g_oIEErrorHandler = ObjEvent("AutoIt.Error", $__g_sIEUserErrorHandler) -### StripOnly/StripFunc Error: Found Call() statement using unsolvable Func, which will/could lead to removal of Funcs that are used by this Function. >### current Func: _1te c:\program files (x86)\autoit3\include\sqlite.au3(609,1): Warning for line:$iCbRval = Call($sCallBack, $aDataRow) -### StripOnly/StripFunc Error: Found Call() statement using unsolvable Func, which will/could lead to removal of Funcs that are used by this Function. >### current Func: _1te c:\program files (x86)\autoit3\include\sqlite.au3(625,1): Warning for line:$iCbRval = Call($sCallBack, $aDataRow) My issue is specifically with the Call($sCallBack, xyz) part.  I declared a Global with that name and thought I had it sorted.  Previous releases appear content with that solution... Current I get this.
      Question are these:
      Should there be a default $sCallBack define in the provided include? What exactly should the "user defined" Callback function look like? And where is it defined? Sorry I am lost.
       
       
    • Jos
      By Jos
      1/02/2018: Uploaded a new SciTe4AutoIt3.exe v19.102.1901.0 installer.
      This version contains the bugfix release for SciTE 4.1.2.
      There has been a major update for Tidy allowing now inline comments without them being shifted to the left by default.
      See this thread for the total story about the new behavior and the added options
      ==> SciTE4AutoIt3 v19.102.1901.0
      Enjoy,
      Jos

      Addition/Changes/Fixes in the current installer:

      -------------------------------------------------------------------------------------------------- 2-1-2019 *** Merged the SciTE v 4.1.2 by Neil Hodgson with our own version of SciTE. (Jos)     - Fixed regex issue for Alt+F in AutoItTools.lua     - Fixed another regex issue for several functions in AutoItTools.lua     - Fixed Header parameters now showing None when none are     - Fixed jump to function to also jump to the right Column again.     - Restored AutoItTools:Copy_BookMarks() functionality *** Updated AutoIt3Wrapper v19.102.1901.0 (Jos)     - 18.703.1808.1 renamed "#AutoIt3Wrapper_Au3Stripper_Stop_OnError" to "#AutoIt3Wrapper_Au3Stripper_OnError" with now as options S,C,F,Stop,Continue,ForceUse     - 18.708.1148.1 Added #include <WinAPIFiles.au3> back in the included file list to ensure backward compatibility.     - 18.708.1148.2 Added "Tidy_Stop_OnError" support to the AutoIt3Wrapper.INI file.                     Changed HiDPI settings for Win 10 compatibility.     - 18.708.1148.4 Added logic to be able to display Console Output of script that have #RequireAdmin while SciTE runs at normal level.     - 18.708.1148.5 Added support to allow to Stop Execution or Restart for scripts with #RequireAdmin while SciTE runs at normal level.                     It won't hang anymore when you reply No on the UAC and detect the elevated process didn;t start.     - 18.708.1148.6 Reverted HiDPI changes made in 18.708.1148.2 as problems are reported. needs investigation.     - 18.708.1148.7 Changed check for RequireAdmin AutoIt3Wrapper startup.     - 18.708.1148.8 Added #include <APIResConstants.au3> for backwards compatibility with AutoIt3 v3.3.14.x. *** Updated Au3Stripper v19.102.1901.0 (Jos)     - 18.708.1148.1 Fixed issue finding variable names on multiline statements     - 18.708.1148.2 Added check for ending \ in the AutoIt3Dir, and remove it when there, to avoid duplication of includes.     - recompiled with PellesC 6 to make it compatible with WinXP again. *** Updated SciTEConfig v19.102.1901.0 (Jos)     - 18.708.1148.1 Update to allow comments in *.SciTEConfig file lines. (JPM)                     This update includes the updated shemes to allow changing between them. *** Updated Tidy v19.102.1901.0 (Jos)     - 18.708.1148.1: Fix bug handling Directivelines ending with continuation character     - 18.708.1148.2: Fixed indentation when a "None breaking space"(C2A0) character is used in a UTF file.     - 18.708.1148.3: Fix bug when a continuation line starts with +x, where is would add a space between +- and number.     - 18.708.9999.x: Rewrite of some internal code to allow inlinecomments to remain at their current position.                       Details can be found in this post: https://www.autoitscript.com/forum/topic/196221-tidy-major-update-27-10-requesting-help-with-testing/     - 18.708.9999.22: Released to Beta.     - 18.708.9999.23: Added option to totally skip commentblocks so now the options are:                         #Tidy_Parameters=/tcb=0         =>only indent the whole commentblock  (default)                                          /tcb or /tcb=1 =>Tidy inside commentblock                                          /tcb=-1        =>leave whole commentbock alone                        Tidy.INI:#--> Tidy commentblock 0=only indent the whole commentblock  (default=0)                                 #                      1=Tidy inside commentblock                                 #                     -1=leave whole commentbock alone                                 Tidy_commentblock=0     - 18.708.9999.24: Added check for ending \ in the AutoIt3Dir and remove it when there.     - recompiled with PellesC 6 to make it compatible with WinXP again. --------------------------------------------------------------------------------------------------
      ==> 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.
×