Jump to content



Photo

AutoIt Editor


  • Please log in to reply
135 replies to this topic

#1 RazerM

RazerM

    cowinkeedenky - coincidence?

  • Active Members
  • PipPipPipPipPipPip
  • 1,246 posts

Posted 14 December 2006 - 08:18 PM

First of all i'd like to say that this is not finished, so don't expect it to be a SciTE replacement. I'd like to thank Uten and lokster for posting info on how to use SciLexer.dll. Thanks to Manadar for helping me with bugs.

Posted Image

Command Line Parameters:
/file <file> will open the given file with the editor.

Update 01:
  • Fixed Copy and Paste (Thanks The Kandie Man)
  • Added command line parameters
  • Now uses SciLexer.dll (in Zip file)
  • Syntax highlighting fully functional
Update 02:
  • Tabbed documents
  • Undo and Redo
  • Close tab document
  • Icons in margin displaying errors
  • Calltips
  • Go To
  • Compile option
Update 03:
  • Fixed closing tabs bug
  • Added status bar for current line and column text
Update 04:
  • Tooltips on icons
  • Installs Rich Text Control Automatically
Update 05:
  • No more Rich Text, console uses scintilla (Thanks to eltorro)
  • Double clicking errors in console jumps to that place in the script
  • Fixed lots of bugs
  • If a script is already opened AE won't re-open it
  • ConsoleWriteError now also writes to console
  • ConsoleWrite procedure optimized
Update 06:
  • Output can now change size by dragging separator
  • Added long needed find and replace
  • Changed markers (errors and marked lines from find and replace)
  • Icons in a dll
Download:
AutoIt Editor.zip (593.2K) Number of downloads: Posted Image

Lost all previous downloads by accident :P
Previous Downloads since accidently lost: 142

Edited by RazerM, 06 October 2007 - 04:47 PM.

My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.





#2 Skrip

Skrip

    Psychonaut

  • Active Members
  • PipPipPipPipPipPip
  • 2,340 posts

Posted 14 December 2006 - 10:44 PM

can you compile it and add the exe to the zip, please?

We're trapped in the belly of this horrible machine.And the machine is bleeding to death...


#3 NELyon

NELyon

    Do you wanna brew my avatar?

  • Active Members
  • PipPipPipPipPipPip
  • 3,526 posts

Posted 14 December 2006 - 11:18 PM

Agh, same problem with the RichEdit control as last time.

#4 The Kandie Man

The Kandie Man

    All Your Base Are Belong To Us

  • Active Members
  • PipPipPipPipPipPip
  • 950 posts

Posted 14 December 2006 - 11:38 PM

can you compile it and add the exe to the zip, please?

Just run the script. Are you having difficultly doing so?

@RazerM

There is a bug where if i copy the following text with the copy button:
FileClose() FileOpen() ƒo݊÷ ٩ݶ§¥«-z+o‰§-®_¯Š­¶Ÿ¢¹š¶Ø§©Ýž‹cºËm…ë^Æ×(=Ú»_×Ovj{"Óݝy÷ôÓݝyùZž tß}=Ùú'¶ÖåÓݟÓOv~º&jp¨º¸ž¬×°Óݜ¢Z+µ¹t÷jÞwM=Ú Þz}4÷få¹íxãOv¾'°’)ÝãOv¹Ít÷jZ­Ý=ÙÇõÓݛÓÝ¢ÓݟÓOv~Í´)^ Z,{Ovqý4÷fôÓݢӍ8×Ov¥ªô÷g×OvoOvˆX¥xê^ŸOvqý4÷fôÓݢӍ8×Ov¥ªÿr‡^!ø©­ë, ÚåùƧvØ^ÚrÚåúø­ÂŠä±ø§y8^nè"²È¦¦­…«b¶+¢œ¢ž ayú+™«]jÖ¢§]ŠØ¨žÚ#ºËm…ë^ÆÖފxŠÊek'l@ÈOöŋŠÔZÍêÌ §çZºÚ"µÍ‚‚BPØÙH    ˆÌ ͎ÑY]Ý]     ˆÌ ͎ÒXÛېÝ]‚BBPÛ]     ˆÌ ͎ԚXÚ^ ”Ù[•ŠB‚BBIˆÌ ͎ԚXÚ^ ”Ù[^H œ][Ýɜ][Ý‚BPØÙH ˆÌ ͎ÑY]ÛÜK  ˆÌ ͎ÒXÛېÛÜB‚BBPÛ]     ˆÌ ͎ԚXÚ^ ”Ù[•ŠB‚BPØÙH  ˆÌ ͎ÑY]ÝK   ˆÌ ͎ÒXÛ۔ÝB‚BBIˆÌ ͎ԚXÚ^ ”Ù[•ˆHÛÙ] B

