Jump to content

New SciTE4AutoIt3 available with updated SciTE v3.4.1


Jos
 Share

Recommended Posts

  • Developers

Sorry for not being so clear.

I meant /rm option is really good? Why should someone disable it while compiling the source?

I was suggesting to make it enable by default.

The /rm option is really a leftover of the Obfuscation process which I wanted to rip out totally in the first place.

The only reason it is still there is that the site effect of /rm is that it makes the script (much) smaller, but the downside is that it is still an obfuscation of variables & function names and has the limitations as Obfuscator had. Needless to say that this shouldn't be the default behaviour resulting in possible crippling of a script and me being bombarded again with the same questions as in the past about people getting a warning and them not understanding what it is telling 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.
  :)

Link to comment
Share on other sites

Well, you are right,

But please don't remove it totally, it's just nice as it's right now.

It makes variable and function name shorter, which means better performance (in AutoIt).

 

Another question.

Take a look at the following line of code please:

$oClasses.Server.Result.Invalid

Double clicking anywhere on it will select the whole line in SciTE.

In Notepad++ for example, double clicking on the word "Result" will only select the "Result", I guess dot character works as delimiter between words.

Is there any way to configuring SciTE to behave this way?

Edited by FaridAgl
Link to comment
Share on other sites

  • Developers

Well, you are right,

But please don't remove it totally, it's just nice as it's right now.

It makes variable and function name shorter, which means better performance (in AutoIt).

It was actually put back on request so have no intent to remove it unless at one point it is going to be an issue.

Another question.

Take a look at the following line of code please:

$oClasses.Server.Result.Invalid

Double clicking anywhere on it will select the whole line in SciTE.

In Notepad++ for example, double clicking on the word "Result" will only select the "Result", I guess dot character works as delimiter between words.

Is there any way to configuring SciTE to behave this way?

This is determined by the following parameter:

word.characters.$(au3)=$(chars.alpha)$(chars.numeric)$(chars.accented).$_@#

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

Link to comment
Share on other sites

 

It was actually put back on request so have no intent to remove it unless at one point it is going to be an issue.

Thanks so much about it.

 

This is determined by the following parameter:

Well, the good news is I was able to find it in au3.properties, and the bad news is I have no clue on how to add dot to the list.

Any help would be great, thanks in advance.

Link to comment
Share on other sites

  • Developers

Indeed just remove any character but copy that line into your SciTEUser.properties first and make the changes there to ensure they stay.

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

Link to comment
Share on other sites

I feel so exciting with the new configuration, I want to go further if possible.

Numpad - will change to current line to comment, and Numpad + will toggle folding, is there any way to disable this functionality? I want them to behave normally.

Edit:

A forum search gave me this:

'?do=embed' frameborder='0' data-embedContent>>

Thanks

Edited by FaridAgl
Link to comment
Share on other sites

Some of us may dislike having to remember to prefix our shortcut keys with alt when we wish to use the beta version of AutoIt.  If anyone wants to use the same shortcut keys for the beta version of au3 as one does for the production version then one may try this:

command.go.$(au3)="$(SciteDefaultHome)\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "$(FilePath)" /UserParams $(1) $(2) $(3) $(4)

command.build.$(au3)="$(SciteDefaultHome)\AutoIt3Wrapper\AutoIt3Wrapper.exe" /beta /in "$(FilePath)"

command.0.beta=Prod Run
command.0.$(au3)="$(SciteDefaultHome)\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "$(FilePath)" /UserParams $(1) $(2) $(3) $(4)
command.name.0.$(au3)=Prod Run
command.shortcut.0.$(au3)=Alt+F5

command.1.beta=Prod Compile
command.1.$(au3)="$(SciteDefaultHome)\AutoIt3Wrapper\AutoIt3Wrapper.exe" /prod /in "$(FilePath)"
command.name.1.$(au3)=Prod Compile
command.shortcut.1.$(au3)=Alt+F7

command.2.beta=Beta Help
command.2.$(au3)=$(SciteDefaultHome)\..\beta\Autoit3Help.exe "$(CurrentWord)"
command.name.2.$(au3)=Beta Help
command.shortcut.2.$(au3)=F1

command.3.$(au3)="$(SciteDefaultHome)\AutoIt3Wrapper\AutoIt3Wrapper.exe" /beta /AU3Check /in "$(FilePath)"
command.name.3.$(au3)=SyntaxCheck Beta
command.shortcut.3.$(au3)=Ctrl+F5

command.4.beta=SyntaxCheck Prod
command.4.$(au3)="$(SciteDefaultHome)\AutoIt3Wrapper\AutoIt3Wrapper.exe" /prod /AU3Check /in "$(FilePath)"
command.name.4.$(au3)=SyntaxCheck Prod
command.shortcut.4.$(au3)=Ctrl+Alt+F5

