From: jmv on
I am trying to get the Notepad++ Aspell spell check to work on
my USB drive, not having very much luck, and I'm hoping one of
you may be able to help me.

On my hard drive Notepad++ and Aspell are both in the Program
Files directory and the Aspell relative path is ..\Aspell\bin which
works just fine.

Using that same logic I copied the Notepad++ and Aspell folders
into the Programs folder of my USB drive, thinking that the Aspell
relative path would work, as both of the folders are still in the same
directory, but no such luck.

At first it was working, but then I began to wonder if the Notepad++
program on my USB drive was using the Aspell directory on my hard
drive. As soon as I renamed that directory it stopped working, so it is
ignoring the Aspell directory on the USB drive.

On my hard drive Notepad++ was not installed, I extracted it from
the zip file into a Notepad++ folder. The Aspell program is installed
using the installation program, but on the USB drive I just copied the
program folder from the hard drive to the USB drive. Other that that,
the only difference is the name of the folder that the programs are in
on my USB drive.

I'm beginning to wonder if Aspell does not work on a USB drive as
the Portable Apps Notepad++ version does not have it.


From: jmv on
"Yrrah" <Yrrah-acf(a)acf.invalid> wrote in message
news:2pspp5pv7h9tf5i0bh17m7mokif3pmmmml(a)net.com...

> ASpell is not really a 'portable' program. Look for ASpell in the
> registry and you'll see several entries with pointers to the location.
> From ASpell's Readme:
> "The installer registers the DLLs as shared libraries (...). The
> reference counters are located under:
> HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs.
> The install location and version numbers are stored under
> HKLM\SOFTWARE\Aspell" (in fact there are registry keys for the
> location of each installed dictionary).

I guess I should have read the Aspell Readme file. I thought it might
not work as a portable app, but I wanted to see if there was a way
to make it work.


> I assume that you have the plugin 'SpellChecker.dll' in the Notepad++
> plugins folder. See what's in 'SpellChecker.ini' (in
> 'plugins\Config\'). The plugin looks for the location of the ASpell
> folder ('aspell-15.dll' location) in the registry if it can't find it
> (or the relative path) in 'SpellChecker.ini', I presume. However, I
> haven't experimented with Notepad++/ASpell on a USB drive (and
> changing the relative path in 'SpellChecker.ini') yet, but may try
> later.

Yes, I have the SpellChecker.dll file in the plugins folder and the
ini file has this in it, which I thought may work as the ini file is not
looking for anything in the registry.

[Spell-Checker]
Current Language=en
Relative Path=..\Aspell\bin


> What happens (with the spell check) when you install the
> 'PortableApps.com' Notepad++ build on a USB drive?

Same thing, it doesn't work either, which is probably why the
Portable Apps version does not include it. It's interesting that
they include the SpellChecker.dll file, but not Aspell.

However, there is a version of Notepad++ called X-Notepad++,
Portable which I got from winpenpack.com that includes Aspell
and I think I got it to work. It won't work on my PC at home with
Aspell installed on it, but I seem to remember trying it on a PC at
work that did not have Aspell installed and it worked. It has been
awhile since I tried it and I'll take it to work tomorrow and try it on
one of the PC's there.


From: jmv on
"Bear Bottoms" <bearbottoms1(a)gmai.com> wrote in message
news:Xns9D3AE409F419Dbearbottoms1gmaicom(a)69.16.185.250...
> Follow the instructions:
> http://portableapps.com/node/8681

That does not work with the unicode version of Notepad++.


From: jmv on
"Yrrah" <Yrrah-acf(a)acf.invalid> wrote in message
news:sf7sp59rkjd14vert9816c2fjsrkgdq8q0(a)net.com...
> That works! Copy the Aspell folder to the Notepad++ folder on your
> USB drive. You should now have this folder hierarchy:
> Notepad++ folder
> - \aspell
> - - \bin
> - - \data
> - - \dict
> - - \doc
> - \plugins
> - - \Config
>
> Uninstall the original Aspell and its dictionaries thoroughly. Remove
> all Aspell entries from the registry with e.g. RegSeeker. Modify
> 'SpellChecker.ini' (in plugins\Config' folder) as instructed
> ("Relative Path=aspell\bin").
> Now you can run Notepad++ with Aspell from a USB drive.
>
> BTW, the registry keys mentioned in Aspell's Readme and the pointers
> in the registry to the dictionaries have not returned yet.

Believe it or not, that is exactly what I tried before I posted my first
message as it did not work. Then I tried it again today and it still did
not work.

Then I noticed something very strange!!!

For some unknown reason Notepad++, which I was using to edit
the SpellChecker.ini file, was not saving the text of the file after I
edited it. The file date and/or time stamp would change, but the
text inside the file remained the same. It would let me edit the file
and remove the "..\" but when I saved the file and opened it again
the "..\" was still there. I didn't give it any thought before as I have
never had a problem with it not saving a file after editing it.

So, I used another text editor to edit the SpellChecker.ini file and
Notepad++ and Aspell are both working on my USB drive. I even
decided to set it up that same way on my home and work PC's and
they are also working properly.

Thanks for your assistance, as well as Mike Dee. I probably would
have given up and never noticed that Notepad++ was not saving the
text of the ini file if I had not heard that it was working for others.


From: Mike Dee on
In article <cl30q5dpfsqve3l3thnp855l45e03th39p(a)net.com>,
Yrrah <Yrrah-acf(a)acf.invalid> wrote:

> "jmv" <jmv(a)home.com>:
>
> > Thanks for your assistance, as well as Mike Dee. I probably would
> > have given up and never noticed that Notepad++ was not saving the
> > text of the ini file if I had not heard that it was working for others.
>
> Well, thank you. Without your question I would never have tried to
> figure out how to make the Notepad++/Aspell combo portable.

Ditto. Same goes for me. Thanks for bring the Q up in the first place.

--
dee