Edited by The Kandie Man, 15 December 2006 - 12:14 AM.

"So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire

#5 Skrip

Skrip

    Psychonaut

  • Active Members
  • PipPipPipPipPipPip
  • 2,340 posts

Posted 15 December 2006 - 12:26 AM

Just run the script. Are you having difficultly doing so?

I wasn't at my computer, but i'm back now. {Testing now}

EDIT: Nice job, I like it. But i'll stick with SciTe for now. :P

Edited by Firestorm, 15 December 2006 - 12:31 AM.

We're trapped in the belly of this horrible machine.And the machine is bleeding to death...


#6 RazerM

RazerM

    cowinkeedenky - coincidence?

  • Active Members
  • PipPipPipPipPipPip
  • 1,246 posts

Posted 15 December 2006 - 04:23 PM

@The Kandie Man
Thanks. I'll add that soon.
My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.

#7 GEOSoft

GEOSoft

    Sure I'm senile. What's your excuse?

  • MVPs
  • 10,563 posts

Posted 15 December 2006 - 08:37 PM

First of all i'd like to say that this is not finished, so don't expect it to be a SciTE replacement.
I'd like to thank DtTvB for his syntax highlighter, it was this I modified to use. Also I would
By default syntax highlighting is off, you will need to click File > Turn On Syntax Highlight to turn it on.

Known Bugs:

  • Console* functions will not work with the editor, simply because it is not a real console.
  • There are no Scroll bars - i can't get them to work.
  • Syntax Highlighting is extremely slow for scripts if more than 9 or 10 lines
Updates:
  • Fixed Copy and Paste (Thanks The Kandie Man)
Download:

Previous Downloads: 32

I just downloaded and have not even looked at it yet but I have a question first.
Does it support command line params?
Someone made one called AutoItEd (or similar) which wasn't written in AutoIt. I found out too late that it would not accept file names as parameters so you had to open the app and then browse to the file.
GeorgeQuestion about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else."Old age and treachery will always overcome youth and skill!"

#8 RazerM

RazerM

    cowinkeedenky - coincidence?

  • Active Members
  • PipPipPipPipPipPip
  • 1,246 posts

Posted 15 December 2006 - 08:46 PM

I could certainly make it accept command line paramaters... What were you thinking exactly? /file <filename>
My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.

#9 GEOSoft

GEOSoft

    Sure I'm senile. What's your excuse?

  • MVPs
  • 10,563 posts

Posted 15 December 2006 - 09:03 PM

I could certainly make it accept command line paramaters... What were you thinking exactly? /file <filename>

That's the one I need.

If it will accept the file name as a param then I'll add it as an editor option in Project Express. since I removed AutoItEd I only have Scite (and thats only if Scite is not the default editor for au3 files) left as an optional editor and I like to have multiple choices besides it left a hole in my GUI.
GeorgeQuestion about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else."Old age and treachery will always overcome youth and skill!"

#10 RazerM

RazerM

    cowinkeedenky - coincidence?

  • Active Members
  • PipPipPipPipPipPip
  • 1,246 posts

Posted 15 December 2006 - 10:49 PM

@GEOSoft
I have added the command line parameter you wanted.

Edited by RazerM, 06 October 2007 - 05:35 PM.

My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.

#11 GEOSoft

