AutoItKing Posted June 26, 2006 Posted June 26, 2006 Again, I suggest using menus to maximise the text area. By the way, this is coming along great! 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]
NELyon Posted June 26, 2006 Author Posted June 26, 2006 gah... i don't know how to use menus TO THE BETA HELP FILE
AutoItKing Posted June 26, 2006 Posted June 26, 2006 (edited) The menu is pretty easyMake a menu, then make a menu item. In the loop see if that item was clicked. If you need help just let me know.[EDIT] Spelling! Edited June 26, 2006 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]
NELyon Posted June 28, 2006 Author Posted June 28, 2006 A tiny update. Fixed some positioning, added ThatsGreat2345's color picker he suggested, and made text area a little bigger. Still working on menu.2.0.au3
AutoItKing Posted June 28, 2006 Posted June 28, 2006 (edited) I made some changes to BenEditor. It's a little smaller and better looking. Inspiration? Head ache? I don't even know how I got the big parts to work only that I did. Keep up the good work btw! And don't forget that I am here to help and not to kill your project! Edited June 28, 2006 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]
Moderators SmOke_N Posted June 28, 2006 Moderators Posted June 28, 2006 I made some changes to BenEditor.Sure seems your hijacking his thread... Nothing there says... "I made some changes to BenEditor if you want to see if they help" Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
GaryFrost Posted June 28, 2006 Posted June 28, 2006 Sure seems your hijacking his thread... Nothing there says... "I made some changes to BenEditor if you want to see if they help" No different than the last few posts at http://www.autoitscript.com/forum/index.ph...st&p=183341 SciTE for AutoItDirections for Submitting Standard UDFs  Don't argue with an idiot; people watching may not be able to tell the difference. Â
NELyon Posted June 28, 2006 Author Posted June 28, 2006 THREAD HIJACKER!!! PWN TEH AUTOITKING!!!!1!!!111oneoneone!!!exclaimation!!1!
AutoItKing Posted June 28, 2006 Posted June 28, 2006 I just wanna be friends! Is that too much to ask for? Besides I'm just here to help! 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]
Thatsgreat2345 Posted June 29, 2006 Posted June 29, 2006 HEHEH i was bored and i made this , copy, cut, and paste dont work yet cuz theres no _GUICtrlEditGetSelText guess ill try and work on that and options doesnt work ill make that tommorow heheeh was just bored not trying to hijack the thread expandcollapse popup#include <GUIConstants.au3> #include <File.au3> #include <GuiEdit.au3> Global $null Global $file Global $current $GUItg = GUICreate("TG - Text Edit", 606, 415, 190, 114) $Edit = GUICtrlCreateEdit("", 0, 0, 625, 417) GUISetState(@SW_SHOW) $MenuItem1 = GUICtrlCreateMenu("&File") $menunew = GUICtrlCreateMenuItem("New", $MenuItem1) $menuopen = GUICtrlCreateMenuItem("Open", $MenuItem1) $menusave = GUICtrlCreateMenuItem("Save", $MenuItem1) $menusaveas = GUICtrlCreateMenuItem("Save As", $MenuItem1) $menuexit = GUICtrlCreateMenuItem("Exit", $MenuItem1) $MenuItem2 = GUICtrlCreateMenu("&Edit") $menuundo = GUICtrlCreateMenuItem("Undo", $MenuItem2) $menucopy = GUICtrlCreateMenuItem("Copy", $MenuItem2) $menucut = GUICtrlCreateMenuItem("Cut", $MenuItem2) $menupaste = GUICtrlCreateMenuItem("Paste", $MenuItem2) $menudelete = GUICtrlCreateMenuItem("Delete", $MenuItem2) $menuoptions = GUICtrlCreateMenu("&Options") $MenuItem3 = GUICtrlCreateMenu("&About") $menuabout = GUICtrlCreateMenuitem("About",$MenuItem3) While 1 $msg = GUIGetMsg() Menu() Gui() WEnd Func Menu() $ret = _GUICtrlEditCanUndo($Edit) Select Case $msg = $menuexit Exit Case $msg = $menusaveas $file = FileSaveDialog("Choose a file to save","","All Files (*.*)",16) $path = _PathSplit($file,$null,$null,$null,$null) If $path[4] = "" Then $file = $file & ".txt" _FileCreate($file) FileWrite($file,GUICtrlRead($Edit)) Else _FileCreate($file) FileWrite($file,GUICtrlRead($Edit)) EndIf Case $msg = $menusave If $file = "" Then $file = FileSaveDialog("Choose a file to save","","All Files (*.*)",16) $path = _PathSplit($file,$null,$null,$null,$null) If $path[4] = "" Then $file = $file & ".txt" FileOpen($file,2) _FileCreate($file) FileWrite($file,GUICtrlRead($Edit)) Else _FileCreate($file) FileWrite($file,GUICtrlRead($Edit)) EndIf Else FileOpen($file,2) FileWrite($file,GUICtrlRead($Edit)) EndIf Case $msg = $menunew GUICtrlSetData($Edit,"") $file = "" Case $msg = $menuopen $file = FileOpenDialog("Open a file","","All Files (*.*)") GUICtrlSetData($Edit,FileRead($file)) Case $msg = $menuabout MsgBox(0,"About","I was bored so I made it") Case $msg = $menuundo If ($ret <> $current) Then If $ret == 0 Then MsgBox(0,"Error","Nothing to Undo") Else _GUICtrlEditUndo($edit) $ret = $current EndIf EndIf EndSelect EndFunc Func Gui() Select Case $msg = $GUI_EVENT_CLOSE Exit EndSelect EndFunc
AutoItKing Posted June 29, 2006 Posted June 29, 2006 Not bad! @codemyster: You're going to do syntax highlighting? For that you need a rich text edit box which I have not seen yet. 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]
AutoItKing Posted June 30, 2006 Posted June 30, 2006 good luck with that! 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]
Daniel W. Posted July 5, 2006 Posted July 5, 2006 Try using the Beta version .. Its included there --------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote]
NELyon Posted July 9, 2006 Author Posted July 9, 2006 Ok, i'm gonna start with menu's. It really isn't hard at all now that i look at it. Version... i forget what version this is.... will be released soon.
NELyon Posted August 29, 2006 Author Posted August 29, 2006 (edited) Whoa, Been a while since i've updated this. With the help of larry's BMP2RGN dll, I have made SimpleEdit look awesome. Check this out!SimpleEdit.zip Edited August 29, 2006 by codemyster
theguy0000 Posted August 30, 2006 Posted August 30, 2006 ehh im just sayin, i would be offended if ben came in here and posted stuff like that in my thread. BenEditor is WAY better. (Not bragging, telling the truth)how is that "just here to help"? no suggestions, no "try adding _____feature". just "mine is better". ok, you made a few suggestions. but you kept managing to slip BenEditor in there.I made some changes to BenEditor. It's a little smaller and better looking. Inspiration? Head ache? I don't even know how I got the big parts to work only that I did. Keep up the good work btw! And don't forget that I am here to help and not to kill your project!hello??? do I even need to say anything about that? The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN
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