New versions of Microsoft Office have been released since the last changes were made to the Word UDF. New file types and new functions need to be supported.
This updated version supports Word 2003 up to Word 2010. The latest version of AutoIt is needed to use the latest COM error handler.
Some rarely used functionality has been removed, new functions have and will be added.
The attached PDF shows what's different between Word.au3 and WordEX.au3
You'll find examples for every function ready to run. Please tell me what you think, about missing functions etc.
2012-07-31 - Version 1.0 - Downloads: 89 2012-08-23 - Version 1.1 - Downloads: 26
2012-08-26 - Version 1.2 - Downloads: 277
2012-12-29 - Version 1.3 - Downloads: 937
2013-07-28 - This download page is no longer needed - the rewritten Word UDF is now part of the latest beta version!
MsgBox is known as a 'blocking function' so the script will pause until the MsgBox is closed by the user. Why not search the help file for GUI management or look at Melba23's signature for an extended MsgBox UDF. Good luck.
This finished for me in just over 3 seconds. I would concur with Venix, if you have a specific problem you're trying to overcome, explain what you are trying to do. There may be other ways to give you the result you're looking for.
You want to set the values of inputs to match those of ini file. Something like this could work:
GuiCtrlSetData($Input1, FileReadLine("myinifile.ini", 1)
GuiCtrlSetData($Input2, FileReadLine("myinifile.ini", 2)
GuiCtrlSetData($Input3, FileReadLine("myinifile.ini", 3)
Enjoy!!!
Anyway, to get hex representation of number you use Hex():
Hex(41094.914605567130) ; the result is 40E410DD4472E4F2
To get number out of hex string you Dec() it:
Dec("40E410DD4472E4F2", 3) ; flag 3 means to get number of double type.