Sign in to follow this  
Followers 0
NELyon

SimpleEdit 1.0

43 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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]

Share this post


Link to post
Share on other sites

I know, just trying to hone(sp?) my autoit skills... plus, yours has MENUS

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

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]

Share this post


Link to post
Share on other sites

were can i get the code? i was on your site before and i didn't see a link

Share this post


Link to post
Share on other sites

ooo... its WITH the installer.

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

It wasn't a crash, it was (i think) my brother deleting my folder

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

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]

Share this post


Link to post
Share on other sites

It lacks functionality.

Oh you just make me feel SOOO special :D

Share this post


Link to post
Share on other sites

add in a color changer :D see if you can

Share this post


Link to post
Share on other sites

oo i'm up for a little challange... I'll do it

Share this post


Link to post
Share on other sites

Done... its sorta a wimpy color picker but it works nonetheless!

Share this post


Link to post
Share on other sites

#17 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

that doesen't work

Share this post


Link to post
Share on other sites

u have to be using beta

Share this post


Link to post
Share on other sites

whaddya know! it works

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
Sign in to follow this  
Followers 0