Jump to content

Recommended Posts

Posted

@AZJIO i found it very good this notepad in Autoit.

Posted

Closing the application with an unsaved file will display a message box in Russian.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted (edited)

Nice script

Is there any reason why you change the keyboard to English (409)? If I comment out lines 298-302, I don't see the script misbehaving and I have my own keyboard layout.

Is there any chance to allow overwrite mode (by toggling the insert key), so that the editor behaves like Scite or Notepad++? (by default this is not possible with GUICtrlCreateEdit)

Edited by GreenCan
  Reveal hidden contents

Contributions

CheckUpdate - SelfUpdating script ------- Self updating script

Dynamic input validation ------------------- Use a Input masks can make your life easier and Validation can be as simple

MsgBox with CountDown ------------------- MsgBox with visual countdown

Display Multiline text cells in ListView ---- Example of pop-up or ToolTip for multiline text items in ListView

Presentation Manager ---------------------- Program to display and refresh different Border-less GUI's on a Display (large screen TV)

USB Drive Tools ------------------------------ Tool to help you with your USB drive management

Input Period udf ------------------------------ GUI for a period input

Excel ColorPicker ---------------------------- Color pickup tool will allow you to select a color from the standard Excel color palette

Excel Chart UDF ----------------------------- Collaboration project with water 

GetDateInString ------------------------------ Find date/time in a string using a date format notation like DD Mon YYYY hh:mm

TaskListAllDetailed --------------------------- List All Scheduled Tasks

Computer Info --------------------------------- A collection of information for helpdesk

Shared memory Demo ----------------------- Demo: Two applications communicate with each other through means of a memory share (using Nomad function, 32bit only)

Universal Date Format Conversion -------- Universal date converter from your PC local date format to any format

Disable Windows DetailsPane -------------- Disable Windows Explorer Details Pane

Oracle SQL Report Generator -------------  Oracle Report generator using SQL

SQLite Report Generator -------------------  SQLite Report generator using SQL

SQLite ListView and BLOB demo ---------- Demo: shows how binary (image) objects can be recognized natively in a database BLOB field

DSN-Less Database connection demo --- Demo: ActiveX Data Objects DSN-Less Database access

Animated animals ----------------------------- Fun: Moving animated objects

Perforated image in GUI --------------------- Fun: Perforate your image with image objects

UEZ's Perforator major update ------------- Fun: Pro version of Perforator by UEZ

Visual Crop Tool (GUI) ----------------------- Easy to use Visual Image Crop tool

Visual Image effect (GUI) -------------------- Visually apply effects on an image

 

 

 

Posted (edited)

@GreenCan

  Quote
Is there any reason why you change the keyboard to English (409)? If I comment out lines 298-302, I don't see the script misbehaving and I have my own keyboard layout.

 

By default, when the system boots I have included Russian keyboard layout. This causes a problem hot key assignment. I can assign a keyboard shortcut Ctrl +1, but I can not assign Ctrl + A, because the numbers in any keyboard layout are the numbers. At experiments of @MrCreatoR found out the cause of the problem. Before purpose of hotkeys it is necessary to switch over in English keyboard layout. I improved his idea that restored keyboard layout which has to be when system boots because I expect to start entering text in Russian. Possibly it is a problem only for Russian layout of the keyboard.

  Quote
Is there any chance to allow overwrite mode (by toggling the insert key), so that the editor behaves like Notepad++? (by default this is not possible with GUICtrlCreateEdit)

I don't understand.

@guinness

Fixed.

There is another problem. When searching for text, you can change the input field and the text in the editor. I must track these changes. This is not done.

Edited by AZJIO
Posted

  On 6/25/2013 at 10:26 AM, AZJIO said:

@guinness

Fixed.

Thanks.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

Azjio,

  On 6/25/2013 at 10:26 AM, AZJIO said:
By default, when the system boots I have included Russian keyboard layout. This causes a problem hot key assignment. I can assign a keyboard shortcut Ctrl +1, but I can not assign Ctrl + A, because the numbers in any keyboard layout are the numbers. At experiments of @MrCreatoR found out the cause of the problem. Before purpose of hotkeys it is necessary to switch over in English keyboard layout. I improved his idea that restored keyboard layout which has to be when system boots because I expect to start entering text in Russian. Possibly it is a problem only for Russian layout of the keyboard.

