Numerous threads, both on this newsgroup and the two listed above, ask
(and answer) how to get all names as BCC *from Address Book or Contacts
Sidebar*. But I need to use the Address Book's "Advanced Search"
feature (Edit | Search Addresses). When those search results come up
you can't use any of the methods that work in the (main) Address Book or
Contacts pane -- you can't drag-and-drop and you can't right-click, and
"Write" only gives you the "To" option. (In 0.x you could
drag-and-drop.) So, how do you automatically get all search results as
BCC? Thanks in advance. (TB 1.5.0.7, Win98SE)
you should use 'Contacts Add BCC button' :
https://addons.mozilla.org/thunderbird/754/
This extension will help you to add searched result as Bcc
Thanks, but according to the description on that page, the extension
only works in the Contacts panel in the Compose window. (It's one of
the solutions that, as I mentioned above, I've already seen.) As I
said, I'm looking for something which works on the search results from
Edit | Search Addresses (i.e. the "advanced" search) in Address Book.
If you /really/ want this, do the following.
Close Thunderbird.
Install IZArc. During installation, choose to associate it only
with the .jar file type.
http://www.izarc.org/download.html
On Windows Explorer, go to Thunderbird's installation directory.
http://kb.mozillazine.org/Installation_directory
There, go to the sub-folder chrome, and open the file
messenger.jar with IZArc.
On IZArc, go to Options | Configuration | Program Locations, type
C:\Program Files\Windows NT\Accessories\wordpad.exe into Default
Viewer, and click OK.
Still on IZArc, inside messenger.jar, go to the folder
content\messenger\addressbook, right-click the file abCommon.js
and choose 'View with worpad'.
On WordPad, find the function AbNewMessage() and, inside it,
modify the line
composeFields.to = GetSelectedAddresses();
to
composeFields.bcc = GetSelectedAddresses();
Do File | Save and close WordPad. IZArc asks you if you want to
update abCommon.js in the archive - click Yes.
That's it.
Do your search in the contacts sidebar,select appropriate entries (or
CTRL-A for all) right click and add to bcc list.
--
Irwin
EVERYBODY SHOULD TAKE A TOUR OF
http://kb.mozillazine.org/Main_Page
Managing TB Profiles: http://www.mozilla.org/support/thunderbird/profile
Managing FF Profiles: http://www.mozilla.org/support/firefox/profile
>> Numerous threads, both on this newsgroup and the two listed above, ask
>> (and answer) how to get all names as BCC *from Address Book or
>> Contacts Sidebar*. But I need to use the Address Book's "Advanced
>> Search" feature (Edit | Search Addresses). When those search results
>> come up you can't use any of the methods that work in the (main)
>> Address Book or Contacts pane -- you can't drag-and-drop and you can't
>> right-click, and "Write" only gives you the "To" option. (In 0.x you
>> could drag-and-drop.) So, how do you automatically get all search
>> results as BCC? Thanks in advance. (TB 1.5.0.7, Win98SE)
>
> Do your search in the contacts sidebar,select appropriate entries (or
> CTRL-A for all) right click and add to bcc list.
I need to do (slightly) complicated quasi-Boolean searches on various
fields. Contacts sidebar only gives you the option to do a basic
search, and only on "Name or E-mail". Therefore I have to use Address
Book's Edit | Search Addresses -- as close as TB comes to sophisticated
search capabilities -- hence my question.
But Telmo Amaral has sent me what seems to be a workable (although, as
he implies, somewhat complicated) solution to getting BCC to work on the
search results. I look forward to trying it, in the sober light of day.
It works! Thank you, thank you, thank you! (Details at bottom.)
Telmo Amaral wrote:
> Dudley Brooks wrote:
>> .... Numerous threads, both on this newsgroup and the two listed
>> above, ask (and answer) how to get all names as BCC *from Address Book
>> or Contacts Sidebar*. But I need to use the Address Book's "Advanced
>> Search" feature (Edit | Search Addresses). When those search results
>> come up you can't use any of the methods that work in the (main)
>> Address Book or Contacts pane -- you can't drag-and-drop and you
>> can't right-click, and "Write" only gives you the "To" option. ....
>
> If you /really/ want this, do the following.
Yes, I /really/ want to do it. :^) I'll save bandwidth by not going
into the reasons.
A couple of minor details, on the *tiny* chance that anyone else wants
to do this (and is using Win98):
> Close Thunderbird.
>
> Install IZArc. During installation, choose to associate it only with the
> .jar file type.
> http://www.izarc.org/download.html
>
> On Windows Explorer, go to Thunderbird's installation directory.
> http://kb.mozillazine.org/Installation_directory
or right-click on the program icon and look at "Properties".
> There, go to the sub-folder chrome, and open the file messenger.jar with
> IZArc.
>
> On IZArc, go to Options | Configuration | Program Locations, type
> C:\Program Files\Windows NT\Accessories\wordpad.exe into Default Viewer,
> and click OK.
or C:\Program Files\Accessories\wordpad.exe
> Still on IZArc, inside messenger.jar, go to the folder
> content\messenger\addressbook, right-click the file abCommon.js and
> choose 'View with worpad'.
>
> On WordPad, find the function AbNewMessage() and, inside it, modify the
> line
> composeFields.to = GetSelectedAddresses();
> to
> composeFields.bcc = GetSelectedAddresses();
>
> Do File | Save and close WordPad. IZArc asks you if you want to update
> abCommon.js in the archive - click Yes.
>
> That's it.
And it's perfect! And it was fun -- took me back to the days when I
used to have time to go "inside" the computer more often. Thanks again!
I can now click "Write" and have all the names come up as BCC. But I
still can't drag-and-drop. I don't suppose there's any way to achieve
that, is there? If not, I'll just have to be happy with clicking
"Write". ;^)
I'm glad you were brave enough to do it, and thanks for the notes
on Windows 98. One caveat, though: because this meant modifying a
file in the program's directory (as opposed to one in your
profile), when a Thunderbird update occurs, the fix /may/ go away
(if the update affects the messenger.jar file) and then you'd have
to do it again...
Regarding your new question, I'm afraid I wouldn't know how to
implement the drag-and-drop behaviour, sorry. You see, I've
occasionally peeked into the contents of .js files, and that's why
I had the notion that modifying the Write button's behaviour would
only mean changing some property call from 'to' to 'bcc'. To add a
new drag-and-drop behaviour, however, would at the very least
imply writing a new function, maybe more, which is way beyond my
minimal knowledge of Thunderbird's object model...
Telmo Amaral wrote:
> Dudley Brooks wrote:
/snip/
> Install IZArc. During installation, choose to associate it only with the
> .jar file type.
> http://www.izarc.org/download.html
In hindsight I realize that I didn't need to /associate/ .jar files with
IZArc, I could have just opened them from within IZArc anyway, right? I
went to use a program today which I use almost everyday, and discovered
that the icon for the program points to a .jar file. So now, rather
than the program functioning, I wind up opening it in IZArc.
How do I restore .jar files to whatever their original association was?
That is, I know *how* to restore them (Explorer's View | File Options
| File Associations), and I even know (roughly) what to restore them to
-- Java, right? But what are the details? I didn't write down the old
association because I never paid any attention to the association
before, because I never realized that I was opening any .jar files.
You're quite right, no need to associate the program with .jar
files... In my system I did this: on Windows Explorer, go to Tools
| Folder Options | File Types, select the JAR file type, click
Change, and set the association back to 'Java(TM) 2 Platform
Standard Edition binary'.
That only changes how the association is listed, not what it does. More
critically and importantly, you have to tell it which program to use to
open the file. I tried setting that to java.exe, but now when I try to
open the program (a program written in Java, mentioned in the part of my
previous post which is snipped out here), it opens what I suppose is a
Java console window (it almost immediately disappears), rather than
running the program itself.
I tried re-installing the program, but the installer itself is a .jar
program, so, of course, it now doesn't run, it merely opens the same
Java window.
How do I find out what the previous .jar association was, and restore it?
(I learned a lesson which I already knew, but forgot: Don't change an
association unless you absolutely need to, and if you do change it,
write down what the old association was.)
I tried the obvious solution -- I reinstalled Java. It worked. The
installation re-set the association correctly.
I'm glad you solved it. Indeed, tampering with the .jar type
association was unnecessary and (as I too have realised) something
that should be avoided. Sorry for that. I see that, in addition to
(and after) what I suggested, it would have been necessary to go
to IZArc's options and uncheck the association with .jar files.
When Sun's Java Runtime Environment is installed, these files are
associated by default to the javaw.exe launcher (not with java.exe).
I didn't even think of that! <d'oh!>
> When Sun's Java Runtime
> Environment is installed, these files are associated by default to the
> javaw.exe launcher (not with java.exe).
Thanks for that detail. (PS -- after re-installing Java, the program I
mentioned no longer works properly! But that has nothing to do with TB,
so it's OT now.)
Maybe the program requires other libraries that Java (having been
freshly installed) is now unable to locate? It might be advisable
to reinstall the program.
That program has bad design problems of it's own -- including no
uninstaller! But I'm now contacting it's (almost non-existent) support
staff. Thanks.
You previously sent me advice on how to make the "Write" button in
Address Book / Search Addresses put all the selected addresses as BCC.
It worked fine -- until I updated (as you suspected). I now have 1.5.0.8.
I went through the same modifications you had suggested before to
messenger.jar / abcommon.js abNewMessage() / composeFields.to ==>
composeFields.bcc, then saving, updating, etc. Unfortunately, after
repeatedly doing this, repeatedly rebooting, and repeatedly reloading
Thunderbird, the "Write" button *still* puts everything as "To".
Do you have any idea how to make it work in 1.5? I didn't discover this
fact until after sending out a mailing. Now I can't even send out an
apology to everyone without having all their names visible once again --
unless I do them all by hand.
Thanks in advance.
-- Dudley
Well, the post arrived successfully.
Note, there is a group on this server, mozilla.test, where you can test
as much as you like, ad no one will complain. Better to do testing there.
Lee
Thanks. Somehow I missed that group in the Subscribe panel. Thanks.
-- Dudley