oshkoshbagoshh

StarlineMacroXML

Aug 8th, 2017
497
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.13 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-16"?>
  2. <Macro name="Insert Starline1 Line" category="Horizontal Line" description="Inserts a starline horizontal line" version="18">
  3.   <Comment text="----------------------------------------------------------------------------------" />
  4.   <Comment text="    Insert Double Horizontal Line" />
  5.   <Comment text="----------------------------------------------------------------------------------" />
  6.   <ForEach var="Text">
  7.     <Array>QueryObjects("Text", GetCurrentPage())</Array>
  8.     <If>
  9.       <Condition>$Text.selected</Condition>
  10.       <Expression>$Text.value = "********************************************************"</Expression>
  11.       <Expression>$Text.fontName = "Courier New"</Expression>
  12.       <Expression>$Text.fontSize = 10</Expression>
  13.     </If>
  14.   </ForEach>
  15.   <ForEach var="Outline">
  16.     <Array>QueryObjects("Outline", GetCurrentPage())</Array>
  17.     <If>
  18.       <Condition>($Outline.selection != "none") &amp;&amp; ($Outline.width &lt; 540)</Condition>
  19.       <Expression>$Outline.width = 540</Expression>
  20.       <Expression>$Outline.sizeSetByUser = true</Expression>
  21.     </If>
  22.   </ForEach>
  23. </Macro>
Advertisement
Add Comment
Please, Sign In to add comment