home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / hypercar / xcmd / pathchan.cpt / PathChange / cards.xml < prev    next >
Text File  |  1992-07-20  |  12KB  |  374 lines

  1. card_3631.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>3631</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_4205.pbm</bitmap>
  8.     <cantDelete> <false /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>2564</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_3207.css" />
  13.     <part>
  14.         <id>1</id>
  15.         <type>button</type>
  16.         <visible> <true /> </visible>
  17.         <reserved5> 0 </reserved5>
  18.         <reserved4> 0 </reserved4>
  19.         <reserved3> 0 </reserved3>
  20.         <reserved2> 0 </reserved2>
  21.         <reserved1> 0 </reserved1>
  22.         <enabled> <true /> </enabled>
  23.         <rect>
  24.             <left>405</left>
  25.             <top>313</top>
  26.             <right>505</right>
  27.             <bottom>335</bottom>
  28.         </rect>
  29.         <style>shadow</style>
  30.         <showName> <true /> </showName>
  31.         <highlight> <false /> </highlight>
  32.         <autoHighlight> <true /> </autoHighlight>
  33.         <sharedHighlight> <true /> </sharedHighlight>
  34.         <family>0</family>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>center</textAlign>
  38.         <font>Chicago</font>
  39.         <textSize>12</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <name>Return</name>
  42.         <script>on mouseUpgo to card 1end mouseUp</script>
  43.     </part>
  44.     <name>explain</name>
  45.     <script>on openCardhide menuBarend openCard</script>
  46. </card>
  47.  
  48.  
  49. card_4484.xml
  50. <?xml version="1.0" encoding="utf-8" ?>
  51. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  52. <card>
  53.     <id>4484</id>
  54.     <filler1>0</filler1>
  55.     <bitmap>BMAP_4794.pbm</bitmap>
  56.     <cantDelete> <false /> </cantDelete>
  57.     <showPict> <true /> </showPict>
  58.     <dontSearch> <false /> </dontSearch>
  59.     <owner>2564</owner>
  60.     <link rel="stylesheet" type="text/css" href="stylesheet_3207.css" />
  61.     <part>
  62.         <id>1</id>
  63.         <type>button</type>
  64.         <visible> <true /> </visible>
  65.         <reserved5> 0 </reserved5>
  66.         <reserved4> 0 </reserved4>
  67.         <reserved3> 0 </reserved3>
  68.         <reserved2> 0 </reserved2>
  69.         <reserved1> 0 </reserved1>
  70.         <enabled> <true /> </enabled>
  71.         <rect>
  72.             <left>389</left>
  73.             <top>286</top>
  74.             <right>489</right>
  75.             <bottom>308</bottom>
  76.         </rect>
  77.         <style>shadow</style>
  78.         <showName> <true /> </showName>
  79.         <highlight> <false /> </highlight>
  80.         <autoHighlight> <false /> </autoHighlight>
  81.         <sharedHighlight> <true /> </sharedHighlight>
  82.         <family>0</family>
  83.         <titleWidth>0</titleWidth>
  84.         <icon>0</icon>
  85.         <textAlign>center</textAlign>
  86.         <font>Chicago</font>
  87.         <textSize>12</textSize>
  88.         <textStyle>plain</textStyle>
  89.         <name>Return</name>
  90.         <script>on mouseUpgo to card 1end mouseUp</script>
  91.     </part>
  92.     <name>ack</name>
  93.     <script></script>
  94. </card>
  95.  
  96.  
  97. card_2994.xml
  98. <?xml version="1.0" encoding="utf-8" ?>
  99. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  100. <card>
  101.     <id>2994</id>
  102.     <filler1>0</filler1>
  103.     <bitmap>BMAP_3949.pbm</bitmap>
  104.     <cantDelete> <false /> </cantDelete>
  105.     <showPict> <true /> </showPict>
  106.     <dontSearch> <false /> </dontSearch>
  107.     <owner>2564</owner>
  108.     <link rel="stylesheet" type="text/css" href="stylesheet_3207.css" />
  109.     <part>
  110.         <id>1</id>
  111.         <type>button</type>
  112.         <visible> <true /> </visible>
  113.         <reserved5> 0 </reserved5>
  114.         <reserved4> 0 </reserved4>
  115.         <reserved3> 0 </reserved3>
  116.         <reserved2> 0 </reserved2>
  117.         <reserved1> 0 </reserved1>
  118.         <enabled> <true /> </enabled>
  119.         <rect>
  120.             <left>189</left>
  121.             <top>145</top>
  122.             <right>332</right>
  123.             <bottom>172</bottom>
  124.         </rect>
  125.         <style>shadow</style>
  126.         <showName> <true /> </showName>
  127.         <highlight> <false /> </highlight>
  128.         <autoHighlight> <false /> </autoHighlight>
  129.         <sharedHighlight> <true /> </sharedHighlight>
  130.         <family>0</family>
  131.         <titleWidth>0</titleWidth>
  132.         <icon>0</icon>
  133.         <textAlign>center</textAlign>
  134.         <font>Chicago</font>
  135.         <textSize>12</textSize>
  136.         <textStyle>plain</textStyle>
  137.         <name>What does it do?</name>
  138.         <script>on mouseUpgo to card explainend mouseUp</script>
  139.     </part>
  140.     <part>
  141.         <id>2</id>
  142.         <type>button</type>
  143.         <visible> <true /> </visible>
  144.         <reserved5> 0 </reserved5>
  145.         <reserved4> 0 </reserved4>
  146.         <reserved3> 0 </reserved3>
  147.         <reserved2> 0 </reserved2>
  148.         <reserved1> 0 </reserved1>
  149.         <enabled> <true /> </enabled>
  150.         <rect>
  151.             <left>24</left>
  152.             <top>185</top>
  153.             <right>168</right>
  154.             <bottom>209</bottom>
  155.         </rect>
  156.         <style>shadow</style>
  157.         <showName> <true /> </showName>
  158.         <highlight> <false /> </highlight>
  159.         <autoHighlight> <false /> </autoHighlight>
  160.         <sharedHighlight> <true /> </sharedHighlight>
  161.         <family>0</family>
  162.         <titleWidth>0</titleWidth>
  163.         <icon>0</icon>
  164.         <textAlign>center</textAlign>
  165.         <font>Chicago</font>
  166.         <textSize>12</textSize>
  167.         <textStyle>plain</textStyle>
  168.         <name>Show Home Script</name>
  169.         <script>on mouseUpshow card fld HomeScriptset the scroll of card fld homeScript to 1end mouseUp</script>
  170.     </part>
  171.     <part>
  172.         <id>4</id>
  173.         <type>button</type>
  174.         <visible> <true /> </visible>
  175.         <reserved5> 0 </reserved5>
  176.         <reserved4> 0 </reserved4>
  177.         <reserved3> 0 </reserved3>
  178.         <reserved2> 0 </reserved2>
  179.         <reserved1> 0 </reserved1>
  180.         <enabled> <true /> </enabled>
  181.         <rect>
  182.             <left>338</left>
  183.             <top>185</top>
  184.             <right>493</right>
  185.             <bottom>208</bottom>
  186.         </rect>
  187.         <style>shadow</style>
  188.         <showName> <true /> </showName>
  189.         <highlight> <false /> </highlight>
  190.         <autoHighlight> <true /> </autoHighlight>
  191.         <sharedHighlight> <true /> </sharedHighlight>
  192.         <family>0</family>
  193.         <titleWidth>0</titleWidth>
  194.         <icon>0</icon>
  195.         <textAlign>center</textAlign>
  196.         <font>Chicago</font>
  197.         <textSize>12</textSize>
  198.         <textStyle>plain</textStyle>
  199.         <name>PathChange Syntax</name>
  200.         <script>on mouseUpshow card fld "Syntax"set the scroll of card fld syntax to 1end mouseUp</script>
  201.     </part>
  202.     <part>
  203.         <id>3</id>
  204.         <type>field</type>
  205.         <visible> <false /> </visible>
  206.         <dontWrap> <false /> </dontWrap>
  207.         <dontSearch> <false /> </dontSearch>
  208.         <sharedText> <false /> </sharedText>
  209.         <fixedLineHeight> <false /> </fixedLineHeight>
  210.         <autoTab> <false /> </autoTab>
  211.         <lockText> <true /> </lockText>
  212.         <rect>
  213.             <left>0</left>
  214.             <top>0</top>
  215.             <right>512</right>
  216.             <bottom>342</bottom>
  217.         </rect>
  218.         <style>scrolling</style>
  219.         <autoSelect> <false /> </autoSelect>
  220.         <showLines> <false /> </showLines>
  221.         <wideMargins> <false /> </wideMargins>
  222.         <multipleLines> <false /> </multipleLines>
  223.         <reservedFamily> 0 </reservedFamily>
  224.         <titleWidth>0</titleWidth>
  225.         <icon>0</icon>
  226.         <textAlign>left</textAlign>
  227.         <font>Geneva</font>
  228.         <textSize>12</textSize>
  229.         <textStyle>plain</textStyle>
  230.         <textHeight>16</textHeight>
  231.         <name>homeScript</name>
  232.         <script>on mouseUphide meend mouseUP</script>
  233.     </part>
  234.     <part>
  235.         <id>7</id>
  236.         <type>button</type>
  237.         <visible> <true /> </visible>
  238.         <reserved5> 0 </reserved5>
  239.         <reserved4> 0 </reserved4>
  240.         <reserved3> 0 </reserved3>
  241.         <reserved2> 0 </reserved2>
  242.         <reserved1> 0 </reserved1>
  243.         <enabled> <true /> </enabled>
  244.         <rect>
  245.             <left>189</left>
  246.             <top>312</top>
  247.             <right>341</right>
  248.             <bottom>340</bottom>
  249.         </rect>
  250.         <style>shadow</style>
  251.         <showName> <true /> </showName>
  252.         <highlight> <false /> </highlight>
  253.         <autoHighlight> <true /> </autoHighlight>
  254.         <sharedHighlight> <true /> </sharedHighlight>
  255.         <family>0</family>
  256.         <titleWidth>0</titleWidth>
  257.         <icon>0</icon>
  258.         <textAlign>center</textAlign>
  259.         <font>Chicago</font>
  260.         <textSize>12</textSize>
  261.         <textStyle>plain</textStyle>
  262.         <name>Acknowledgements</name>
  263.         <script>on mouseUpgo to card ackend mouseUp</script>
  264.     </part>
  265.     <part>
  266.         <id>5</id>
  267.         <type>field</type>
  268.         <visible> <false /> </visible>
  269.         <dontWrap> <false /> </dontWrap>
  270.         <dontSearch> <false /> </dontSearch>
  271.         <sharedText> <false /> </sharedText>
  272.         <fixedLineHeight> <false /> </fixedLineHeight>
  273.         <autoTab> <false /> </autoTab>
  274.         <lockText> <true /> </lockText>
  275.         <rect>
  276.             <left>74</left>
  277.             <top>212</top>
  278.             <right>461</right>
  279.             <bottom>338</bottom>
  280.         </rect>
  281.         <style>scrolling</style>
  282.         <autoSelect> <false /> </autoSelect>
  283.         <showLines> <false /> </showLines>
  284.         <wideMargins> <false /> </wideMargins>
  285.         <multipleLines> <false /> </multipleLines>
  286.         <reservedFamily> 0 </reservedFamily>
  287.         <titleWidth>0</titleWidth>
  288.         <icon>0</icon>
  289.         <textAlign>left</textAlign>
  290.         <font>Geneva</font>
  291.         <textSize>12</textSize>
  292.         <textStyle>plain</textStyle>
  293.         <textHeight>16</textHeight>
  294.         <name>Syntax</name>
  295.         <script>on mouseUphide meend mouseUp</script>
  296.     </part>
  297.     <part>
  298.         <id>8</id>
  299.         <type>button</type>
  300.         <visible> <true /> </visible>
  301.         <reserved5> 0 </reserved5>
  302.         <reserved4> 0 </reserved4>
  303.         <reserved3> 0 </reserved3>
  304.         <reserved2> 0 </reserved2>
  305.         <reserved1> 0 </reserved1>
  306.         <enabled> <true /> </enabled>
  307.         <rect>
  308.             <left>201</left>
  309.             <top>220</top>
  310.             <right>315</right>
  311.             <bottom>245</bottom>
  312.         </rect>
  313.         <style>shadow</style>
  314.         <showName> <true /> </showName>
  315.         <highlight> <false /> </highlight>
  316.         <autoHighlight> <false /> </autoHighlight>
  317.         <sharedHighlight> <true /> </sharedHighlight>
  318.         <family>0</family>
  319.         <titleWidth>0</titleWidth>
  320.         <icon>0</icon>
  321.         <textAlign>center</textAlign>
  322.         <font>Chicago</font>
  323.         <textSize>12</textSize>
  324.         <textStyle>plain</textStyle>
  325.         <name>ResCopy</name>
  326.         <script>on mouseUprescopyend mouseUp</script>
  327.     </part>
  328.     <part>
  329.         <id>9</id>
  330.         <type>button</type>
  331.         <visible> <true /> </visible>
  332.         <reserved5> 0 </reserved5>
  333.         <reserved4> 0 </reserved4>
  334.         <reserved3> 0 </reserved3>
  335.         <reserved2> 0 </reserved2>
  336.         <reserved1> 0 </reserved1>
  337.         <enabled> <true /> </enabled>
  338.         <rect>
  339.             <left>429</left>
  340.             <top>288</top>
  341.             <right>512</right>
  342.             <bottom>342</bottom>
  343.         </rect>
  344.         <style>transparent</style>
  345.         <showName> <false /> </showName>
  346.         <highlight> <false /> </highlight>
  347.         <autoHighlight> <false /> </autoHighlight>
  348.         <sharedHighlight> <true /> </sharedHighlight>
  349.         <family>0</family>
  350.         <titleWidth>0</titleWidth>
  351.         <icon>1011</icon>
  352.         <textAlign>center</textAlign>
  353.         <font>Chicago</font>
  354.         <textSize>12</textSize>
  355.         <textStyle>plain</textStyle>
  356.         <name>New Button</name>
  357.         <script>on mouseUpgo homeend mouseUp</script>
  358.     </part>
  359.     <content>
  360.         <layer>card</layer>
  361.         <id>3</id>
  362.         <text>-- Script of Home Stackon openStack   setVolume end openStackon setVolume  put the short name of this stack into temp  set lockscreen to true  if temp = "Home" then    put card fld "savedvol" of card "Home" into savol -- hidden field    put the long name of this stack into pathname -- check current volume    delete first word of pathname -- delete the word stack    delete first character of pathname -- delete the first quote    put 1 into i    repeat until character i of pathname = ":" -- find first colon      add 1 to i    end repeat    put character 1 to i of pathname into pathname -- get volume name    delete last character of pathname  -- delete last colon    if savol Γëá pathname then  -- compare the old and possible new names      put "Setting volume name......" into msg      set the loc of the msg to 10,300      go to card "Stacks" -- go to first card where paths are      repeat 3 times        put bg fld 1 into temp        PathChange temp,savol,pathname -- xcmd        put the result into bg fld 1  -- returns the new string, put back in fld        domenu "Next" -- go to next card      end repeat    end if    put pathname into card fld savedvol of card "Home" -- put new into field     hide cd fld savedvol of card "Home"    go card "Home"    set lockscreen to false  end if  end setvolume</text>
  363.     </content>
  364.     <content>
  365.         <layer>card</layer>
  366.         <id>5</id>
  367.         <text>PathChange "string","OldVolumeName","NewVolumeName"returns the replacement string in "the result".string = The field of path names to changeOldVolumeName = obviously the old volume nameNewVolumeName = obviously the new volume name</text>
  368.     </content>
  369.     <name></name>
  370.     <script></script>
  371. </card>
  372.  
  373.  
  374.