I can confirm that all shortcut keys as defined as Acceleration Keys do function on my PC with Belgian keyboard

I would recommend to set _WinAPI_LoadKeyboardLayoutEx as an optional keyboard defined in the ini file.

I found another bug with shortcut F5, F5 erases the complete content of what is currently in the editor, that cannot be wanted, right? I expect the date to be inserted at cursor position.

  On 6/25/2013 at 10:26 AM, AZJIO said:

I don't understand.

Well, very simple, open your My_Notepad and start typing, go back with your cursor to the previous word, type again, you are in insert mode, the cursor is a vertical bar.  Now press the Insert button, your cursor doesn't change and you are still in insert mode.

Now, go to Scite and do the same, when you press the Insert button, the cursor changes to underscore (_) in you can type over (erase) the existing text

GreenCan

  Reveal hidden contents

Contributions

CheckUpdate - SelfUpdating script ------- Self updating script

Dynamic input validation ------------------- Use a Input masks can make your life easier and Validation can be as simple

MsgBox with CountDown ------------------- MsgBox with visual countdown

Display Multiline text cells in ListView ---- Example of pop-up or ToolTip for multiline text items in ListView

Presentation Manager ---------------------- Program to display and refresh different Border-less GUI's on a Display (large screen TV)

USB Drive Tools ------------------------------ Tool to help you with your USB drive management

Input Period udf ------------------------------ GUI for a period input

Excel ColorPicker ---------------------------- Color pickup tool will allow you to select a color from the standard Excel color palette

Excel Chart UDF ----------------------------- Collaboration project with water 

GetDateInString ------------------------------ Find date/time in a string using a date format notation like DD Mon YYYY hh:mm

TaskListAllDetailed --------------------------- List All Scheduled Tasks

Computer Info --------------------------------- A collection of information for helpdesk

Shared memory Demo ----------------------- Demo: Two applications communicate with each other through means of a memory share (using Nomad function, 32bit only)

Universal Date Format Conversion -------- Universal date converter from your PC local date format to any format

Disable Windows DetailsPane -------------- Disable Windows Explorer Details Pane

Oracle SQL Report Generator -------------  Oracle Report generator using SQL

SQLite Report Generator -------------------  SQLite Report generator using SQL

SQLite ListView and BLOB demo ---------- Demo: shows how binary (image) objects can be recognized natively in a database BLOB field

DSN-Less Database connection demo --- Demo: ActiveX Data Objects DSN-Less Database access

Animated animals ----------------------------- Fun: Moving animated objects

Perforated image in GUI --------------------- Fun: Perforate your image with image objects

UEZ's Perforator major update ------------- Fun: Pro version of Perforator by UEZ

Visual Crop Tool (GUI) ----------------------- Easy to use Visual Image Crop tool

Visual Image effect (GUI) -------------------- Visually apply effects on an image

 

 

 

Posted (edited)

GreenCan

  Quote
(by default this is not possible with GUICtrlCreateEdit)

You answered your own question. I do not use this mode even in Notepad++.

  Quote
F5

I will correct, it almost a typo.      ", 1)"

Fixed

 

  Quote
There is another problem. When searching for text, you can change the input field and the text in the editor. I must track these changes. This is not done

I was mistaken. I wanted to correct, but the problem isn't present.

Edited by AZJIO
Posted (edited)
  On 6/25/2013 at 1:42 PM, AZJIO said:

You answered your own question. I do not use this mode even in Notepad++.

Yes, but your answer is too simple ;). It must be possible with GUIRegisterMsg. All good editors have this feature. I'll see if I can solve this.

Something else, would you evaluate to put a status bar with some info like cursor position (see example), file size, etc?

; 1. Add below $hEdit = GUICtrlGetHandle(-1)
GUICtrlSetResizing ( $iEdit, $GUI_DOCKBOTTOM + $GUI_DOCKTOP )

; 2. ==> insert just before GUISetState(@SW_SHOW, $hGui)
#region status bar
Local $aPartRightSide[3] = [100, 140, 300]
Global $StatusBar = _GUICtrlStatusBar_Create($hGui, $aPartRightSide, "", -1, $SBARS_SIZEGRIP)
_GUICtrlStatusBar_SetText($StatusBar, "INS" , 0)
_GUICtrlStatusBar_SetText($StatusBar, "" , 1)
_GUICtrlStatusBar_SetText($StatusBar, "Ln: " & ControlCommand($hGUI, "", $hEdit, "GetCurrentLine", "") & " " & "Col: " &ControlCommand($hGUI, "", $hEdit, "GetCurrentCol", ""), 2)
#endregion status bar


