Home › Forums › General XMetaL Discussion › Get nodelist from Selection/Range? › Reply To: Get nodelist from Selection/Range?
Reply to: Get nodelist from Selection/Range?
September 12, 2012 at 11:17 pmIf you have XMetaL Developer installed then you can use Visual Studio's “edit and continue” feature though in some cases that is impossible (depends on the changes you have made to your script). Microsoft doesn't seem to document this feature for scripting languages that use WSH but this comes close: http://msdn.microsoft.com/en-us/library/ba77s56w%28v=vs.80%29.aspx
If you don't have XMetaL Developer then calling the API Application.RefreshMacros() will do what you want, depending on which events the macros are in. Some events will still require a restart because they just won't fire any longer (mostly events that fire at application start up obviously). By default there is a macro included that calls that API (it is in xmetal.mcr) and pressing Ctrl+Alt+R will run it.