Jump to content
Jos

January 2, 2019: New SciTE4AutoIt3 available with the updated SciTE v4.1.2 release

Recommended Posts

Melba23

Jos,

A nice New Year present - thanks.

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

 

Share this post


Link to post
Share on other sites
AXLE

Thanks Jos,

I see you have compiled Tidy and Au3Stripper for XP. I really appreciate that and will drop them into SciTE4AutoIt3 17.224.935.0 and see how Its goes for conflicts, if good I'll run with it and let you know =)  I'm in the middle of doing a basic C/++ WinAPI tutorial for DllCall  so I don't want to break anything for the moment, but will test on XP through 8.1 at the first chance. Again, thanks heaps =)


"Writing code to carry out an intended set of tasks is relatively easy.
Writing code to carry out ONLY an intended set of tasks, well that can be a little more challenging."

Alex Maddern

Share this post


Link to post
Share on other sites
AXLE

Hi Jos,

I'm going to try and tread careful here. When first trying to update 'Scite4autoit3' under Win XP I had some issues getting/finding and restoring my preferred theme which is close to the default theme.

Somewhere amidst this I had encountered 'SciTE Customization GUI' and installed it. A. Probably as part of trying to find/reinstate the default theme. B. It looked worthwhile testing as an additional theme editor. I haven't yet tested it ('SciTE Customization GUI') as yet, although I guess I must opened and took a peak at it.

Both('Scite4autoit3' and 'SciTE Customization GUI') are installed. I had actually forgot that the later was even there. When tweaking and trying to save my theme from 'Scite Config' it appeared to save under the theme name I had given, yet I could not find this anywhere in the 'User\Local Settings\Application Data\AutoIt v3\SciTE' Folder. It turned out I eventually found it in 'Program Files\AutoIt3\SciTE\SciTE Customization GUI\SciTE Customization GUI\Themes'( P.S. I am aware that configs should not be save in \Programs folder. My bad for putting it there). I had also noticed that 'Scite Config' didn't appear to behave the way it had in the past. I had brushed this off as part of the XP Install issue, but now I am uncertain as 'SciTE Customization GUI' appears to override the 'Scite Config' settings. It concerns me that 2 Applications may be fighting for supremacy over the same settings =(

'SciTE Customization GUI' doesn't appear to have any help file or documentation and it's difficult to assess what the default behavior should be.

The above information is provided just so you can understand what I have done so far, it's not your responsibility to answer issues with 3rd party tools.

Qs.After removing 'SciTE Customization GUI' and attempting to save the current theme with a Name I am unable to find a saved theme with that name either as a file or within the Scite4autoit3 '\Program Files\AutoIt3\SciTE' or '\Local Settings\Application Data\AutoIt v3\'. I would like to transfer my current them to my other AutoIt + Scite4autoit3 installs as I Update. (From XP though to Win10, and some *Nix boxes).

1.Is 'User\Local Settings\Application Data\AutoIt v3\SciTE\SciTEUser.properties' the default for saves?

2.If so can I transport my current SciTEUser.properties to the other installs and overwrite the default .properties file?

3.Also Can I rename this file (SciTEUser.properties) to 'MyTheme.properties and keep it in the '\Application Data\AutoIt v3\SciTE\SciTEConfig' folder? (the format appears different in the default theme files)

All I need to do is get my current Theme over to all other installs, and try to avoid making additional work for myself :)

(P.S. I've learn my lesson (again) and will test other apps in a VM test box in future)

Sorry for the long winded question, thanks in advance for your assistance.


"Writing code to carry out an intended set of tasks is relatively easy.
Writing code to carry out ONLY an intended set of tasks, well that can be a little more challenging."

Alex Maddern

Share this post


Link to post
Share on other sites
Jos

The provided SciTEConfig is indeed the only software I support and that doesn't have a Save-Theme option as far as I know, and only saves the information to SciTEUSer.config.
You could create a new file in %localappdata%\AutoIt v3\SciTE\SciTEConfig with an ".SciteConfig" extension and copy the modified lines from SciTEUser.properties to this new file so you own theme is saved an can be reused later. SciTEConfig has to option to load these predefined schemes.
So which tool are you using?

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
RTFC

Hi Jos, thanks a lot for your Sisyphean efforts (as maintaining software is never done).:)

Just to let you know, I did get an untrusted-app warning on W10/Pro x64 pausing the installation, but this can be ignored.

