AutoitMike Posted August 19, 2019 Share Posted August 19, 2019 (edited) I have a very extensive automation project that I have been using for nearly 10 years. I decided that I need a backup laptop in case my laptop dies. I am attempting to get everything installed on my backup laptop porting all my program files from old to the backup laptop. In doing so, I find that I have installed Scite version 4.1.2 on the backup laptop. I am currently running version 3.2.0 on my current laptop. Two things: 1. _WordAttach() is now renamed _Word_DocAttach() Why would anybody rename an existing function??? 2. _WordMacroRun() is missing!!! Autoit complains that it is not a known function. I really need this!! Can I just install Scite version 3.2.0??? or is my Autoit version wrong? Working Autoit is 3.3.8.1, new autoit is 3.3.14.5 Thanks Edited August 19, 2019 by AutoitMike Link to comment Share on other sites More sharing options...
AdamUL Posted August 20, 2019 Share Posted August 20, 2019 (edited) The answers to your questions about the Word UDF are answered here. https://www.autoitscript.com/wiki/Word_UDF https://www.autoitscript.com/autoit3/docs/script_breaking_changes_word_udf.htm Adam Edited August 20, 2019 by AdamUL Link to comment Share on other sites More sharing options...
Developers Jos Posted August 20, 2019 Developers Share Posted August 20, 2019 mmm I see somebody is cross posting questions.... please don't! Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
AutoitMike Posted August 20, 2019 Author Share Posted August 20, 2019 I see that a new way of running a macro exists, however, now, I cant pass variables to the macro. Or, am I wrong? Thanks for the help Link to comment Share on other sites More sharing options...
water Posted August 20, 2019 Share Posted August 20, 2019 _WordMacroRun was just a wrapper around a MS Word COM method. Use $oWord.Run("macro_name", $parameter1, $parameter2, ..., $parameter30) as described here: https://docs.microsoft.com/de-DE/office/vba/api/word.application.run My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki 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