Tf2 how to make an autoexec
When a document is opened, an AutoOpen macro runs if the AutoOpen macro is saved as part of that document or if the macro is saved as part of the template on which the document is based. Select a document from the Most Recently Used (MRU) list on the File menu. AutoOpen runs when you open a document in the following ways: The AutoOpen macro runs after you open a new document. AutoExec macros are also suppressed when Word is started from an Automation client. To use these switches, click Start, click Run, type either winword /m orĪnother method you may use to suppress an AutoExec macro is to press the Shift key while Word starts. One way is to start Word from the command line by using either the /m or the /embedding switch. You can suppress the AutoExec macro in several ways. For example, you can use an AutoExec macro to change the default directory when Word starts. By using an AutoExec macro, you can make adjustments when Word starts but before a document is created or loaded. More Information AutoExecĪn AutoExec macro runs when Word starts if the AutoExec macro is saved as part of the default (Normal.dot) template, or if it is saved as part of a global add-in. This article discusses how these macros work and how they behave in various situations. You can use the AutoExec and AutoOpen macros in Word to establish default paths, styles, links, environment conditions, and so on at the time Word opens a new document or opens an existing document. Description of behaviors of AutoExec and AutoOpen macros in Word Summary