En gelukkig Nieuwjaar!

Share this post


Link to post
Share on other sites
Jos

Dank je wel en ook een mooi 2019 voor jou. :) 

Did the installer itself give the warning because it isn't signed or was it one of the EXE inside?

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
AXLE
2 hours ago, Jos said:

So which tool are you using?

If by tool you mean Scite Config, then Scite Config. I'll be staying with the official Scite4AutoIt3 and built in toolset, unless it is some helper script that I need and have created myself, And It would be a per project usage as an include. The only thing I do is change some of the default highlight setting and Font height a little to make it easy on my eyes. I use a number of development environments and SciTe is usually at the top of the choice list. In past years I have edited the config files display settings manually and considered creating an editor for basic settings. Fortunately you have that part nailed down for AutoIt, I still need to create something for my other SciTe installs such as RFO Basic.

I use AutoIt and test my AutoIt scripts across a numerous Windows installs as well as ReactOS and *nix (Wine) in Hardware and Virtual Machine, so keeping the same/ish clean AutoIt install across all makes it convenient for writing and testing under different environments. That may sound a little extreme, but I just like to ensure things work as expected before I use it in real. What is extreme is an old laptop, wireless card, Win8.1 install/Boot disk and a copy of AutoIt3 and Scite4AutoIt3 portable as your default Dev environment. I spent six months writing au3 scripts from a boot disc as my primary OS, not because I had to, but because it seemed like a worthy challenge. That exercise sold me on AutoIt + Scite forever =D

So portable AutoIt3 and Scite4AuoIt3 Clean default install + a copy of Win API help file + a boot disk and a working box with an internet connection and you can create your dreams.


"Writing code to carry out an intended set of tasks is relatively easy.
Writing code to carry out ONLY an intended set of tasks, well that can be a little more challenging."

Alex Maddern

Share this post


Link to post
Share on other sites
VIP

I expect a version of AutoIt to integrate the full version of SciTE.

Thank Jos.


Regards,
 

Share this post


Link to post
Share on other sites
RTFC
1 hour ago, Jos said:

Did the installer itself give the warning because it isn't signed

Yes (probably difficult to fix this), and thanks.:)

Share this post


Link to post
Share on other sites
Jos
1 hour ago, VIP said:

I expect a version of AutoIt to integrate the full version of SciTE.

Thank Jos.

Don't hold your breath as this installer and it software is ONLY maintained by me and nobody else has access to the source.
The "only" thing that is part of the AutoIt SVN is the SciTE source, which I also maintain for both the Lite and Full version part.

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
BigDaddyO

oh, so nice!  thanks for the update to Tidy.  I'm one of those weirdo's that neeeeds all the comments lined up neatly at the end of rows so I never used tidy because of that.


hmm... I guess I have to have a signature...

Share this post


Link to post
Share on other sites
Jos
11 minutes ago, BigDaddyO said:

I'm one of those weirdo's that neeeeds all the comments lined up neatly at the end of rows..

Well you can have Tidy do it for you now. ;)


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
mLipok

As I see this new Tidy feature are very well taken by users.

 

 


Signature beginning:   Wondering who uses AutoIT and what it can be used for ?
* GHAPI UDF - modest begining - comunication with GitHub REST API Forum Rules *
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

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
 

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 *

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 * 

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 TaskScheduler

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

Signature last update: 2018-10-31

Share this post


Link to post
Share on other sites
Deye

Hope it's not the mouse I have that SciTE don't like 

but When doing a negative scroll with the mouse wheel above the SciTE window the scrolling effect isn't as smooth as with other apps

Simple test: Is the SciTE window smooth Scrolling for you evenly in to both ways ? 

Thanks

Deye

Share this post


Link to post
Share on other sites
Melba23

Deye,

Yes.