; 3. Add 
GUIRegisterMsg($WM_SIZE, "MY_STATUSBAR") 

; 4. Add (and Declare Global $aLocation)
        Case Else
            $aLocation = _GUICtrlEdit_GetSel($iEdit) ; cursor location
            If $iKeep_Pos <> $aLocation[1] Then
                _GUICtrlStatusBar_SetText($StatusBar, "Ln: " & ControlCommand($hGUI, "", $hEdit, "GetCurrentLine", "") & " " & "Col: " &ControlCommand($hGUI, "", $hEdit, "GetCurrentCol", ""), 2)
                $iKeep_Pos = $aLocation[1]
            EndIf

; 5. Add
Func MY_STATUSBAR($hWnd, $iMsg, $iwParam, $ilParam)
    ; dock bottom
    _GUICtrlStatusBar_Resize($StatusBar)
    Return $GUI_RUNDEFMSG
EndFunc   ;==>MY_STATUSBAR
Edited by GreenCan
  Reveal hidden contents

Contributions

CheckUpdate - SelfUpdating script ------- Self updating script

Dynamic input validation ------------------- Use a Input masks can make your life easier and Validation can be as simple

MsgBox with CountDown ------------------- MsgBox with visual countdown

Display Multiline text cells in ListView ---- Example of pop-up or ToolTip for multiline text items in ListView

Presentation Manager ---------------------- Program to display and refresh different Border-less GUI's on a Display (large screen TV)

USB Drive Tools ------------------------------ Tool to help you with your USB drive management

Input Period udf ------------------------------ GUI for a period input

Excel ColorPicker ---------------------------- Color pickup tool will allow you to select a color from the standard Excel color palette

Excel Chart UDF ----------------------------- Collaboration project with water 

GetDateInString ------------------------------ Find date/time in a string using a date format notation like DD Mon YYYY hh:mm

TaskListAllDetailed --------------------------- List All Scheduled Tasks

Computer Info --------------------------------- A collection of information for helpdesk

Shared memory Demo ----------------------- Demo: Two applications communicate with each other through means of a memory share (using Nomad function, 32bit only)

Universal Date Format Conversion -------- Universal date converter from your PC local date format to any format

Disable Windows DetailsPane -------------- Disable Windows Explorer Details Pane

Oracle SQL Report Generator -------------  Oracle Report generator using SQL

SQLite Report Generator -------------------  SQLite Report generator using SQL

SQLite ListView and BLOB demo ---------- Demo: shows how binary (image) objects can be recognized natively in a database BLOB field

DSN-Less Database connection demo --- Demo: ActiveX Data Objects DSN-Less Database access

Animated animals ----------------------------- Fun: Moving animated objects

Perforated image in GUI --------------------- Fun: Perforate your image with image objects

UEZ's Perforator major update ------------- Fun: Pro version of Perforator by UEZ

Visual Crop Tool (GUI) ----------------------- Easy to use Visual Image Crop tool

Visual Image effect (GUI) -------------------- Visually apply effects on an image

 

 

 

Posted

GreenCan

I do not want to display information in the status bar after typing each letter. Maybe I'm not ready to do that now. I think it's wasteful. Given that the AutoIt3 spends to 10 times greater than in C/C++.

I wanted to add a search with regular expressions.

Posted

Fine for me

  Reveal hidden contents

Contributions

CheckUpdate - SelfUpdating script ------- Self updating script

Dynamic input validation ------------------- Use a Input masks can make your life easier and Validation can be as simple

MsgBox with CountDown ------------------- MsgBox with visual countdown

Display Multiline text cells in ListView ---- Example of pop-up or ToolTip for multiline text items in ListView

Presentation Manager ---------------------- Program to display and refresh different Border-less GUI's on a Display (large screen TV)

USB Drive Tools ------------------------------ Tool to help you with your USB drive management

Input Period udf ------------------------------ GUI for a period input

Excel ColorPicker ---------------------------- Color pickup tool will allow you to select a color from the standard Excel color palette

Excel Chart UDF ----------------------------- Collaboration project with water 

