IceQ Posted August 7, 2009 Share Posted August 7, 2009 Hi I am a bit stuck, hoping someone can help. I am trying to set the registry value for the default signature for Outlook 2007. I have read the forums and the help file and they all say I should be adding it like this: RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676\00000002", "New Signature", "REG_BINARY", "530065007000680061006b007500430065006d0065006e0074000000") However when I do it like that then this is the resulting registry entry: "New Signature"=hex:35,33,30,30,36,35,30,30,37,30,30,30,36,38,30,30,36,31,30,\ 30,36,62,30,30,37,35,30,30,34,33,30,30,36,35,30,30,36,64,30,30,36,35,30,30,\ 36,65,30,30,37,34,30,30,30,30,30,30 Not this: "New Signature"=hex:53,00,65,00,70,00,68,00,61,00,6b,00,75,00,43,00,65,00,6d,\ 00,65,00,6e,00,74,00,00,00 which is the one I want. I have the code to do it while Outlook is running, however this is a logon script so Outlook will not be open when it is run. TIA Link to comment Share on other sites More sharing options...
picaxe Posted August 7, 2009 Share Posted August 7, 2009 RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676\00000002", "New Signature", "REG_BINARY", Binary("0x530065007000680061006b007500430065006d0065006e0074000000")) Link to comment Share on other sites More sharing options...
IceQ Posted August 13, 2009 Author Share Posted August 13, 2009 Thank you picaxe. Works now. >_ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now