M23

  • Thanks 1

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

 

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

    • mannworks00
      By mannworks00
      After testing various schemes (themes) in the settings for the newest SciTE editor (v. 4.1.2), I discovered that I wasn't able to fully reset it back to its original colors (See snapshot). Specifically, after applying the "__SciTE4AutoIt3_Dark ==> Dark SciTE4AutoIt3 Color scheme."
      The problem: The Line number column and the Output console do not reset back to their original colors.
      The Solution: Delete or edit the user config file. You can safely delete the config file because it will completely regenerate on SciTE restart- with it's factory (out of the box) color scheme.
      I also wrote a small script that will do it programatically: How to reset SciTE scheme in version 4.1.2.
       
       

    • kellariluukku
      By kellariluukku
      Hello.
      I'm using SciTE v3.3.14.5 I think, and I find this very annoying (GIF):
      https://i.gyazo.com/e60b5d94b8c16d217be4010e208d7042.mp4
       
      I've searched around but found nothing that helped including this:
      https://www.autoitscript.com/forum/topic/100517-stop-scite-removing-tab-indentations/
       
      So the problem obviously is that when I go to a new line after "EndIf", it removes the tab which I don't want to happen.
      Is there any fix?
       
      I've tried to change some configs such as 
          Line 183: # Indentation     Line 185: indent.size=0     Line 187: #indent.auto=0     Line 188: indent.automatic=0     Line 189: indent.opening=0     Line 190: indent.closing=0     Line 191: #tab.indents=0     Line 192: #backspace.unindents=0 strip.trailing.spaces=0 But nothing seems to get rid of this.
       
      Thanks
    • 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.
       
       
    • BugFix
      By BugFix
      There is an issue, while using the function SendSciTE_Command by @Jos, if more than one instance of SciTE is open. Each instance of SciTE has its own DirectorExtension window, so we must choose the right one.
      Here is a way to solve this:
      ; by BugFix Func _GetHwndDirectorExtension() Local $hActive = WinGetHandle('[ACTIVE]') Local $PIDActive = WinGetProcess($hActive) Local $aExtension = WinList("DirectorExtension") Local $PIDExt For $i = 1 To $aExtension[0][0] $PIDExt = WinGetProcess($aExtension[$i][1]) If $PIDExt = $PIDActive Then Return $aExtension[$i][1] Next EndFunc ; by Jos Func SendSciTE_Command($_sCmd) Local $WM_COPYDATA = 74 Local $WM_GETTEXT = 0x000D Local $WM_GETTEXTLENGTH = 0x000E224 Local Const $SCI_GETLINE = 2153 ;~ Local $Scite_hwnd = WinGetHandle("DirectorExtension") ; Get SciTE DIrector Handle Local $Scite_hwnd = _GetHwndDirectorExtension() ; Get SciTE DIrector Handle Local $My_Hwnd = GUICreate("AutoIt3-SciTE interface") ; Create GUI to receive SciTE info Local $My_Dec_Hwnd = Dec(StringTrimLeft($My_Hwnd, 2)) ; Convert my Gui Handle to decimal $_sCmd = ":" & $My_Dec_Hwnd & ":" & $_sCmd ; Add dec my gui handle to commandline to tell SciTE where to send the return info Local $CmdStruct = DllStructCreate('Char[' & StringLen($_sCmd) + 1 & ']') DllStructSetData($CmdStruct, 1, $_sCmd) Local $COPYDATA = DllStructCreate('Ptr;DWord;Ptr') DllStructSetData($COPYDATA, 1, 1) DllStructSetData($COPYDATA, 2, StringLen($_sCmd) + 1) DllStructSetData($COPYDATA, 3, DllStructGetPtr($CmdStruct)) DllCall('User32.dll', 'None', 'SendMessage', 'HWnd', $Scite_hwnd, _ 'Int', $WM_COPYDATA, 'HWnd', $My_Hwnd, _ 'Ptr', DllStructGetPtr($COPYDATA)) GUIDelete($My_Hwnd) EndFunc ;==>SendSciTE_Command Func MY_WM_COPYDATA($hWnd, $msg, $wParam, $lParam) Local $COPYDATA = DllStructCreate('Ptr;DWord;Ptr', $lParam) Local $SciTECmdLen = DllStructGetData($COPYDATA, 2) Local $CmdStruct = DllStructCreate('Char[' & $SciTECmdLen+1 & ']',DllStructGetData($COPYDATA, 3)) ;~ Local $CmdStruct = DllStructCreate('Char[255]', DllStructGetData($COPYDATA, 3)) $SciTECmd = StringLeft(DllStructGetData($CmdStruct, 1), $SciTECmdLen) EndFunc ;==>MY_WM_COPYDATA  
    • timmy2
      By timmy2
      I've noticed in several YouTube tutorials about AutoIt that every time the instructor types EndFunc a comment "<==(function name)" is automatically added. I understand that Tidy will do this after the fact but what I'm writing about happens in real time. Where's the setting for this?  Thank you.
×