Are you asking for a script that copies updated templates off a network onto a hard drive? I have a vbs script to do this but our IT group recreated that functionality with more elegant features using their preferred scripting language.
Before you get to creating the script, you need to set up your templates and make sure you understand exactly what needs to be done. The structure I recommend are:
1. Do not use Normal for your company-wide templates. This should be a file that is able to be customised by each user as they wish. If you keep replacing it with your 'network' version then you are forcing power users to recreate their own customisations or store them in other locations. You can provide a 'preferred' Normal.dotm as a one-off step to set up default doc styles but it shouldn't be continually restored from the network.
2. Put your company-wide macros in an add-in IF they need to be available for EVERY document irrespective of the specific document type. This template should be written to the user's %appdata%\Microsoft\Word\Startup folder
3. Create specialised template(s) with content/styles/macros/building blocks/etc and load these to the User Templates folder. The users should then create New documents and select one of these specialised templates according to what type of document they want. This template will become the 'attached template' for that document and the macros should be the ones that are specific to that document type and styles.
Once these templates are created and tested manually with a few users you can look at scripting the rollout for all users. The basic script carry out these steps:
1. Find out where the user's machine is looking for the User Templates and Startup folders. If these are network locations, I would recommend you change these settings to local hard drive locations.
2. Copy addin(s) to Startup folder
3. Copy template(s) to UserTemplates or WorkgroupTemplates folder.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|