One might paste this into SciTEUser.properties.  One might also report back when one has encountered any problems.

Link to comment
Share on other sites

  • Developers

 

Jos,

I noticed Au3Check doesn't like this:

Global Const $oTcpServer = ObjCreate("Scripting.Dictionary")

$oTcpServer.Add("Foo", "Bar")
$oTcpServer.Item("Foo") = "New value"

Understand au3check doesn't want to see a constant  defined variable being updated, but au3check isn't part of SciTE4AutoIt3, but part of the AutoIt3 installer itself.

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

Link to comment
Share on other sites

  • Developers

Some of us may dislike having to remember to prefix our shortcut keys with alt when we wish to use the beta version of AutoIt.  If anyone wants to use the same shortcut keys for the beta version of au3 as one does for the production version then one may try this:

command.go.$(au3)="$(SciteDefaultHome)\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "$(FilePath)" /UserParams $(1) $(2) $(3) $(4)

command.build.$(au3)="$(SciteDefaultHome)\AutoIt3Wrapper\AutoIt3Wrapper.exe" /beta /in "$(FilePath)"

command.0.beta=Prod Run
command.0.$(au3)="$(SciteDefaultHome)\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "$(FilePath)" /UserParams $(1) $(2) $(3) $(4)
command.name.0.$(au3)=Prod Run
command.shortcut.0.$(au3)=Alt+F5

command.1.beta=Prod Compile
command.1.$(au3)="$(SciteDefaultHome)\AutoIt3Wrapper\AutoIt3Wrapper.exe" /prod /in "$(FilePath)"
command.name.1.$(au3)=Prod Compile
command.shortcut.1.$(au3)=Alt+F7

command.2.beta=Beta Help
command.2.$(au3)=$(SciteDefaultHome)\..\beta\Autoit3Help.exe "$(CurrentWord)"
command.name.2.$(au3)=Beta Help
command.shortcut.2.$(au3)=F1

command.3.$(au3)="$(SciteDefaultHome)\AutoIt3Wrapper\AutoIt3Wrapper.exe" /beta /AU3Check /in "$(FilePath)"
command.name.3.$(au3)=SyntaxCheck Beta
command.shortcut.3.$(au3)=Ctrl+F5

command.4.beta=SyntaxCheck Prod
command.4.$(au3)="$(SciteDefaultHome)\AutoIt3Wrapper\AutoIt3Wrapper.exe" /prod /AU3Check /in "$(FilePath)"
command.name.4.$(au3)=SyntaxCheck Prod
command.shortcut.4.$(au3)=Ctrl+Alt+F5

One might paste this into SciTEUser.properties.  One might also report back when one has encountered any problems.

 

You know you only need to put the command.shortcut lines in Sciteuser.properties when you want to change the shortcuts ...right?

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

Link to comment
Share on other sites

Oh, ok, never mind, I see that AutoItTools.lua sets the menu items.  I was hoping to just swap everything around so that for instance, alt+f5 would run the production instead.  woops

Lesson number one: don't try to do this stuff late at night!

Edited by jaberwacky
Link to comment
Share on other sites

  • Developers

Oh, ok, never mind, I see that AutoItTools.lua sets the menu items.  I was hoping to just swap everything around so that for instance, alt+f5 would run the production instead.  woops

Lesson number one: don't try to do this stuff late at night!

This code actually ensures that the Beta Tools options are only enabled when AutoIt3 Beta is installed.

So all you need to do is to use the same syntax as is used for the current setting for Beta in au3.properties.

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

Link to comment
Share on other sites

  • Developers

Uploaded new Beta SciTE merged with the v 3.4.4 changes released today.

Anybody tried the new SciTE Beta and is all working as it should?

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

Link to comment
Share on other sites

For me All is fine

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:

Spoiler

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.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST APIErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 *

 

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane

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 * Good coding practices in AutoIt * 

OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX

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 * _IEquerySelectorAll() (by uncommon) * IE in TaskSchedulerIE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related:How to get reference to PDF object embeded in IE * IE on Windows 11

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 *

I also encourage you to check awesome @trancexx code:  * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuffOnHungApp handlerAvoid "AutoIt Error" message box in unknown errors  * HTML editor

winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/

"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."

Signature last update: 2023-04-24

Link to comment
Share on other sites

  • Moderators

Jos,

Sorry - I assumed you would take my silence as "No Fault Found"! ;)

M23

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

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

  • Developers

I was just checking to see if that notification didn't get lost between all the other discussion that were happening at the time.

Thanks for the feedback. :)

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

Link to comment
Share on other sites

Certainly not: we're following you, we're close to you, we're all sat at your table and we're thursty but politeness demands that we don't ask openly.

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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