All Forums >> [Scripting] >> Post a VBScript >> yet another notepad Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Yes, it's a notepad. Actually, I was trying to make some kind of menu for..., well it turned out to be a notepad . It's only halve way, but the basics are there. I'm using a CommonDialog object, it works for me, but maybe not for others.?
stuff that doesn't work (yet)
Print
Find
Replace
Tabs in the textarea
Font change on just a selection
A statusbar that keeps track of cursor position
...
You can download the full program with all the bells here
So, here's the basic code
And the Style.css sheet
Updates will follow, and if you know a solution to any of the yet todo stuff, post it here
< Message edited by SilentBob -- 6/10/2007 7:21:47 AM >
Version 0.7 is out. It's using MeadCo's ScriptX object, the free version offcourse . I'm not posting the code here because of all the extra's it's using, just use the link in the first post .
New feature are
Page setup
Print preview
Print
Undo
Redo
Still todo
Find
Replace
Tabs in the textarea
Font change on just a selection
A statusbar that keeps track of cursor position
don't know if those last 3 will ever be possible though.
Due to a lack of time, this fun little project is coming to a premature ending .
The 'find' feature works, kind off. Just do a search for File and you'll see what I mean .
Did come across something nice though. Just adding a single line of code enabled a nice little drag n drop feature. Even dragging text from another application into the textarea works. Just add the following line in the window onLoad event.