Jos

20-9-2015: New SciTE4AutoIt3 available with the updated SciTE v3.6.0 release.

124 posts in this topic

#1 ·  Posted (edited)

20-9-2015: Uploaded a new SciTE4AutoIt3.exe.

Merged the SciTE 3.6.0 source into our version and several fixes.
We now also have set the default encoding to UTF8 W/O Bom when no other File encoding is specified or special ASCII characters are detected in the source. 

 

Enjoy,
Jos

Addition/Changes/Fixes in the current installer:

20-9-2015
*** Merged the SciTE v 3.6.0 by Neil Hodgson with our own version of SciTE. (Jos)
    - More fixes to outputpane lexing to ensure FuncTrace generated lines work again.
    - Added tf8.auto.check=4 default to SciTEGlobal. properties to check files when opened for their encoding or else use utf8 w/o BOM ad default.
*** Updated AutoIt3Wrapper v15.920.938.0 (Jos)
    - 15.729.1555.1: Fixed /Watcher and /Jump2FirstError mechanism to kill the script when Ctrl+Break or via the Menu the script should be terminated.
    - 15.729.1555.2: Added Win10 to the Manifest and made that the default similar to what aut2exe does.
    - 15.729.1555.3: 15.729.1555.4 "Version Diff Source" now properly handling UTF encoded files.
    - 15.729.1555.4: Internal mods.
    - 15.729.1555.5: Added /RunAfter to copy to Programdir and Versioning without compiling.
    - 15.729.1555.6: Changes to the tempfiles generated to allow for concurrent sessions of Autot3Wrapper.
    - 15.729.1555.7: cleanup some tempfile remaining behind.
    - 15.729.1555.8: Fixed consolewrite in debug mode.
    - 15.729.1555.9: killed extra autoit3 pid when restarting the script.
    - 15.729.1555.10: Removed Compiled support statements.
    - 15.729.1555.11: Added a console message when Script requires Admin and SciTE is running on normal level that no console output will be displayed.
*** Updated Au3Stripper v15.920.938.0 (Jos)
    - 15.729.1555.2: Fixed issue for Include files with BOM encoding not recognizing #Include-once on the first line.
    - 15.729.1555.3: Fixed hardcrash in case de au3stripper didn't exist and /debug was specified.
    - 15.729.1555.4: Minor internal changes.
*** Updated SciTEConfig v15.920.938.0 (Jos)
    - added scheme OLD_LCD.SciTEConfig  (mLipok)
*** Updated Au3Stripper v15.729.1555.0 (Jos)
    - 15.729.1555.1: Fixed hardcrash in case an Include is used with BOM and #include-once on the first line.
*** Updated Tidy v15.920.938.0 (Jos)
    - 15.729.1555.1: Fixed hardcrash adding Gobal Const to the variable tables.

==> ScitillaHistory page containing all SciTE-Scintilla updates.
==> Visit the SciTE4AutoIt3 Download page for the latest versions
==> Check the newly formatted the online documentation for an overview of all extra's you get with this installer.

Edited by Jos
2 people like this

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

maybe it related to : Fixed issue for Include files with BOM encoding not recognizing #Include-once on the first line.

if you have 3 scripts : main.au3; UDF_n1.au3 and UDF_n2.au3 encoded as UTF8 with BOM :

;# main.au3 ===================

#include "UDF_n1.au3"
#include "UDF_n2.au3"

script body

Exit
;==============================
;# UDF_n1.au3 =================
#include-once
#include "UDF_n2.au3"

script body
;==============================
;# UDF_n2.au3 =================
#include-once
#include "UDF_n1.au3"

script body
;==============================

now, if you run Syntax Check against main.au3 everything is ok

But : if you run Syntax Check against UDF_n1.au3 you get:

warning: $sSomeVariable_from_UDF_n1 already declared/assigned
error: $iSomeConst_from_UDF_n1 previously declared as a 'Const'.
error: SubFunction_from_UDF_n1() already defined.