GetDateInString ------------------------------ Find date/time in a string using a date format notation like DD Mon YYYY hh:mm

TaskListAllDetailed --------------------------- List All Scheduled Tasks

Computer Info --------------------------------- A collection of information for helpdesk

Shared memory Demo ----------------------- Demo: Two applications communicate with each other through means of a memory share (using Nomad function, 32bit only)

Universal Date Format Conversion -------- Universal date converter from your PC local date format to any format

Disable Windows DetailsPane -------------- Disable Windows Explorer Details Pane

Oracle SQL Report Generator -------------  Oracle Report generator using SQL

SQLite Report Generator -------------------  SQLite Report generator using SQL

SQLite ListView and BLOB demo ---------- Demo: shows how binary (image) objects can be recognized natively in a database BLOB field

DSN-Less Database connection demo --- Demo: ActiveX Data Objects DSN-Less Database access

Animated animals ----------------------------- Fun: Moving animated objects

Perforated image in GUI --------------------- Fun: Perforate your image with image objects

UEZ's Perforator major update ------------- Fun: Pro version of Perforator by UEZ

Visual Crop Tool (GUI) ----------------------- Easy to use Visual Image Crop tool

Visual Image effect (GUI) -------------------- Visually apply effects on an image

 

 

 

Posted (edited)

wakillon

  Quote
Just a little remark : when saving, txt extension is not added

It was so conceived. But I was wrong. Fixed.

Update

Added "Search in selected"
Added "Duplicate"

Added search using regular expressions

Added displaying information (Ctrl+Space)

Edited by AZJIO
Posted
  On 6/25/2013 at 9:40 PM, AZJIO said:

wakillon

It was so conceived. But I was wrong. Fixed.

Azjio,

The fix is not good.  If I want to give another extension (for example 'test.au3'), the file is saved as 'test.au3.txt'

'save as' should only add the .txt extension if there is no extension.

  Reveal hidden contents

Contributions

CheckUpdate - SelfUpdating script ------- Self updating script

Dynamic input validation ------------------- Use a Input masks can make your life easier and Validation can be as simple

MsgBox with CountDown ------------------- MsgBox with visual countdown

Display Multiline text cells in ListView ---- Example of pop-up or ToolTip for multiline text items in ListView

Presentation Manager ---------------------- Program to display and refresh different Border-less GUI's on a Display (large screen TV)

USB Drive Tools ------------------------------ Tool to help you with your USB drive management

Input Period udf ------------------------------ GUI for a period input

Excel ColorPicker ---------------------------- Color pickup tool will allow you to select a color from the standard Excel color palette

Excel Chart UDF ----------------------------- Collaboration project with water 

GetDateInString ------------------------------ Find date/time in a string using a date format notation like DD Mon YYYY hh:mm

TaskListAllDetailed --------------------------- List All Scheduled Tasks

Computer Info --------------------------------- A collection of information for helpdesk

Shared memory Demo ----------------------- Demo: Two applications communicate with each other through means of a memory share (using Nomad function, 32bit only)

Universal Date Format Conversion -------- Universal date converter from your PC local date format to any format

Disable Windows DetailsPane -------------- Disable Windows Explorer Details Pane

Oracle SQL Report Generator -------------  Oracle Report generator using SQL

SQLite Report Generator -------------------  SQLite Report generator using SQL

SQLite ListView and BLOB demo ---------- Demo: shows how binary (image) objects can be recognized natively in a database BLOB field

DSN-Less Database connection demo --- Demo: ActiveX Data Objects DSN-Less Database access

Animated animals ----------------------------- Fun: Moving animated objects

Perforated image in GUI --------------------- Fun: Perforate your image with image objects

UEZ's Perforator major update ------------- Fun: Pro version of Perforator by UEZ

Visual Crop Tool (GUI) ----------------------- Easy to use Visual Image Crop tool

Visual Image effect (GUI) -------------------- Visually apply effects on an image

 

 

 

Posted (edited)

GreenCan,

  Quote

the file is saved as 'test.au3.txt'

 

So won't be. Check the before to post on the forum.

------------------

Fixed: "Duplicate". If the file empty, adds a line.

Added: "+ Tab", "- Tab"

------------------

Added: "Remove the spaces"

Added: "Delete duplicate lines"

>WM_DROPFILES

Edited by AZJIO

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
×
×
  • Create New...