Macro Toolworks Products Discussion Forums :: Macros & Solutions
Welcome Guest   
 Subject :Load Shared Macros File from Macro.. 02-06-2010 13:05:32 
petr
Joined: 15-10-2009 11:48:52
Posts: 196
Location
This example loads a shared macros file if it exists (it works in version 7.4.6 and newer):

<cmds>

<#> Shared macros file path assigned to vShared variable
<varset>("vShared=c:\temp\SharedMacros.4tw","")

<if_file>("%vShared%","EXIST","")

<#> If the shared macros file exists then open it:
<varset>("_vOpt_SharedMacros_File=%vShared%","")
<varset>("_vOpt_SharedMacros_Enable=YES","")

<endif>
IP Logged
Last Edited On: 02-06-2010 13:06:22 By petr for the Reason
Page # 


Powered by ccBoard


Login and share your experience - send messages to forums and add comments to samples, commands and other resources.



Account is free of charge, easy to setup.