MS Office Word COM Interface Constants

Put simple Tips and Tricks that are not entire Tutorials in this forum
User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

MS Office Word COM Interface Constants

Post by jeeswg » 01 Jul 2017, 10:38

[3114 constants (via OfficeInfo.ahk)]
[ms office constants (word).ahk]
jeeswg/AutoHotkey-scripts: AutoHotkey scripts
https://github.com/jeeswg/AutoHotkey-scripts

see also:
MS Office Excel COM Interface Constants - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=7&t=33914

==================================================

[A script to look for variables that start with 'xl' or 'wd', and retrieve their contents, to check if they are defined or blank.]
[Also: Using OfficeInfo.ahk by kon, and ImportTypeLib.ahk by maul.esel, you can create an object with lots of MS Office constants and their values (in my case 10343 constants), which you can use to get the value for a particular MS Office constant. (Tested with MS Office 2007.)]
MS Office Excel COM Interface Constants - AutoHotkey Community
https://autohotkey.com/boards/viewtopic ... 06#p157106
Last edited by jeeswg on 01 Jul 2017, 19:45, edited 3 times in total.
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA

User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

Re: MS Office Word COM Interface Constants

Post by jeeswg » 01 Jul 2017, 10:39

3114 constants (via OfficeInfo.ahk)]
[ms office constants (word).ahk]
jeeswg/AutoHotkey-scripts: AutoHotkey scripts
https://github.com/jeeswg/AutoHotkey-scripts

[2756 constants, TLM's list (2756 constants)]
MS Office COM Interface Constants - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=22&t=1672

Code: Select all

;differences:

;OfficeInfo object list (3114 constants) (contains all except 5 of the 2756 constants in TLM's list)
;TLM's list (2756 constants)

;5 constants from TLM's list, not present in the OfficeInfo list
wdDzongkhaBhutan := 2129
wdFarsi := 1065
wdFrenchZaire := 9228
wdMacedonian := 1071
wdBrazilianPortuguese := 1046
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA

Post Reply

Return to “Tips and Tricks (v1)”