AZJIO Posted September 22, 2014 Posted September 22, 2014 Enable Display Properties large fonts. Height of menu depends on the font, which depends on the theme in the display properties. GUICreate("AuPad", 600, 500 GUICtrlCreateEdit("", 0, 0, 600, 495 500 - 495 = 5 5 pixel width of the menu all the time? My other projects or all
AZJIO Posted September 22, 2014 Posted September 22, 2014 how good can it handle large files of > 100 gigabyte? Many professional notepads do not know how to. You're not going to write a book the size of several gigabytes? MikahS 1 My other projects or all
MikahS Posted September 22, 2014 Author Posted September 22, 2014 Enable Display Properties large fonts. Height of menu depends on the font, which depends on the theme in the display properties. GUICreate("AuPad", 600, 500 GUICtrlCreateEdit("", 0, 0, 600, 495 500 - 495 = 5 5 pixel width of the menu all the time? Should I make it bigger for large fonts? Say.. 10-15 pixels at all times? Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
MikahS Posted September 22, 2014 Author Posted September 22, 2014 Looking good dude., Hay how about for tabs multiple files. should not be to hard to implant using the tab control. just an idea for you. Thanks DreamVB Definitely something to think about, will give it a look I've got the next couple days free so I'll be experimenting a lot Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
MikahS Posted September 23, 2014 Author Posted September 23, 2014 (edited) Enable Display Properties large fonts. Height of menu depends on the font, which depends on the theme in the display properties. GUICreate("AuPad", 600, 500 GUICtrlCreateEdit("", 0, 0, 600, 495 500 - 495 = 5 5 pixel width of the menu all the time? Hm. Maybe this would be accomplished better with GUICtrlSetResizing( controlID, $GUI_DOCKAUTO). I will give this a test today. Edited September 23, 2014 by MikahS Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
junkew Posted September 23, 2014 Posted September 23, 2014 Many professional notepads do not know how to. You're not going to write a book the size of several gigabytes? At the moment I use large text file viewer for huge logfiles of several gigabytes so just interested to now how this tool will handle large files FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
MikahS Posted September 23, 2014 Author Posted September 23, 2014 (edited) At the moment I use large text file viewer for huge logfiles of several gigabytes so just interested to now how this tool will handle large files I'm thinking about trying out getting the size and if it is > "example size" then read in as binary or UTF16 Little Endian, which should speed this up greatly I'm hoping. I will give this a test today. Edited September 23, 2014 by MikahS Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
MikahS Posted September 24, 2014 Author Posted September 24, 2014 At the moment I use large text file viewer for huge logfiles of several gigabytes so just interested to now how this tool will handle large files I've changed the handling of large files into reading them with binary and then converting it. It is definitely faster, but I'm not sure this will be good enough for files > 1 gig. As, AutoIt is not capable (or my ignorance thinks) of reading very large files in a quick manner. It will still work with large files, it will just take awhile to read them in. Will post an updated version with this soon Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
AZJIO Posted September 24, 2014 Posted September 24, 2014 junkew Log Viewer - it is a different type of program. You load is not the whole file, but only part of which can be viewed. When turn the scrollbar, then tip the line number. When released the scrollbar, then loads the specified portion of the file. Either you have to create an item such as GUICtrlCreateEdit, but with better properties, designed for large files. For example Scintilla. MikahS 1 My other projects or all
MikahS Posted September 25, 2014 Author Posted September 25, 2014 (edited) ---==== 1.6.0 ====--- - Added better text limit - Fixed the edit control to show the horizontal scrollbar - Made resizing of the edit control AUTO; making the menu AUTO, instead of just 5 pixel height - Changed any file over 100 MB to read in as binary - Changed any file dragged and dropped to read in as binary if over 100 MB in size - Added accelerator keys for uppercase, lowercase and save as - Took out unnecarry MsgBox in save function- Added print by line support - Added ini file for settings saved - Added setting in ini for word wrap Edited September 25, 2014 by MikahS Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
AZJIO Posted September 25, 2014 Posted September 25, 2014 when you close the question arises: "there has been changes to, would you like to save?". No cancel button. 1. Close button could be pressed accidentally. 2. Before saving, I wanted to correct something. My other projects or all
DreamVB Posted September 25, 2014 Posted September 25, 2014 Nice update again How about .LOG support like notepad. It be easy to do just check the very first line for .LOG Also for very large file support you could have a look into the Windows API WriteFile and ReadFile. Keep up the good work. On Error Resume Pulling Hair Out.
AZJIO Posted September 25, 2014 Posted September 25, 2014 And what if the print standard notepad? if FileExists ( "notepad" ) if FileGetVersion( "notepad" ) Then -> notepad /P filename.tmp Yes? My other projects or all
MikahS Posted September 26, 2014 Author Posted September 26, 2014 when you close the question arises: "there has been changes to, would you like to save?". No cancel button. 1. Close button could be pressed accidentally. 2. Before saving, I wanted to correct something. Very good suggestion I will be sure to do this! Nice update again How about .LOG support like notepad. It be easy to do just check the very first line for .LOG Also for very large file support you could have a look into the Windows API WriteFile and ReadFile. Keep up the good work. I've been looking over this and it looks fun, I will be sure to research this a lot more And what if the print standard notepad? if FileExists ( "notepad" ) if FileGetVersion( "notepad" ) Then -> notepad /P filename.tmp Yes? Are you meaning make a temporary file, then print it using the printing support of notepad? Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
MikahS Posted October 9, 2014 Author Posted October 9, 2014 UPDATE ---==== 1.7.0 ====--- - Added cancel button when quitting - Took out extra include - Set default font into font variables - Set default font when word wrap has been selected - Set default font when taking off word wrap - Added RTF files and All files to save dialog - Added redo functionality - added character attribute functionality for rich edit - added rtf files to the open file dialog - Added color support - Added picture support - Added background color support - Added stream rtf from file support - Added stream rtf to file support - Added recent files to menu item - Added AutoIt syntax highlighting; thanks goes to Beege for RESH UDF - Took out word wrap function and menu item as RichEdit is word wrapped already - Took out ini for the word wrap, but want to be very portable anyway - Added check for character attributes change - Added au3 file type for open and save dialog boxes Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
mLipok Posted October 9, 2014 Posted October 9, 2014 I suppose this requires the "Preview" ? 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 Code * 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 API * ErrorLog.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 TaskScheduler * IE 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 stuff * OnHungApp handler * Avoid "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" , 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
MikahS Posted October 10, 2014 Author Posted October 10, 2014 I suppose this requires the "Preview" ? It would be very cool to transition from martin's dll print library to your RTF print library. Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
DreamVB Posted October 11, 2014 Posted October 11, 2014 Nice update but I spotted some bugs The maximize does not resize the edit box. Also the syntax highlighting seems to note work right on large text. also noticed it will hang the app and you cannot exit. keep up the good work it's looking better with each update. On Error Resume Pulling Hair Out.
AZJIO Posted October 12, 2014 Posted October 12, 2014 The font size doesn't change Date has to be inserted into a cursor position Many features don't work My other projects or all
MikahS Posted October 21, 2014 Author Posted October 21, 2014 Nice update but I spotted some bugs The maximize does not resize the edit box. Also the syntax highlighting seems to note work right on large text. also noticed it will hang the app and you cannot exit. keep up the good work it's looking better with each update. Thank you for the words of encouragment! Working on these right now. The font size doesn't change Date has to be inserted into a cursor position Many features don't work Thank you for taking the time to look over it AZJIO! Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now