same with UDF_n2.au3

warning: $sSomeVariable_from_UDF_n2 already declared/assigned
error: $iSomeConst_from_UDF_n2 previously declared as a 'Const'.
error: SubFunction_from_UDF_n2() already defined.

it seems Syntax Check not consider #include-once in head script

Edited by Iczer

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Maybe you have real errors in your script as the #included filenames are not the same!

In the Main.au3 they do not contain an underscores where as in the UDF_nx.au3 they do?

Jos

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

no, i mistyped in previous post (corrected now)

if that was reason - i would also get errors after Syntax Check against main.au3 (not found/declared/defined. errors), but everything is ok

 

Share this post


Link to post
Share on other sites

save as UTF8 with BOM and make Syntax Check against each :

;# main.au3 ===================

#include "UDF_n1.au3"
#include "UDF_n2.au3"

SubFunction_UDF_n1_1()
SubFunction_UDF_n1_2()
SubFunction_UDF_n1_3()
SubFunction_UDF_n2_1()
SubFunction_UDF_n2_2()
SubFunction_UDF_n2_3()

Exit
;==============================
;# UDF_n1.au3 =================
#include-once
#include "UDF_n2.au3"
;
Global Const $UDF_n1_const_1 = 1
Global Const $UDF_n1_const_2 = 2
;------------------------------
Func SubFunction_UDF_n1_1()

EndFunc
;------------------------------
Func SubFunction_UDF_n1_2()

EndFunc
;------------------------------
Func SubFunction_UDF_n1_3()

EndFunc
;==============================
;# UDF_n2.au3 =================
#include-once
#include "UDF_n1.au3"
Global Const $UDF_n2_const_1 = 1
Global Const $UDF_n2_const_2 = 2
;------------------------------
Func SubFunction_UDF_n2_1()

EndFunc
;------------------------------
Func SubFunction_UDF_n2_2()

EndFunc
;------------------------------
Func SubFunction_UDF_n2_3()

EndFunc
;==============================

 

Share this post


Link to post
Share on other sites

Understand the issue now. I had made a "workaround" for UTF8/16 encoded main scripts quite some time ago, to copy the main script into a temp file before running au3check as at that time au3chech only supported Ascii.

UTF8 is now supported in au3check so I have removed the check for that in AutoIt3Wrapper and simply process the original file now with the current Beat version of AutoIt3Wrapper.

Jos 


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

I have a problem with the beta, I can't access the Beta help file... I tried both F1 & Help Menu :(


Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites

I Just open SciTe4AutoIt (lates version)

And for me all works correctly.
The same for you:

  1. F1 should open your instaled AutoIt release version
  2. ALT+F1 should open your instaled AutoIt beta version
  3. MENU: "Help/ Help F1" should open your AutoIt release version

which one do not work for you ?


ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button:

Spoiler

Last update: 2016-12-23
Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft Components * TeamViewer API -UDF * JavaManagement UDF * VIES over SOAPPOP3.au3 UDF *  RTF Printer - UDF * XML.au3 - BETA * ADO.au3 UDF SMTP Mailer UDF * WinSCP UDF *

My contribution to others projects: * _sql.au3 UDF  *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Best coding practices * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities *

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, The Art of Computer Programming
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

 

Share this post


Link to post
Share on other sites

"2" doesn't


Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites

What does Help/About SciTE tell you?
Have you installed the Prod and Beta version of AutoIt3 in the normal way and also installed the latest version of SciTE4AutoIt3 separate installer? 

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

What does Help/About SciTE tell you?

SciTE
Version 3.5.4
    May 17 2015 16:32:11
by Neil Hodgson.
 Updated by Jos
Check the SciTE4AutoIt3 Homepage for Updates
December 1998-March 2015.
http://www.scintilla.org
Lua scripting language by TeCGraf, PUC-Rio
    http://www.lua.org
