Hi!
If somebody will decide that this topic belongs to self-promotional group - well, just drop it.
What is ATPad? A few years ago I wrote application named Tabbed Notepad, as a simple replacement for Notepad, but with tabbed environment. It was my "assembler age", so I wrote it in assembler, put elsewhere and forgot about it. There were many defects and bugs I could not (or was lazy to) fix then.
Now I've just rewritten it from scratch in C. I've fixed (I believe) many bugs and added many new features. So ATPad is a heir apparent of Tabbed Notepad and intended to replace the standard Notepad. I found it pretty useful for working wih multiple logs, for example.
Why "ATPad"? I've found something named "Tabbed Notepad" in the web, and subsequent exhaustive search has left no choice - just this combination, because both "tabbed" and "pad" should be presented. Actually this stands for "Andrey's Tabbed Pad", but everyone may chose what he wants: Awesome Top Pad, Abandoned Trajectory Pad, Antique Treasure Pad, Antimatter Transparent Pad and so on
For now there is a second beta at:
https://downloads.sourceforge.net/atpad/ATPad_1_0_107_rc2.zip
which includes the following features:
1. Tabbed environment (obvious).
2. Fully customizable editor - colors, fonts etc.
3. Lines numbering.
4. Word wrapping.
5. List of recently open documents - ATPad stores this list accordingly to MAC address, so "Recent Files" on your laptop will look different from "Recent Files" on your desktop machine.
6. Keeping last session - sessions are also saved and restored accordingly to computer.
7. Bookmarks.
8. Displaying whitespaces - tabs, spaces, line breaks.
9. Reloading documents "on-demand".
10. Outer changes tracking - you'll be informed when any of currently open documents has been changed out of program.
11. Reloading document in specified interval - you can specify interval for recurrent document reloading.
12. Sending documents via email as attachment.
13. Unicode (obvious).
14. Multi language support (obvious).
15. Portability (obvious) - ATPad leaves no traces on host computer.
Any suggestions, opinions or criticism are welcome.
The site is not ready yet, I want first to complete the release and then design the site.
Thank you
Looks like a very nice and simple text editor. This would be good for people that don't need all the functionality of Notepad++ but still need a simple editor. Good Work!
The developer formerly known as ZGitRDun8705
I'll look at it
Might be a good thing to have.
Would there be a way to just have it open all the documents, forgetting to MAC address? That's the only thing I see as far as a "feature request"- if you're taking those
Just from the short look, I like it.
Are you interested in there being a PAF version? If so, I'll do it.- Is there going to be a nice commandline switchOh, you so good:I'll do one up in a little bit- after I play with it.
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
Definitely yes. But:
will try to open non-existent files (from the other side they may be on USB stick you plug to different computers)
Apparently have to give some thought to...
Well, I'm looking into getting NSIS to pull down the MAC address of the computer- then I can replace the old MAC address. But its kinda messy.
I would like to see the feature so that as I go to different computers, I can open up my documents from the flash drive (the NSIS launcher can handle file path adjustment). That's what Notepad++ does, and I love that feature. (I thought a bona fide reason would be nice.)
I see this as being an EXCELLENT addition to the PortableApps lineup.
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
Updated to 1.0.102 (at the top)
Now, if you work from flash drive, recent files and sessions for files from this drive are displayed regardless of MAC address of host computer (at least it should be so :)) It will be great, if you'll test it, because I have a problem with usb drive at work.
Will test
Also, playing with it I found that changing the language caused the program to crash. But, you can start up the program and the language is different.That was the older one 101 (I think). Its fixed in 102.About the language, is there any way you can do it the wa PNotes does it- a entry in the ini such as:
[lang]
file=en_us.lng
Thanks.
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
No-no-no! It's not fixed - and that's what I call "thorough testing"
When I read your message I began to play with language switching (although did it hundreds times before) and found that if there is no documents, i.e. empty main window, the program crashes. Nice, it's easy to catch. Thank you!
About language file - no problem, I'll change the full names to abbreviations (although I am not sure it's en_us or en_my :))I didn't understand I just save the language id among other settings, and not file name. But if it's critically...
I'd just like you to have the language settings done in the same matter as PNotes.
That way, its MUCH easier for the launcher to change the language settings. I don't know if it would be possible for a launcher to change the lanuage remotely like its supposed to, with the ATPad exe handling languages in the manner its currently handling them.
Oh, Language Codes
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
I didn't know the launcher dealt with language files.
Well, I'll write the language file name in ini, no problem.
sweet- thanks.
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
Updated to 1.0.103
Link in the first post.
1. Fixed crash on language switching when there is no open documents (thanks to Oliver)
2. Fixed positioning on multiple monitors
2. A bit changed menu for setting recurrent reloading
Updated to 1.0.104 (link in first post)
1. Fixed improper replacing with empty string
2. Added section [language]=[filename].lng to atpad.ini (by request of Oliver). Be sure to drop your ini file or, at least, remove the [settings] section. Oliver, the name of language file for the very first launch, if there is no one yet, is "english.lng" and it's written hard-coded, so, please, use this name and not "en-us".
Okay.
Are you intending to support the international language codes, or should I figure out how to be getting around it?
Will upgrade, fix the launcher, and post the wrapper for the world :D!
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
I don't use codes like "en_us" or "ru_ru", but language ids instead: 0x409 for English-US, 0x419 for Russian and so on. The full list is here.
But I use them internally, for building language menu and choosing language from it. For the very first time, when there is no "atpad.ini" yet, I just store in internal structure 0x419 and "english.lng" as default (and then write them back to ini) - the same way I do it in PNotes. It's enough if you'll create an empty atpad.ini file with one section:
[settings]
language=english.lng (or any other existing file)
and I should just to work a bit more to help the program recognize the right id and store it.
BTW - how do we move forward with PNotes?
Language ids, huh? I'm thinking I'll have to write a header to do it, but that's alright. I'll work on that when its finalized and I've researched abit.
On PNotes: I'm gonna make a new forum posting and I'll probably have to leave a tell on IRC for John.
Also, your PNotes site looks really good- how'd you do that?
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
Brush my teeth, go to bed at 21:00, eat wholesome food
I just like to play with HTML, CSS, images and so on...
Updated to 4.0.105.
Link in first post.
A small fix of "Refresh every" menu appearance
Added missing accelerator (F5)
RC.
The link at the top
RC2 (and the last, I hope).
The link at the top.
Really nice work! What are your thoughts on including some kind of small file association editor for those who wish to replace notepad with your app?
Would it be possible to just rename ATPad as notepad.exe and replace it? I suppose it would have to accept the same commandline params as notepad to be fully compatible though.
ATPad.exe does accept command line parameters- I had to add that to my launcher as I checked.
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
Does Notepad support any specific command line arguments? I haven't find anything in its help.
Yes, it's possible just to rename ATPad to Notepad, at least I've heard from one of testers that he's done it in system32 directory. As for me I prefer to stay with original name
It's also possible to make some registry changes, so all links of kind Open With-->Notepad will be redirected to ATPad, but then the portability is missing.
Well there's 2 I can find in my registry -
/p %1 - print
/pt "%1" "%2" "%3" "%4" - printto (not sure how this one works)
According to http://www.robvanderwoude.com/commandlineswitches.html#Notepad
there are 3 switches:
Open a text file in Notepad:
notepad.exe TextFileName
Force Notepad to open a text file as ASCII text:
notepad.exe /A TextFileName
Print a text file with Notepad (default printer):
notepad.exe /P TextFileName
Anybody has ever made use of them, I wonder?
Release!
http://atpad.sourceforge.net
in the downloads section, it says PNotes
But there’s no sense crying over every mistake,
You just keep on trying till you run out of cake.
Thanks
Congrats on the release!
I've noticed a little difference in how it operates compared to notepad.exe (I'm trying to use it to replace notepad by renaming it to notepad.exe). ATPad parses file commandline arguments a little different that notepad. IMO, your way is correct, but Windows seems to default a lot of registry shell\open commands to
%SystemRoot%\system32\NOTEPAD.EXE %1
when it should be quoting the %1 - "%1".
notepad seems to be ok with this and will open the document, however ATPad is stopping at the first space and try to open "C:\Program" for example, instead of "C:\Program Files\new.txt".
Again, I agree with your way, but would it be possible to have ATPad skip trying to open directories such as "C:\Program" in this case? I don't know how exactly notepad handles this, unfortunately.
And a question - what does specifying a launcher path with the -conf switch do exactly?
Keep up the great work!
Hi!
Thank you for good words!
1. Yes, Notepad takes unquoted arguments, I don't know how - maybe it just concatenates them when there is no switch. And at the moment the only way to cause ATPad to behave like Notepad is arguments' quoting. Maybe in next versions I could do something with that issue.
2. A launcher path in command line arguments has been added for specifying outer launcher, such as PA.
Right, but what exactly does that do? I mean, what would happen differently if you launch ATPad with that path or without from a PA launcher, for example? I'm just confused since I don't see why ATPad should care how it is launched. I'm sure there's something obvious I'm overlooking of course
I Know! I know!
It allows you to specify where the ini that controls the settings will be.
Hence, the launcher passes a command line argument -conf $SETTINGS DIRECTORY;
this puts all the settings under \Data\settings
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
Actually the third -conf argument is a legacy of PNotes program. If in PNotes you choose option to start the program with Windows, it creates a shortcut in Startup folder - the shortcut which points to executable file specified in this argument. Otherwise it will points to main program EXE file and after launching all data directories and files will be those from program itself, and not from launcher.
To be honest, I don't know why I've kept this argument in ATPad. Probably because of laziness - just made copy/paste
Ah, got it.
Any more progress on this app yet?
The developer formerly known as ZGitRDun8705
It's official. See here
But the portable version is still a beta version
My bad, I checked the title, but never saw it go official. I'll start making a push when everythings updated. Look for it monday\tuesday-ish
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
I'm going to upload beta of new version in a couple of days, with important fixes and changes.
BTW, new PNotes beta is also almost ready for testing, so we'll have a bit of work to do, Oliver
sweet. Can I make a feature request for PNotes? I'd like the ability to a start up have some of the notes hidden and some of them visible.
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
Although it's ATPad's topic, but doesn't PNotes acts so? Just hide some notes and they won't be visible on start.
A-a-a, I see! May be you don't have the option "Show all notes on start" selected?
Well, I just should chuck this stupid radio button out - anyway, visible notes should be visible, don't they?