timspratt
asked on
Change WordPad PageMargin registry value
I need to understand how to know what the registry stores the page margin info for wordpad as. I know the location is:
HKEY_CURRENT_USER\Software \Microsoft \Windows\C urrentVers ion\Applet s\Wordpad\ Options\Pa geMargin
I am writing a application to change the pagemargin values (using Autoit3)
HKEY_CURRENT_USER\Software
I am writing a application to change the pagemargin values (using Autoit3)
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
angelIII, I recommend that all of the above comments be accepted. My solution is easy enough, as long as the page margin is to be the same, otherwise harfang and aikimark have provided good guidance on how to modify the registry value accordingly.
Rob.
Rob.
I don't think my comment qualifies. It serves as clarification for current and future readers.
To expound on the Harfang comment...
These are long integer values store in the same byte sequence as found in a (VB) long integer variable stored in memory. Since Windows/Intel is a 'little endian' environment, it means the least significant byte is the left-most byte.
'twip' stands for TWentieth of a Point or TWentieth of an Imperial Point. It is a typographical measurement related to font sizes. I try to use 12 point fonts for better legibility of my documents. Since there are 72 such points to an inch, the 20 multiplier gives the 1440 twips/inch calculation.