Contributors:
<snip>

 

Have you installed the Prod and Beta version of AutoIt3 in the normal way and also installed the latest version of SciTE4AutoIt3 separate installer? 

Yes! First I installed AutoIt 3.3.4.1 Then SciTE4AutoIt3 Then again AutoIt 3.3.15.0


Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites
SciTE
Version 3.6.0 
    Aug  4 2015 17:34:27
by Neil Hodgson.
 Updated by Jos

https://www.autoitscript.com/cgi-bin/getfile.pl?../autoit3/scite/download/SciTE4AutoIt3.exe

 


ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button:

Spoiler

Last update: 2016-12-23
Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft Components * TeamViewer API -UDF * JavaManagement UDF * VIES over SOAPPOP3.au3 UDF *  RTF Printer - UDF * XML.au3 - BETA * ADO.au3 UDF SMTP Mailer UDF * WinSCP UDF *

My contribution to others projects: * _sql.au3 UDF  *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Best coding practices * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities *

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, The Art of Computer Programming
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

 

Share this post


Link to post
Share on other sites

Just updated, still the same :(


Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites

Is the Beta Help shown under tools under Beta Compile? (Ensure you have a file open with an au3 extension.)

Jos

 


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

@Jos Yeah! I just tried Alt + F1 and it worked! Thanks! :D

 

P.S Why is Beta Help in Tools instead of Help? :huh:


Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites

@Jos I have no Idea, I updated my SciTE4AutoIt3 installation, maybe It refreshed something :unsure:


Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites

;)


Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


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

  • Similar Content

    • TheDcoder
      By TheDcoder
      Hello, I just noticed something strange... all of the "Tools" in SciTE's tools menu have disappeared!

      I am sure that I saw them yesterday... don't know what happened today ! I am using SciTE v3.6.6 which I believe is the latest version... Thanks in Advance!
    • algiuxas
      By algiuxas
      Hello,
      I'm having some problems with SciTe, when I copy and paste, select text, or etc., there's sometimes text blinking(not the cursor, but the whole text!), or black lines, they blink(like cursor do).

      When I reinstalled AutoIt all SciTe settings were left, and when I open up scite editor, I had same problem. (Btw., I use theme)

      How to fully uninstall AutoIT and SciTE, and install it again without leaving any settings or etc.?

       
      Solved: System restore helped me...
    • tcox8
      By tcox8
      Hello all,
      Long story short: I am updating a program I created many years ago for our Help Desk. I haven't used AutoIt in a while so I downloaded it again. Of course there were several script breaking changes so I opted to download an older version of AutoIt (3.3.8.1) which worked. However when downloading the full Scite it produces the attached error when trying to compile my script. I need the full version of Scite to compile with options. Is it possible to download older versions of Scite or is there an easy fix for this issue? I have attempted reinstalling, uninstalling/rebooting/reinstalling to no avail.
      Thanks!

    • JohnNash
      By JohnNash
      Weird story. Been using Autoit for more than a year now. But recently moved to a new machine, so did a fresh install, and suddenly I saw menus I never saw before in the editor.
      For example, I Always used to have: Tools>Compile and then it would compile my au3 code. Now, the tools menu has a lot of options but after pressing Compile it goes to a whole new screen specifically for au3 code to select more options, also it debugs my code, which prevents compiling if badly coded.
      Of course this is fine, but I would really like to recompile some old crappy code I wrote, regardless of the mistakes that are still in there, also I am really used to the old setup I had,
      so kind of not done, but how do i get this 'bad'  configuration back? Does it have to do with the au3.properties file? What should I do with it....
      Thanks
       
    • Anas
      By Anas
      Hi,
      After I updated SciTE to v3.6.6, whenever I write a fold-able line (e.g. Do, For, While) SciTE will unfold all the code below it by it self.
      Before writing "While" at the beginning of the script:

       
      after writing While:

       
      Is this normal? if yes, can I stop it?