How do I control the directory used by the Paste-As-File operation? I would like to save these files on my Desktop. How do I do that?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
... for [V1.16.X, the user] database ... will go into the user's My Documents directory if that has been configured as the location in the program config. For Vista, this is now default. For XP, it still defaults to the program directory, but you can manually change it by editing ConfigDir.ini in the program directory.So if I create the file %ProgramFiles%\TheFormLetterMachine\configdir.ini and place the string: %APPDATA%\TheFormLetterMachine inside, will that redirect the userdata directory for all Windows accounts to their respective My Documents directories? I'm assuming it will create the require directory in My Documents if it doesn't already exist.
... [To create a temporary comment in a note] just design your configuration tree as normal and save it, then when composing a letter, select the node you want to edit, and edit it in the top box above. Changes in this top box are just temporary and last for the duration of the current letter only.Now I understand why there isn't an automatic save feature on The Form Letter Machine when quitting. In order to give the user the choice of (1) saving or (2) not saving upon quitting the program, I would create two mutually exclusive Quit choices: (1) Save & Quit and (2) Quit w/o Saving.-mouser (July 05, 2007, 11:30 AM)
On an unrelated note, I'm bring this up now because I had to recently lock down my machine(s) to prevent innocent-looking spam URLs from indirectly linking to exe files that try to download and install on my system. Clearly, this is a new trick by the spammers to install back doors on machines. But I now have to grant access exceptions to directories like %ProgramFiles%\TheFormLetterMachine and "%ProgramFiles%\Clipboard Help+Spell" to circumvent this security to get these programs to still work.
If you use NTFS on the portable drive, you can use Windows' built-in EFS encryption.... Doesn't work on "Home" editions of XP, though.This comment brings up a question I have about NTFS file security. If I move an NTFS disk between two Windows Pro machines belonging to the same domain (and using the same enterprise license key for Windows Pro), the encrypted files should be okay (if they're authenticated with the same domain controllers), right?-f0dder (April 21, 2006, 08:23 AM)
Windows NT doesn't do "swapping", it does "paging" - ie., it swaps individual pages in and out, instead of full processes.-f0dder (November 12, 2006, 09:32 AM)
I know NT isn't real-time, but 50ms for an IRQ to be handled sounds ludicrous. And AFAIK, data processing isn't done directly in the IRQ handler, instead some state information is saved and passed down as an IRP, and the IRQ handler itself finishes quickly. Iirc Linux does somewhat the same by having "high" and "low" parts of their IRQ handlers.In a real-time driver, there is a high, middle, and low part.
Hadn't heard about real-time NT, are you sure you're not thinking of NT embedded?We are definitely talking about the same product. In 2000, it was called Real-time Windows NT, but now Microsoft is calling it Windows Embedded. I just visited their website http://msdn.microsof...mbedded/default.aspx
Just because something is embedded doesn't mean it has to be hard real-time.I agree. It is possible to do hard real-time in software, but I honestly believe hard real-time tasks are better done in hardware today because design tools for FPGAs are so easy to use now. In addition, some SoC chips (Excalibur) incorporate both a processor as well as an FPGA all on the same chip, so doing both firmware and a gate array design does not increase chip count.
Iirc there's also just one scheduler in the whole of NT, used for both usermode and kernelmode stuff - although there's a distinction between usermode and kernelmode threads. The "scheduler" also isn't a separate modular part, it's interweaved in most of the NT kernel because of it's particular design.If that's true, then that's really bad design. Please tell me that's not true. In the application layer, you have two things to deal with you don't have in the driver layer. One is protection switches (with the Memory Management Unit, MMU), and the other is semaphore testing and processing--which is really messy and big overhead--in a scheduler. Some would also include resource awareness (what resources are tied up by awaiting processes), but I'm counting that case under semaphore management here.
As for priority levels, there's 32 of them, with one being REALTIME. While that priority isn't strictly "realtime" by computer science terms,...I follow what you're saying, but I wouldn't look at it that way. All first tier (hardware interrupt) driver tasks must all complete first. Afterwards, all second tier driver tasks must compete and there's no special priorities for these. After that, then priories 0-31 for the main scheduler get attention where priority 0 is the real-time completion routine (which I "think" is swapable like anything else in the application layer, but maybe there's an exception here). The point is Windows places it's completion routines in protected mode, which means more context-switch overhead (with the MMU) but they would be easier to write and debug than if they were in the driver layer.
Why not combine this program "Clipboard Help+Spell" and "The Form Letter Machine" into one new program for clipboard control and writing text blocks?...I thought about this suggestion for a long time because I use both programs a lot. But honestly, combining both applications would make program operation too confusing for beginners. Clipboard Help+Spell employs a single integrated database for everything in its clipping tree structure.-escalona (September 05, 2006, 06:47 AM)
The other commercial program, AceText http://www.acetext.com/I took a detailed look at that very nice program, and it does support collections of acronym/mnemonic substitution for different trees. I'm not sure if you can use different collections for the same folder tree though. For example, for seasonal class times, could you have one substitution variable collection for fall and another for spring semester. But adding simple acronym substitution into a clipboard extender might be useful.-escalona (September 05, 2006, 06:47 AM)
... I also got your bug report that i introduced a wrapping bug in latest form letter machine; I'm on it.Good deal. That bug prevents me from putting the Forms Letter Machine in production use for an announcement e-mailing list (event digest) I moderate.-mouser (August 29, 2006, 11:01 PM)