Jump to content

SimpleEdit 1.0


NELyon
 Share

Recommended Posts

Well, i have taken a chance at creating a small text editor... and it works! Simple GUI interface is enough for my 5 year old brother to handle! Supports any kind of text (.txt, .au3, .html, .php ect) and no beta is needed.

Posted Image

Some things i will work on in the future:

Menus

Syntax highlighting

a save dialog (Saves in the same directory as the script now)

an open dialog (that would be helpful)

Some other things i am too laZy to type

Script included... i didn't include exe because it is still a work in progress and i would of accidently deleted it if i compiled it :D

Edited by codemyster
Link to comment
Share on other sites

  • Replies 42
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

BenEditor is WAY better. (Not bragging, telling the truth) Edited by AutoItKing
http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script]
Link to comment
Share on other sites

Took me quite a while to get it all right, about a month, more like a year (that's how long I've been working on it) I would encourage you to look at the code. Might give you some inspiration? (or a head ache)

Edited by AutoItKing
http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script]
Link to comment
Share on other sites

Ok, i was working on an update, but i gotta start over because my whole folder on my comp got erased (and it had 9 gb worth of crap in it)

Edited by codemyster
Link to comment
Share on other sites

Ok, i was working on an update, but i gotta start over because my whole folder on my comp got erased (and it had 9 gb worth of crap in it)

Sorry to hear about the crash. If you need some random crap to fill up your new disk, let me know, I have plenty to spare... :D
...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format
Link to comment
Share on other sites

Can someone say??? UPDATE

Features added: Open dialog, save dialog, increased type area by 30 px each way. Also, Autoitking, i'm also uploading this to your upload thing. It says in the readme that autoit forums and your site are the only place that has permission to be uploaded at without my permission... Yay, i got a readme! (I wrote the readme ON simpleEdit1.1)

EDIT: colored!!

SimpleEdit1.1.zip

Edited by codemyster
Link to comment
Share on other sites

Can someone say??? UPDATE

Features added: Open dialog, save dialog, increased type area by 30 px each way. Also, Autoitking, i'm also uploading this to your upload thing. It says in the readme that autoit forums and your site are the only place that has permission to be uploaded at without my permission... Yay, i got a readme! (I wrote the readme ON simpleEdit1.1)

EDIT: colored!!

No problem! Upload away!

Add this into your sig if you used it! (spread the word)

[color=#FF0000][b]Add your script to the soon-to-be HUGE database of scripts: [url=http://autoit.bendude.catch-free.com/upload/]http://autoit.bendude.catch-free.com/upload/[/url] or [url=http://autoit.bendude.catch-free.com/search.php]Search it![/url][/b][/color]
Edited by AutoItKing
http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script]
Link to comment
Share on other sites

nice try not what i had in mind but

EDIT: Fixed the color chooser forgot to add the correct flags

#include <GuiConstants.au3>
#include <Misc.au3>
GuiCreate("MyGUI", 437, 526,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))

$Edit_1 = GuiCtrlCreateEdit("Welcome to SimpleEdit 2.0!", 10, 10, 410, 300)
$Button_2 = GuiCtrlCreateButton("Open", 10, 320, 110, 30)
$Button_3 = GuiCtrlCreateButton("New", 160, 320, 110, 30)
$Button_4 = GuiCtrlCreateButton("Save", 310, 320, 110, 30)
$Button_5 = GuiCtrlCreateButton("Choose Color", 20, 430, 90, 30)
$Label_8 = GuiCtrlCreateLabel("BG color", 190, 410, 170, 20)
$Button_11 = GuiCtrlCreateButton("Normal", 320, 480, 90, 30)

GuiSetState()
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case $msg = $Button_2
        GUICtrlSetData($Edit_1,Fileread(FileOpenDialog("Select a file to open",@ScriptDir, "All Files (*.*)")))
    Case $msg = $Button_3
        GUICtrlSetData($edit_1, "")
    Case $Msg = $Button_4
        FileWrite(FilesaveDialog("Select a file to save",@ScriptDir, "All Files (*.*)"),GUICtrlRead($Edit_1))
    Case $msg = $Button_5
        GUISetBkColor(_ChooseColor(2, 255))
    Case $msg = $Button_11
        GUISetBkColor(0xece9d8)
        EndSelect
WEnd
Exit
Edited by thatsgreat2345
Link to comment
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
 Share

  • Recently Browsing   0 members

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