#34691 - 2002-12-31 08:07 PM
outlook key for "plain text"
|
bruceo
Fresh Scripter
Registered: 2001-11-29
Posts: 5
Loc: Minneapolis, MN
|
Hi, I'm trying to get rid of html email in my organization. Does anybody know where the registry key is stored for Outlook 2000 html & plain text email format? I'd like to add a default value to my script. Thanks, Bruce
|
Top
|
|
|
|
#34692 - 2002-12-31 08:59 PM
Re: outlook key for "plain text"
|
Diane
Fresh Scripter
Registered: 2002-12-31
Posts: 22
|
If you go to (for Office XP = 10.0, Office 2000 = 9.00 i think)
HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\Options\Mail
the key "EditorPreference" I believe is for each editor. As far as I know the values are as follows (in Hex).
10001 = Plain Text 30001 = Rich Text 20001 = HTML
Therefore just change this key from any 20001's to 10001. This won't require local admin rights.
Oh, and please test on yours, worked ok on my quick test.
_________________________
----------------------------
Diane
Confucious say: Woman who keep washing liquid on top shelf, jump for joy
|
Top
|
|
|
|
#34693 - 2003-01-01 12:42 AM
Re: outlook key for "plain text"
|
Kdyer
KiX Supporter
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Diane,
Thanks for that update.
I have updated -
Exchange/Outlook Configuration
I also added in - code:
; -- Set the default mail preference as Rich Text format 196609 is Word, 196610 Rich Text Format IF "196610" <> READVALUE("HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Outlook\Options\Mail","EditorPreference") $rc = WRITEVALUE("HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Outlook\Options\Mail","EditorPreference","196610","REG_DWORD") ENDIF
Thanks!
Kent [ 02. January 2003, 19:10: Message edited by: kdyer ]
|
Top
|
|
|
|
#34694 - 2003-01-02 02:35 PM
Re: outlook key for "plain text"
|
Addict
Getting the hang of it
Registered: 2002-08-22
Posts: 62
Loc: Ohio, US
|
Thank you Diane!
I was just wondering about this myself.
Kent,
Does KiX not read it as a hex value? Just curious why you used the decimal version. [ 02. January 2003, 14:38: Message edited by: Addict ]
|
Top
|
|
|
|
#34695 - 2003-01-02 07:13 PM
Re: outlook key for "plain text"
|
Kdyer
KiX Supporter
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Addict,
The reason for using the Decimal Version is that when I debug the script, we see - 196609 when I run the following test code. Yes, REGEDIT shows it as 30001.. Have not tried to set the HEX value as I know the Decimal works.
code:
break on cls $test = READVALUE("HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\Options\Mail","EditorPreference") $test
get $k
HTH,
Kent
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 768 anonymous users online.
|
|
|