PeterT Posted March 20, 2006 Share Posted March 20, 2006 I don't know about startup, but you can attach a script to any menu command such as the "NEW,,," command. Just create a script with the name of your choice such as "NEW PLUS SCRIPT...". In this script, just add a DOMENUTEXTBYNAME('NEW',0); in front of the script that you want to run. In the workspace editor, add this "NEW PLUS SCRIPT..." to your file menu as a menu command, just below the "NEW..." command. When you choose this new menu item, it will invoke the "NEW" command and then run your script. If you want to always run this script, just delete the standard "NEW..." command and reassign the keyboard shortcut to your revised command. I have used this same method to add a date script to my print command. now whenever I print a sheet, it adds a plot date to my sheet. Quote Link to comment
Jack A Posted March 21, 2006 Author Share Posted March 21, 2006 Does anyone know if it is possible to automatically run a script when starting VW12 and/or when creating a new document? And if so ... how? thanks, Jack Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.