GEOSoft

    Sure I'm senile. What's your excuse?

  • MVPs
  • 10,563 posts

Posted 16 December 2006 - 04:05 AM

@GEOSoft
I have added the command line paramater you wanted.

You're a good man @RazerM. May the deity be with you.
I'll DL it now
Thanks
GeorgeQuestion about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else."Old age and treachery will always overcome youth and skill!"

#12 RazerM

RazerM

    cowinkeedenky - coincidence?

  • Active Members
  • PipPipPipPipPipPip
  • 1,246 posts

Posted 01 February 2007 - 08:44 PM

The script now uses SciLexer.dll. It is a lot better now. See first post.
My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.

#13 lokster

lokster

    Adventurer

  • Active Members
  • PipPip
  • 131 posts

Posted 02 February 2007 - 07:25 AM

When I run it it says that I dont have RICHTEXT.RichTextCtrl object and crashes...

#14 RazerM

RazerM

    cowinkeedenky - coincidence?

  • Active Members
  • PipPipPipPipPipPip
  • 1,246 posts

Posted 02 February 2007 - 03:54 PM

It quits because you don't have that object.

Anyway, here is a link to the file needed:
http://frazergmclean.googlepages.com/richtx32.OCX

You will need to register it with regsvr32

Edited by RazerM, 02 February 2007 - 03:58 PM.

My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.

#15 James

James

    jbrooksuk

  • MVPs
  • 9,468 posts

Posted 02 February 2007 - 04:31 PM

Hey RazerM,

Thats a pretty nice editor you have there.

Secure

#16 Uten

Uten

    stupid is as stupid does..

  • Active Members
  • PipPipPipPipPipPip
  • 1,987 posts

Posted 02 February 2007 - 04:59 PM

H @RazerM,

This one to looks good. Have not tested it yet but looks forward to do so.
You use the ritchedit control for the output pan, right?
If so maybe you could/should consider to use scintilla for that to. It would be easier to offer custom color codes in the pan and it would probably consume less memory overall (unless the ritchedit control already is loaded elsewhere).

Keep it up, keep it coming..:)

#17 RazerM

RazerM

    cowinkeedenky - coincidence?

  • Active Members
  • PipPipPipPipPipPip
  • 1,246 posts

Posted 02 February 2007 - 07:34 PM

@Uten
Thanks for your input. I will look into using SciLexer for the output.

Also, thanks for your comments everyone.
My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.

#18 lokster

lokster

    Adventurer

  • Active Members
  • PipPip
  • 131 posts

Posted 07 February 2007 - 09:59 AM

It quits because you don't have that object.

Anyway, here is a link to the file needed:
http://frazergmclean.googlepages.com/richtx32.OCX

You will need to register it with regsvr32


@RazerM I downloaded this file, registered it with "regsvr32 D:\lokster\for flash\today\AutoIt Editor\richtx32.OCX",
recieved the message saying "DllRegisterServer in D:\lokster\for flash\today\AutoIt Editor\richtx32.OCX succeeded."
And finally... got the same error: "Your computer does not have the RICHTEXT.RichTextCtrl object."
:whistle:

#19 RazerM

RazerM

    cowinkeedenky - coincidence?

  • Active Members
  • PipPipPipPipPipPip
  • 1,246 posts

Posted 07 February 2007 - 03:52 PM

try putting the file in system32 then just regsvr32 richtx32.ocx
My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.

#20 Stumpii

Stumpii

    Mr. Stumpii

  • Active Members
  • PipPipPipPipPipPip
  • 465 posts

Posted 08 February 2007 - 01:12 AM

try putting the file in system32 then just regsvr32 richtx32.ocx


That is cool. I might use SciLexer.dll in my debugger. Thanks for posting this.
“Give a man a script; you have helped him for today. Teach a man to script; and you will not have to hear him whine for help.”AutoIt4UE - Custom AutoIt toolbar and wordfile for UltraEdit/UEStudio users.AutoIt Graphical Debugger - A graphical debugger for AutoIt.SimMetrics COM Wrapper - Calculate string similarity.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users