home *** CD-ROM | disk | FTP | other *** search
/ Program Metropolis - Software Boutique 95 / SOFTWARECD.iso / camipro3 / macros.cmz / SMARTFLD.SMM < prev    next >
Encoding:
INI File  |  1994-08-14  |  57.9 KB  |  3,404 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     
  5. [files]
  6. [charset]
  7.     82
  8.     CHINESEBIG5 (Windows)
  9. [revisions]
  10.     0
  11. [prn]
  12.     QMS-PS 810
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [desc]
  18.     ½╪Ñ▀ª█░╩ñ╞╝╦ªí¬φ¬║ñu¿π
  19.     
  20.     
  21.     
  22.     
  23.     773107894
  24.     20
  25.     708316628
  26.     944
  27.     12
  28.     2254
  29.     17893
  30.     53
  31.     53
  32.     
  33.     
  34.     
  35.     
  36.     
  37.     
  38.     1
  39. [fopts]
  40.     0
  41.     1
  42.     0
  43.     0
  44. [lnopts]
  45.     2
  46.     Body Text
  47.     1
  48. [docopts]
  49.     5
  50.     2
  51. [GramStyle]
  52.     
  53. [ParaNum]
  54.     1
  55. [tag]
  56.     Body Text
  57.     2
  58.     [fnt]
  59.         Arial
  60.         200
  61.         0
  62.         16386
  63.     [algn]
  64.         1
  65.         1
  66.         216
  67.         0
  68.         0
  69.     [spc]
  70.         33
  71.         273
  72.         1
  73.         0
  74.         0
  75.         1
  76.         100
  77.     [brk]
  78.         4
  79.     [line]
  80.         8
  81.         0
  82.         1
  83.         0
  84.         1
  85.         1
  86.         1
  87.         10
  88.         10
  89.         1
  90.     [spec]
  91.         0
  92.         0
  93.         
  94.         0
  95.         1
  96.         1
  97.         0
  98.         0
  99.         0
  100.         0
  101.     [nfmt]
  102.         272
  103.         1
  104.         3
  105.         .
  106.         ,
  107.         $
  108.     Body Text
  109.     0
  110.     0
  111. [tag]
  112.     Body Single
  113.     3
  114.     [fnt]
  115.         Times New Roman
  116.         240
  117.         0
  118.         49152
  119.     [algn]
  120.         1
  121.         1
  122.         0
  123.         0
  124.         0
  125.     [spc]
  126.         33
  127.         273
  128.         1
  129.         0
  130.         0
  131.         1
  132.         100
  133.     [brk]
  134.         4
  135.     [line]
  136.         8
  137.         0
  138.         1
  139.         0
  140.         1
  141.         1
  142.         1
  143.         10
  144.         10
  145.         1
  146.     [spec]
  147.         0
  148.         0
  149.         
  150.         0
  151.         1
  152.         1
  153.         0
  154.         0
  155.         0
  156.         0
  157.     [nfmt]
  158.         280
  159.         1
  160.         2
  161.         .
  162.         ,
  163.         $
  164.     Body Single
  165.     0
  166.     0
  167. [tag]
  168.     Function
  169.     4
  170.     [fnt]
  171.         Arial
  172.         240
  173.         0
  174.         16385
  175.     [algn]
  176.         1
  177.         1
  178.         0
  179.         0
  180.         0
  181.     [spc]
  182.         33
  183.         244
  184.         1
  185.         0
  186.         0
  187.         1
  188.         100
  189.     [brk]
  190.         68
  191.     [line]
  192.         8
  193.         0
  194.         1
  195.         0
  196.         1
  197.         1
  198.         1
  199.         10
  200.         10
  201.         1
  202.     [spec]
  203.         0
  204.         1
  205.         
  206.         0
  207.         1
  208.         1
  209.         0
  210.         0
  211.         0
  212.         0
  213.     [nfmt]
  214.         272
  215.         1
  216.         3
  217.         .
  218.         ,
  219.         $
  220.     Outline2
  221.     0
  222.     0
  223. [tag]
  224.     Outline2
  225.     5
  226.     [fnt]
  227.         Arial
  228.         200
  229.         0
  230.         16384
  231.     [algn]
  232.         1
  233.         1
  234.         216
  235.         0
  236.         0
  237.     [spc]
  238.         33
  239.         273
  240.         1
  241.         0
  242.         0
  243.         1
  244.         100
  245.     [brk]
  246.         4
  247.     [line]
  248.         8
  249.         0
  250.         1
  251.         0
  252.         1
  253.         1
  254.         1
  255.         10
  256.         10
  257.         1
  258.     [spec]
  259.         0
  260.         2
  261.         
  262.         0
  263.         1
  264.         1
  265.         0
  266.         0
  267.         0
  268.         0
  269.     [nfmt]
  270.         272
  271.         1
  272.         3
  273.         .
  274.         ,
  275.         $
  276.     Outline2
  277.     0
  278.     0
  279. [tag]
  280.     Outline3
  281.     6
  282.     [fnt]
  283.         Arial
  284.         200
  285.         0
  286.         16384
  287.     [algn]
  288.         1
  289.         1
  290.         0
  291.         0
  292.         720
  293.     [spc]
  294.         33
  295.         273
  296.         1
  297.         0
  298.         0
  299.         1
  300.         100
  301.     [brk]
  302.         4
  303.     [line]
  304.         8
  305.         0
  306.         1
  307.         0
  308.         1
  309.         1
  310.         1
  311.         10
  312.         10
  313.         1
  314.     [spec]
  315.         0
  316.         3
  317.         
  318.         0
  319.         1
  320.         1
  321.         0
  322.         0
  323.         0
  324.         0
  325.     [nfmt]
  326.         272
  327.         1
  328.         3
  329.         .
  330.         ,
  331.         $
  332.     Outline3
  333.     0
  334.     0
  335. [tag]
  336.     Outline4
  337.     7
  338.     [fnt]
  339.         Arial
  340.         200
  341.         0
  342.         16384
  343.     [algn]
  344.         1
  345.         1
  346.         216
  347.         0
  348.         0
  349.     [spc]
  350.         33
  351.         273
  352.         1
  353.         0
  354.         0
  355.         1
  356.         100
  357.     [brk]
  358.         4
  359.     [line]
  360.         8
  361.         0
  362.         1
  363.         0
  364.         1
  365.         1
  366.         1
  367.         10
  368.         10
  369.         1
  370.     [spec]
  371.         0
  372.         4
  373.         
  374.         0
  375.         1
  376.         1
  377.         0
  378.         0
  379.         0
  380.         0
  381.     [nfmt]
  382.         272
  383.         1
  384.         3
  385.         .
  386.         ,
  387.         $
  388.     Outline4
  389.     0
  390.     0
  391. [tag]
  392.     Bullet
  393.     8
  394.     [fnt]
  395.         Times New Roman
  396.         240
  397.         0
  398.         49152
  399.     [algn]
  400.         1
  401.         1
  402.         0
  403.         288
  404.         288
  405.     [spc]
  406.         33
  407.         273
  408.         1
  409.         0
  410.         0
  411.         1
  412.         100
  413.     [brk]
  414.         4
  415.     [line]
  416.         8
  417.         0
  418.         1
  419.         0
  420.         1
  421.         1
  422.         1
  423.         10
  424.         10
  425.         1
  426.     [spec]
  427.         0
  428.         0
  429.         <*0>
  430.         360
  431.         1
  432.         1
  433.         0
  434.         0
  435.         0
  436.         0
  437.     [nfmt]
  438.         272
  439.         1
  440.         2
  441.         .
  442.         ,
  443.         $
  444.     Bullet
  445.     0
  446.     0
  447. [tag]
  448.     Bullet 1
  449.     9
  450.     [fnt]
  451.         Times New Roman
  452.         240
  453.         0
  454.         49152
  455.     [algn]
  456.         1
  457.         1
  458.         288
  459.         288
  460.         288
  461.     [spc]
  462.         33
  463.         273
  464.         1
  465.         0
  466.         0
  467.         1
  468.         100
  469.     [brk]
  470.         4
  471.     [line]
  472.         8
  473.         0
  474.         1
  475.         0
  476.         1
  477.         1
  478.         1
  479.         10
  480.         10
  481.         1
  482.     [spec]
  483.         0
  484.         0
  485.         <*5>
  486.         0
  487.         1
  488.         1
  489.         0
  490.         0
  491.         0
  492.         0
  493.     [nfmt]
  494.         280
  495.         1
  496.         2
  497.         .
  498.         ,
  499.         $
  500.     Bullet 1
  501.     0
  502.     0
  503. [tag]
  504.     Number List
  505.     11
  506.     [fnt]
  507.         Times New Roman
  508.         240
  509.         0
  510.         49152
  511.     [algn]
  512.         1
  513.         1
  514.         360
  515.         360
  516.         360
  517.     [spc]
  518.         33
  519.         273
  520.         1
  521.         0
  522.         0
  523.         1
  524.         100
  525.     [brk]
  526.         4
  527.     [line]
  528.         8
  529.         0
  530.         1
  531.         0
  532.         1
  533.         1
  534.         1
  535.         10
  536.         10
  537.         1
  538.     [spec]
  539.         0
  540.         0
  541.         <*:>.
  542.         360
  543.         1
  544.         1
  545.         0
  546.         16
  547.         0
  548.         0
  549.     [nfmt]
  550.         272
  551.         1
  552.         2
  553.         .
  554.         ,
  555.         $
  556.     Number List
  557.     0
  558.     0
  559. [tag]
  560.     Subhead
  561.     12
  562.     [fnt]
  563.         Times New Roman
  564.         240
  565.         0
  566.         49155
  567.     [algn]
  568.         1
  569.         1
  570.         0
  571.         0
  572.         0
  573.     [spc]
  574.         33
  575.         273
  576.         1
  577.         72
  578.         72
  579.         1
  580.         100
  581.     [brk]
  582.         4
  583.     [line]
  584.         8
  585.         0
  586.         1
  587.         0
  588.         1
  589.         1
  590.         1
  591.         10
  592.         10
  593.         1
  594.     [spec]
  595.         0
  596.         2
  597.         
  598.         0
  599.         1
  600.         1
  601.         0
  602.         0
  603.         0
  604.         0
  605.     [nfmt]
  606.         272
  607.         1
  608.         2
  609.         .
  610.         ,
  611.         $
  612.     Subhead
  613.     0
  614.     0
  615. [tag]
  616.     Title
  617.     0
  618.     [fnt]
  619.         Arial
  620.         360
  621.         0
  622.         16385
  623.     [algn]
  624.         4
  625.         1
  626.         0
  627.         0
  628.         0
  629.     [spc]
  630.         33
  631.         446
  632.         1
  633.         144
  634.         72
  635.         1
  636.         100
  637.     [brk]
  638.         16
  639.     [line]
  640.         8
  641.         0
  642.         1
  643.         0
  644.         1
  645.         1
  646.         1
  647.         10
  648.         10
  649.         1
  650.     [spec]
  651.         0
  652.         1
  653.         
  654.         0
  655.         1
  656.         1
  657.         0
  658.         0
  659.         0
  660.         0
  661.     [nfmt]
  662.         272
  663.         1
  664.         2
  665.         .
  666.         ,
  667.         $
  668.     Title
  669.     0
  670.     0
  671. [tag]
  672.     Header
  673.     0
  674.     [fnt]
  675.         Times New Roman
  676.         240
  677.         0
  678.         49152
  679.     [algn]
  680.         1
  681.         1
  682.         0
  683.         0
  684.         0
  685.     [spc]
  686.         33
  687.         273
  688.         1
  689.         0
  690.         0
  691.         1
  692.         100
  693.     [brk]
  694.         4
  695.     [line]
  696.         8
  697.         0
  698.         1
  699.         0
  700.         1
  701.         1
  702.         1
  703.         10
  704.         10
  705.         1
  706.     [spec]
  707.         0
  708.         0
  709.         
  710.         0
  711.         1
  712.         1
  713.         0
  714.         0
  715.         0
  716.         0
  717.     [nfmt]
  718.         280
  719.         1
  720.         2
  721.         .
  722.         ,
  723.         $
  724.     Header
  725.     0
  726.     0
  727. [tag]
  728.     Footer
  729.     0
  730.     [fnt]
  731.         Times New Roman
  732.         240
  733.         0
  734.         49152
  735.     [algn]
  736.         1
  737.         1
  738.         0
  739.         0
  740.         0
  741.     [spc]
  742.         33
  743.         273
  744.         1
  745.         0
  746.         0
  747.         1
  748.         100
  749.     [brk]
  750.         4
  751.     [line]
  752.         8
  753.         0
  754.         1
  755.         0
  756.         1
  757.         1
  758.         1
  759.         10
  760.         10
  761.         1
  762.     [spec]
  763.         0
  764.         0
  765.         
  766.         0
  767.         1
  768.         1
  769.         0
  770.         0
  771.         0
  772.         0
  773.     [nfmt]
  774.         280
  775.         1
  776.         2
  777.         .
  778.         ,
  779.         $
  780.     Footer
  781.     0
  782.     0
  783. [lay]
  784.     Standard
  785.     513
  786.     [rght]
  787.         15840
  788.         12240
  789.         1
  790.         1440
  791.         1440
  792.         1
  793.         1440
  794.         1440
  795.         0
  796.         1
  797.         0
  798.         1
  799.         0
  800.         2
  801.         1
  802.         1440
  803.         10800
  804.         12
  805.         1
  806.         720
  807.         1
  808.         1440
  809.         1
  810.         2160
  811.         1
  812.         2880
  813.         1
  814.         3600
  815.         1
  816.         4320
  817.         1
  818.         5040
  819.         1
  820.         5760
  821.         1
  822.         6480
  823.         1
  824.         7200
  825.         1
  826.         7920
  827.         1
  828.         8640
  829.     [hrght]
  830.     [lyfrm]
  831.         1
  832.         11200
  833.         0
  834.         0
  835.         12240
  836.         1440
  837.         0
  838.         1
  839.         3
  840.         1 0 0 0 0 0 0
  841.         0
  842.         0
  843.         1
  844.     [frmlay]
  845.         1440
  846.         12240
  847.         1
  848.         1440
  849.         72
  850.         1
  851.         792
  852.         1440
  853.         0
  854.         1
  855.         0
  856.         1
  857.         1
  858.         0
  859.         1
  860.         1440
  861.         10800
  862.         1
  863.         3
  864.         9360
  865.     [txt]
  866. >
  867.     [frght]
  868.     [lyfrm]
  869.         1
  870.         13248
  871.         0
  872.         14400
  873.         12240
  874.         15840
  875.         0
  876.         1
  877.         3
  878.         1 0 0 0 0 0 0
  879.         0
  880.         0
  881.         2
  882.     [frmlay]
  883.         15840
  884.         12240
  885.         1
  886.         1440
  887.         792
  888.         1
  889.         14472
  890.         1440
  891.         0
  892.         1
  893.         0
  894.         1
  895.         1
  896.         0
  897.         1
  898.         1440
  899.         10800
  900.         2
  901.         2
  902.         4680
  903.         3
  904.         9360
  905.     [txt]
  906. Page <:P10,0,>    <:db<*!><* >>    <:Db  >
  907.  
  908. >
  909. [elay]
  910. [l1]
  911.     0
  912. [pg]
  913.     12
  914.     50 94 75 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  915.     98 0 17 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  916.     153 0 30 0 0 1 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  917.     208 0 13 0 0 1 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  918.     263 0 67 0 0 1 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  919.     315 0 48 0 0 1 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  920.     369 0 19 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  921.     423 0 24 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  922.     476 0 5 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  923.     530 0 40 0 0 1 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  924.     583 0 46 0 0 1 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  925.     584 0 10 1025 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  926. [edoc]
  927. @Function@<:#293,9360>declares and defines
  928.  
  929. @Outline2@<:#231,9360>declare ComboLoad(hdlg);
  930.  
  931. @Outline2@<:#231,9360>declare countfields(strings, char);
  932.  
  933. @Outline2@<:#231,9360>declare fieldloader(target);
  934.  
  935. @Outline2@<:#231,9360>declare FieldNumToName(num);
  936.  
  937. @Outline2@<:#231,9360>declare fillboxfields(target);
  938.  
  939. @Outline2@<:#231,9360>declare initcapit(string);
  940.  
  941. @Outline2@<:#231,9360>declare insertfields(target, numfields);
  942.  
  943. @Outline2@<:#231,9360>declare LabelNoBadChars(showntext);
  944.  
  945. @Outline2@<:#231,9360>declare movedlgitem(hdlg, ControlID, xshift, yshift);
  946.  
  947. @Outline2@<:#231,9360>declare sizedlgitem(hdlg, ControlID, xshift, yshift);
  948.  
  949. @Outline2@<:#231,9360>declare torchfields(target);
  950.  
  951. @Outline2@<:#231,9360>define BM_SETCHECK       0x0401
  952.  
  953. @Outline2@<:#231,9360>DEFINE GetClientRect()    DllCall("user,GetClientRect,HHN",%1,%2)
  954.  
  955. @Outline2@<:#231,9360>DEFINE GetWindowRect()    DllCall("user,GetWindowRect,HHN",%1,%2)
  956.  
  957. @Outline2@<:#231,9360>DEFINE MoveWindow()    DllCall("user,MoveWindow,HHHHHHH",%1,%2,%3,%4,%5,1)
  958.  
  959. @Outline2@<:#231,9360>Define ClientToScreen()    DllCall("user,ClientToScreen,HHN", %1, %2)
  960.  
  961. @Outline2@<:#231,9360>Define EnableWindow()    DllCall("User,EnableWindow,AHH",%1,%2)
  962.  
  963. @Outline2@<:#231,9360>Define ScreenToClient()    DllCall("user,ScreenToClient,HHN", %1, %2)
  964.  
  965. @Outline2@<:#231,9360>Define ShowWindow()    DllCall("User,ShowWindow,AHH",%1,%2)
  966.  
  967. @Outline2@<:#462,9360>define CreateFont()    DllCall("gdi,CreateFont,HHHHHHHHHHHHHHC", %1, %2, %3, %4, %5, %6, %7, %8, %9, %10, %11, %12, %13, %14)
  968.  
  969. @Outline2@<:#231,9360>define DeleteObject(handle)    DllCall("gdi,DeleteObject,HH", %1)
  970.  
  971. @Outline2@<:#231,9360>define GetActiveWindow()    DllCall("user,GetActiveWindow,H")
  972.  
  973. @Outline2@<:#231,9360>define GetCurFrameDimensions()    GetInfo(102);
  974.  
  975. @Outline2@<:#231,9360>define GetFieldAtInsPt()    GetInfo(177);
  976.  
  977. @Outline2@<:#231,9360>define GetWindowText()    DllCall("user,GetWindowText,HHFH", %1, %2, %3)
  978.  
  979. @Outline2@<:#231,9360>define HFONT    "Setfont:hFont"
  980.  
  981. @Outline2@<:#231,9360>define IsOKToRun(menuname)    GetInfo(217, 24, %1);
  982.  
  983. @Outline2@<:#231,9360>define MapDialogRect()    DllCall("user,MapDialogRect,HHN", %1, %2)
  984.  
  985. @Outline2@<:#462,9360>define SendMessage(hwnd, msg, wpara, lparm)    DllCall("user,SendMessage,HHHHJ", %1, %2, %3, %4)
  986.  
  987. @Outline2@<:#231,9360>define SetFocus()        DllCall("user,SetFocus,HH", %1)
  988.  
  989. @Outline2@<:#231,9360>define SetWindowText()    DllCall("user,SetWindowText,IHC", %1, %2)
  990.  
  991. @Outline2@<:#231,9360>define TitleBarMsg()        SetWindowText(GetActiveWindow(), %1)
  992.  
  993. @Outline2@<:#231,9360>define WM_SETFONT    0x30
  994.  
  995. @Function@<:#293,9360>function menus()
  996.  
  997. @Outline2@<:#231,9360>rmac=GetRunningMacroFile$()
  998.  
  999. @Outline2@<:#231,9360>'run collect.smm if necessary
  1000.  
  1001. @Outline3@<:#231,9360>checkagain:
  1002.  
  1003. @Outline3@<:#231,9360>datagood=getprofilestring$("AutoStyleSheets", "DataGood", "AMIPRO2.INI")
  1004.  
  1005. @Outline3@<:#231,9360>if datagood != 1
  1006.  
  1007. @Outline3@<:#231,9360>    macpath=GetMacPath$()
  1008.  
  1009. @Outline3@<:#462,9360>    Message("The following information is required for building automated style sheets.", "SmartField Startup")
  1010.  
  1011. @Outline3@<:#231,9360>    collector="{macpath}collect.smm"
  1012.  
  1013. @Outline3@<:#231,9360>    calli collector()
  1014.  
  1015. @Outline3@<:#231,9360>    goto checkagain
  1016.  
  1017. @Outline3@<:#231,9360>endif
  1018.  
  1019. @Outline2@<:#231,9360>deletemenu(1, "S&martFields")
  1020.  
  1021. @Outline2@<:#231,9360>addmenu(1, "S&martFields")
  1022.  
  1023. @Outline2@<:#462,9360>addmenuitem(1, "S&martFields", "Define &Default Information...", "{rmac}!main(""as_def"")", "Design the Default Information dialog box for an automated style sheet.")
  1024.  
  1025. @Outline2@<:#462,9360>addmenuitem(1, "S&martFields", "Define &Optional Information...", "{rmac}!main(""as_user"")", "Design the Optional Information dialog box for an automated style sheet.")
  1026.  
  1027. @Outline2@<:#462,9360>addmenuitem(1, "S&martFields", "&Repeat SmartFields...", "{rmac}!echoer", "Select the SmartFields you want to repeat and indicate their locations.")
  1028.  
  1029. @Outline2@<:#462,9360>addmenuitem(1, "S&martFields", "Define &Cursor Location...", "{rmac}!bookmarker", "Define where you want to begin typing when you create a document.")
  1030.  
  1031. @Outline2@<:#462,9360>addmenuitem(1, "S&martFields", "Add Automated &Frame...", "{rmac}!frameinsert", "Inserts an automated frame in the style sheet.")
  1032.  
  1033. @Outline2@<:#462,9360>addmenuitem(1, "S&martFields", "Re&move All SmartFields...", "{rmac}!torchfields(""as_"")", "Remove all SmartFields in the automated style sheet.")
  1034.  
  1035. @Outline2@<:#231,9360>addmenuitem (1, "S&martFields", "-" "" "")
  1036.  
  1037. @Outline2@<:#462,9360>addmenuitem(1, "S&martFields", "Edit &Automated Style Sheet...", "{rmac}!editsty", "Create or edit an automated style sheet.")
  1038.  
  1039. @Outline2@<:#462,9360>addmenuitem(1, "S&martFields", "Sa&ve Automated Style Sheet...", "{rmac}!savesty", "Save this document as an automated style sheet.")
  1040.  
  1041. @Outline2@<:#231,9360>addmenuitem (1, "S&martFields", "-" "" "")
  1042.  
  1043. @Outline2@<:#462,9360>addmenuitem(1, "S&martFields", "E&xit", "{rmac}!removemenuitem", "Remove the SmartFields menu from the menu bar.")
  1044.  
  1045. @Outline2@<:#231,9360>end function
  1046.  
  1047. @Function@<:#293,9360>function main(target)
  1048.  
  1049. @Outline2@<:#231,9360>if getopenfilecount() << 1
  1050.  
  1051. @Outline2@<:#231,9360>    exit function
  1052.  
  1053. @Outline2@<:#231,9360>endif
  1054.  
  1055. @Outline2@<:#231,9360>allocglobalvar("target", 1)
  1056.  
  1057. @Outline2@<:#231,9360>setglobalvar("target", target)
  1058.  
  1059. @Outline2@<:#231,9360>dim fieldnames(9)
  1060.  
  1061. @Outline2@<:#231,9360>dim combofields(9)
  1062.  
  1063. @Outline2@<:#231,9360>rmac=GetRunningMacroFile$()
  1064.  
  1065. @Outline2@<:#231,9360>hourglass(1)
  1066.  
  1067. @Outline2@<:#231,9360>'font handler
  1068.  
  1069. @Outline3@<:#231,9360>AllocGlobalVar(HFONT, 1)
  1070.  
  1071. @Outline3@<:#231,9360>SetGlobalVar(HFONT, 0)
  1072.  
  1073. @Outline2@<:#231,9360>fieldloader(target)
  1074.  
  1075. @Outline2@<:#231,9360>SetDlgCallBack(0,"{rmac}!InitDlg")
  1076.  
  1077. @Outline2@<:#231,9360>box=dialogbox(".", "autostyle")
  1078.  
  1079. @Outline2@<:#231,9360>if box=0
  1080.  
  1081. @Outline2@<:#231,9360>    goto blowout
  1082.  
  1083. @Outline2@<:#231,9360>endif
  1084.  
  1085. @Outline2@<:#231,9360>hourglass(0)
  1086.  
  1087. @Outline2@<:#231,9360>'drive the box & get field names
  1088.  
  1089. @Outline2@<:#231,9360>for i = 1 to 9
  1090.  
  1091. @Outline2@<:#231,9360>    fieldcontents=getdialogfield$(8000 + i)
  1092.  
  1093. @Outline2@<:#231,9360>    combocontents=getdialogfield$(9500+ i)
  1094.  
  1095. @Outline2@<:#231,9360>    if fieldcontents = ""
  1096.  
  1097. @Outline2@<:#231,9360>        break
  1098.  
  1099. @Outline2@<:#231,9360>    endif
  1100.  
  1101. @Outline2@<:#231,9360>    fieldnames(i)=fieldcontents
  1102.  
  1103. @Outline2@<:#231,9360>    combofields(i)=combocontents
  1104.  
  1105. @Outline2@<:#231,9360>next
  1106.  
  1107. @Outline2@<:#231,9360>numfields=i - 1 
  1108.  
  1109. @Outline2@<:#231,9360>allocglobalvar("fieldnames", 9)
  1110.  
  1111. @Outline2@<:#231,9360>allocglobalvar("combofields", 9)
  1112.  
  1113. @Outline2@<:#231,9360>for i= 1 to numfields
  1114.  
  1115. @Outline2@<:#231,9360>    setglobalarray("fieldnames", i, fieldnames(i))
  1116.  
  1117. @Outline2@<:#231,9360>    setglobalarray("combofields", i, combofields(i))
  1118.  
  1119. @Outline2@<:#231,9360>next
  1120.  
  1121. @Outline2@<:#231,9360>if numfields != 0
  1122.  
  1123. @Outline2@<:#231,9360>    insertfields(target, numfields)
  1124.  
  1125. @Outline2@<:#231,9360>endif
  1126.  
  1127. @Outline2@<:#231,9360>blowout:
  1128.  
  1129. @Outline2@<:#231,9360>'font bailout
  1130.  
  1131. @Outline3@<:#231,9360>font = GetGlobalVar$(HFONT)        ' If we created
  1132.  
  1133. @Outline3@<:#231,9360>if (0 != font)                ' the font.
  1134.  
  1135. @Outline3@<:#231,9360>    DeleteObject(font)        ' Delete it
  1136.  
  1137. @Outline3@<:#231,9360>endif
  1138.  
  1139. @Outline3@<:#231,9360>freeglobalvar(HFONT)
  1140.  
  1141. @Outline2@<:#231,9360>freeglobalvar("fieldnames")
  1142.  
  1143. @Outline2@<:#231,9360>freeglobalvar("target")
  1144.  
  1145. @Outline2@<:#231,9360>end function
  1146.  
  1147. @Function@<:#293,9360>function fieldloader(target)
  1148.  
  1149. @Outline2@<:#231,9360>rmac=getrunningmacrofile$()
  1150.  
  1151. @Outline2@<:#231,9360>cnt=GetPowerFieldCount(0)
  1152.  
  1153. @Outline2@<:#231,9360>if (0 =cnt)
  1154.  
  1155. @Outline2@<:#231,9360>    exit function
  1156.  
  1157. @Outline2@<:#231,9360>endif
  1158.  
  1159. @Outline2@<:#231,9360>dim fields(cnt)
  1160.  
  1161. @Outline2@<:#231,9360>dim globvars(1)
  1162.  
  1163. @Outline2@<:#231,9360>numglobs=0
  1164.  
  1165. @Outline2@<:#231,9360>GetPowerFields(0, &fields)
  1166.  
  1167. @Outline2@<:#231,9360>'load &globvars
  1168.  
  1169. @Outline3@<:#231,9360>for i = 1 to cnt
  1170.  
  1171. @Outline3@<:#240,9360>    pftype = StrField$(fields(i), 2, ",")        'get the power <+!>field type<-!>
  1172.  
  1173. @Outline3@<:#240,9360>    pffield = StrField$(fields(i), 3, ",")        'get the power <+!>field<-!>
  1174.  
  1175. @Outline3@<:#240,9360>    varname=StrField$(pffield, 3, " ")        'get the name of the <+!>variable 
  1176. <-!>in the PF
  1177.  
  1178. @Outline3@<:#231,9360>    showtype=strfield$(varname, 6, "_")    'item from AMIPRO2.INI or "echo"
  1179.  
  1180. @Outline3@<:#231,9360>    targlen=len(target)
  1181.  
  1182. @Outline3@<:#245,9360>    'if left$(varname, targlen)=target <:f200,2TimesNewRomanPS,255,0,0>and showtype !=  "echo"<:f>
  1183.  
  1184. @Outline3@<:#245,9360>    if kmid$(varname,1, targlen)=target <:f200,2TimesNewRomanPS,255,0,0>and showtype !=  "echo"<:f>
  1185.  
  1186. @Outline3@<:#231,9360>        numglobs=numglobs+1
  1187.  
  1188. @Outline3@<:#231,9360>        result=arrayinsert(&globvars, numglobs, fields(i))
  1189.  
  1190. @Outline3@<:#231,9360>    endif
  1191.  
  1192. @Outline3@<:#231,9360>next    
  1193.  
  1194. @Outline3@<:#231,9360>if numglobs= 0 exit function
  1195.  
  1196. @Outline3@<:#231,9360>endif
  1197.  
  1198. @Outline2@<:#231,9360>'fill dialog box with labels & AMIPRO2.INI entry fields
  1199.  
  1200. @Outline3@<:#231,9360>arraysort(&globvars, 3, "_")                'sort the array on varnum
  1201.  
  1202. @Outline3@<:#231,9360>for i = 1 to numglobs
  1203.  
  1204. @Outline3@<:#240,9360>    pffield = StrField$(globvars(i), 3, ",")        'get the power <+!>field<-!>
  1205.  
  1206. @Outline3@<:#240,9360>    varname=StrField$(pffield, 3, " ")        'get the name of the <+!>variable 
  1207. <-!>in the PF
  1208.  
  1209. @Outline3@<:#231,9360>    quotechar=chr$(34)
  1210.  
  1211. @Outline3@<:#240,9360>    varlabel=StrField$(globvars(i), 2, quotechar)        'get the <+!>label 
  1212. <-!>for the variable
  1213.  
  1214. @Outline3@<:#231,9360>    showtype=strfield$(varname, 6, "_")
  1215.  
  1216. @Outline3@<:#231,9360>    filledit(8000 + i, varlabel)
  1217.  
  1218. @Outline3@<:#231,9360>    filledit(9500 + i, showtype)
  1219.  
  1220. @Outline3@<:#231,9360>next
  1221.  
  1222. @Outline2@<:#231,9360>END FUNCTION
  1223.  
  1224. @Function@<:#293,9360>function initdlg(hdlg, id, target)
  1225.  
  1226. @Outline2@<:#231,9360>target=getglobalvar$("target")
  1227.  
  1228. @Outline2@<:#231,9360>'font for static text
  1229.  
  1230. @Outline3@<:#231,9360>Font = CreateFont(13, 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, 0, 32, "Helv")
  1231.  
  1232. @Outline3@<:#231,9360>if (Font)
  1233.  
  1234. @Outline3@<:#231,9360>    hctl = GetDlgItem(hDlg, 1050)
  1235.  
  1236. @Outline3@<:#231,9360>    hctl2 = GetDlgItem(hDlg, 1060)
  1237.  
  1238. @Outline3@<:#231,9360>    SendMessage(hctl, WM_SETFONT, font, 0)
  1239.  
  1240. @Outline3@<:#231,9360>    SendMessage(hctl2, WM_SETFONT, font, 0)
  1241.  
  1242. @Outline3@<:#231,9360>    SetGlobalVar(HFONT, Font)
  1243.  
  1244. @Outline3@<:#231,9360>endif 
  1245.  
  1246. @Outline2@<:#231,9360>'name the box and show the right buttons and static text
  1247.  
  1248. @Outline3@<:#231,9360>CurStyleSheet = GetDocInfo$(3)
  1249.  
  1250. @Outline3@<:#231,9360>CurStyleSheet = ucase$(CurStyleSheet)
  1251.  
  1252. @Outline3@<:#231,9360>lb=chr$(091)
  1253.  
  1254. @Outline3@<:#231,9360>rb=chr$(093)
  1255.  
  1256. @Outline3@<:#231,9360>CurStyleSheet = strcat$(lb, CurStyleSheet, rb)
  1257.  
  1258. @Outline3@<:#231,9360>if target ="as_def"
  1259.  
  1260. @Outline3@<:#231,9360>    TitleBarMsg("Default Information")
  1261.  
  1262. @Outline3@<:#231,9360>    ComboLoad(hdlg)
  1263.  
  1264. @Outline3@<:#231,9360>    EnableWindow(GetDlgItem(Hdlg,3), 0) ' gray the save as button
  1265.  
  1266. @Outline3@<:#231,9360>    ShowWindow(GetDlgItem(Hdlg,1060), 0) ' hide the 1060 field static text
  1267.  
  1268. @Outline3@<:#231,9360>    L1="Specify the field names you want to use for the default "
  1269.  
  1270. @Outline3@<:#231,9360>    L2="information each time you create a document using this "
  1271.  
  1272. @Outline3@<:#231,9360>    L3="style sheet. You can select an item in the User info list "
  1273.  
  1274. @Outline3@<:#231,9360>    quotchar=chr$(91)
  1275.  
  1276. @Outline3@<:#231,9360>    'b = left$("<[><[>", 1)
  1277.  
  1278. @Outline3@<:#231,9360>    b = kmid$("<[><[>",1, 1)
  1279.  
  1280. @Outline3@<:#231,9360>    L4="box if you want to use information stored in the {b}AutoStyleSheet] Section of "
  1281.  
  1282. @Outline3@<:#231,9360>    L5="the AMIPRO2.INI."
  1283.  
  1284. @Outline3@<:#231,9360>    helptext="{L1}{L2}{L3}{L4}{L5}"
  1285.  
  1286. @Outline3@<:#231,9360>    filledit(1050, helptext)
  1287.  
  1288. @Outline3@<:#231,9360>    call combocallback(hdlg, 9501)
  1289.  
  1290. @Outline3@<:#231,9360>    sizedlgitem(hdlg, 0, 0, -4)
  1291.  
  1292. @Outline3@<:#231,9360>else
  1293.  
  1294. @Outline3@<:#231,9360>    TitleBarMsg("Optional Information")
  1295.  
  1296. @Outline3@<:#231,9360>    ShowWindow(GetDlgItem(Hdlg,3), 0) ' hide the save as button
  1297.  
  1298. @Outline3@<:#231,9360>    ShowWindow(GetDlgItem(Hdlg,1060), 0) ' hide the 1060 field static text
  1299.  
  1300. @Outline3@<:#231,9360>    ShowWindow(GetDlgItem(Hdlg,1012), 0)
  1301.  
  1302. @Outline3@<:#231,9360>    ShowWindow(GetDlgItem(Hdlg,1000), 0)
  1303.  
  1304. @Outline3@<:#231,9360>    ShowWindow(GetDlgItem(Hdlg,1010), 0)
  1305.  
  1306. @Outline3@<:#231,9360>    for ComboID = 9501 to 9509
  1307.  
  1308. @Outline3@<:#231,9360>        ShowWindow(GetDlgItem(Hdlg,ComboID), 0)
  1309.  
  1310. @Outline3@<:#231,9360>    next
  1311.  
  1312. @Outline3@<:#231,9360>    L1="Specify the field names you want to use for the optional information each time "
  1313.  
  1314. @Outline3@<:#231,9360>    L2="you create a document using this style sheet."
  1315.  
  1316. @Outline3@<:#231,9360>    movedlgitem(hdlg, 1, -90, 0)
  1317.  
  1318. @Outline3@<:#231,9360>    movedlgitem(hdlg, 2, -90, 0)
  1319.  
  1320. @Outline3@<:#231,9360>    movedlgitem(hdlg, 1050, 0, -30)
  1321.  
  1322. @Outline3@<:#231,9360>    sizedlgitem(hdlg, 1050, -80, 0)
  1323.  
  1324. @Outline3@<:#231,9360>    sizedlgitem(hdlg, 0, -90, -40)
  1325.  
  1326. @Outline3@<:#231,9360>    helptext="{L1}{L2}{L3}{L4}"
  1327.  
  1328. @Outline3@<:#231,9360>    filledit(1050, helptext)
  1329.  
  1330. @Outline3@<:#231,9360>endif
  1331.  
  1332. @Outline2@<:#231,9360>end function
  1333.  
  1334. @Function@<:#293,9360>function insertfields(target, numfields)
  1335.  
  1336. @Outline2@<:#231,9360>for position = 1 to numfields
  1337.  
  1338. @Outline2@<:#231,9360>    oncancel nexter
  1339.  
  1340. @Outline2@<:#231,9360>    showntext=getglobalarray$("fieldnames", position)
  1341.  
  1342. @Outline2@<:#231,9360>    if showntext= ""
  1343.  
  1344. @Outline2@<:#231,9360>        goto nexter
  1345.  
  1346. @Outline2@<:#231,9360>    endif
  1347.  
  1348. @Outline2@<:#231,9360>    usercontrol("Move insertion point where you want to insert {showntext}.")
  1349.  
  1350. @Outline2@<:#231,9360>    hourglass(1)
  1351.  
  1352. @Outline2@<:#231,9360>    fieldtype = "eb"
  1353.  
  1354. @Outline2@<:#231,9360>    label=LabelNoBadChars(showntext)
  1355.  
  1356. @Outline2@<:#231,9360>    prefill=getglobalarray$("combofields", position)
  1357.  
  1358. @Outline2@<:#231,9360>    if prefill != ""
  1359.  
  1360. @Outline2@<:#231,9360>        prefill=strcat$(prefill, "_")
  1361.  
  1362. @Outline2@<:#231,9360>    endif
  1363.  
  1364. @Outline2@<:#231,9360>    fieldname=strcat$(target, "_", position, "_", fieldtype, "_", label, "_", prefill)
  1365.  
  1366. @Outline2@<:#231,9360>    exantfield=strcat$(target, "_", position, "_", fieldtype, "_")
  1367.  
  1368. @Outline2@<:#231,9360>    torchfields(exantfield)
  1369.  
  1370. @Outline2@<:#231,9360>    if curshade$() != ""
  1371.  
  1372. @Outline2@<:#231,9360>        type ("<[>del]")
  1373.  
  1374. @Outline2@<:#231,9360>    endif
  1375.  
  1376. @Outline2@<:#231,9360>    FieldAdd("if Defined {fieldname} {fieldname} else ""{showntext}"" endif"   )
  1377.  
  1378. @Outline2@<:#231,9360>    hourglass(0)
  1379.  
  1380. @Outline2@<:#231,9360>nexter:
  1381.  
  1382. @Outline2@<:#231,9360>next
  1383.  
  1384. @Outline2@<:#231,9360>end function
  1385.  
  1386. @Function@<:#293,9360>function echoer()
  1387.  
  1388. @Outline2@<:#231,9360>rmac=getrunningmacrofile$()
  1389.  
  1390. @Outline2@<:#231,9360>ignorekeyboard(2)
  1391.  
  1392. @Outline2@<:#231,9360>target="as_"
  1393.  
  1394. @Outline2@<:#231,9360>cnt=GetPowerFieldCount(0)
  1395.  
  1396. @Outline2@<:#231,9360>if (0 =cnt)
  1397.  
  1398. @Outline2@<:#231,9360>    Message("No fields to repeat.", "SmartField Repeater")
  1399.  
  1400. @Outline2@<:#231,9360>    exit function
  1401.  
  1402. @Outline2@<:#231,9360>endif
  1403.  
  1404. @Outline2@<:#231,9360>oncancel boxagain
  1405.  
  1406. @Outline2@<:#231,9360>hourglass(1)
  1407.  
  1408. @Outline2@<:#231,9360>dim fields(cnt)
  1409.  
  1410. @Outline2@<:#231,9360>dim globvars(1)
  1411.  
  1412. @Outline2@<:#231,9360>numglobs=0
  1413.  
  1414. @Outline2@<:#231,9360>GetPowerFields(0, &fields)
  1415.  
  1416. @Outline2@<:#231,9360>'load &globvars
  1417.  
  1418. @Outline3@<:#231,9360>for i = 1 to cnt
  1419.  
  1420. @Outline3@<:#240,9360>    pftype = StrField$(fields(i), 2, ",")        'get the power <+!>field type<-!>
  1421.  
  1422. @Outline3@<:#240,9360>    pffield = StrField$(fields(i), 3, ",")        'get the power <+!>field<-!>
  1423.  
  1424. @Outline3@<:#240,9360>    varname=StrField$(pffield, 3, " ")        'get the name of the <+!>variable 
  1425. <-!>in the PF
  1426.  
  1427. @Outline3@<:#231,9360>    showtype=strfield$(varname, 6, "_")    'item from AMIPRO2.INI or "echo"
  1428.  
  1429. @Outline3@<:#231,9360>    targlen=len(target)
  1430.  
  1431. @Outline3@<:#245,9360>    'if left$(varname, targlen)=target <:f200,2TimesNewRomanPS,255,0,0>and showtype !=  "echo"<:f>
  1432.  
  1433. @Outline3@<:#245,9360>    if kmid$(varname,1, targlen)=target <:f200,2TimesNewRomanPS,255,0,0>and showtype !=  "echo"<:f>
  1434.  
  1435. @Outline3@<:#231,9360>        numglobs=numglobs+1
  1436.  
  1437. @Outline3@<:#231,9360>        result=arrayinsert(&globvars, numglobs, fields(i))
  1438.  
  1439. @Outline3@<:#231,9360>    endif
  1440.  
  1441. @Outline3@<:#231,9360>next    
  1442.  
  1443. @Outline2@<:#231,9360>boxagain:
  1444.  
  1445. @Outline2@<:#231,9360>statusbarmsg("")
  1446.  
  1447. @Outline2@<:#231,9360>'fill dialog box with labels
  1448.  
  1449. @Outline3@<:#231,9360>arraysort(&globvars, 3, "_")                'sort the array on varnum
  1450.  
  1451. @Outline3@<:#231,9360>dim displayarray (numglobs)
  1452.  
  1453. @Outline3@<:#231,9360>for i = 1 to numglobs
  1454.  
  1455. @Outline3@<:#240,9360>    pffield = StrField$(globvars(i), 3, ",")        'get the power <+!>field<-!>
  1456.  
  1457. @Outline3@<:#240,9360>    varname=StrField$(pffield, 3, " ")        'get the name of the <+!>variable 
  1458. <-!>in the PF
  1459.  
  1460. @Outline3@<:#231,9360>    quotechar=chr$(34)
  1461.  
  1462. @Outline3@<:#240,9360>    varlabel=StrField$(globvars(i), 2, quotechar)        'get the <+!>label 
  1463. <-!>for the variable
  1464.  
  1465. @Outline3@<:#231,9360>    boxtype=strfield$(varname, 2, "_")
  1466.  
  1467. @Outline3@<:#480,9360>    <:f200,2TimesNewRomanPS,255,0,0>echovar=strcat$(<:f>strfield$(varname, 1, "_"), "_", strfield$(varname, 2, "_"), "_", strfield$(varname, 3, "_"), "_", strfield$(varname, 4, "_"), "_", strfield$(varname, 5, "_"), "_",<:f200,2TimesNewRomanPS,255,0,0> "echo_"
  1468. )<:f>
  1469.  
  1470. @Outline3@<:#231,9360>    if boxtype="def"
  1471.  
  1472. @Outline3@<:#231,9360>        boxtype="Default"
  1473.  
  1474. @Outline3@<:#231,9360>    elseif boxtype="user"
  1475.  
  1476. @Outline3@<:#231,9360>        boxtype="Optional"
  1477.  
  1478. @Outline3@<:#231,9360>    endif
  1479.  
  1480. @Outline3@<:#462,9360>    item=strcat$(boxtype, " - ", varlabel, "                                     |", echovar, "|", varlabel, "|", boxtype, strfield$(varname, 3, "_"))
  1481.  
  1482. @Outline3@<:#231,9360>    displayarray(i)=item
  1483.  
  1484. @Outline3@<:#231,9360>next
  1485.  
  1486. @Outline3@<:#231,9360>ArraySort(&displayarray, 4, "|")
  1487.  
  1488. @Outline3@<:#231,9360>filledit (9000, &displayarray)
  1489.  
  1490. @Outline2@<:#231,9360>box= dialogbox(".", "echobox")
  1491.  
  1492. @Outline2@<:#231,9360>if box = 0
  1493.  
  1494. @Outline2@<:#231,9360>    hourglass(0)
  1495.  
  1496. @Outline2@<:#231,9360>    exit function
  1497.  
  1498. @Outline2@<:#231,9360>endif
  1499.  
  1500. @Outline2@<:#231,9360>prompttext=strfield$(GetDialogField$(9000), 1, "|")
  1501.  
  1502. @Outline2@<:#231,9360>echothis=strfield$(GetDialogField$(9000), 2, "|")
  1503.  
  1504. @Outline2@<:#231,9360>showntext=strfield$(GetDialogField$(9000), 3, "|")
  1505.  
  1506. @Outline2@<:#231,9360>boxtype=strfield$(echothis, 2, "_")
  1507.  
  1508. @Outline2@<:#231,9360>    if boxtype="def"
  1509.  
  1510. @Outline2@<:#231,9360>        boxtype="Default"
  1511.  
  1512. @Outline2@<:#231,9360>    elseif boxtype="user"
  1513.  
  1514. @Outline2@<:#231,9360>        boxtype="Optional"
  1515.  
  1516. @Outline2@<:#231,9360>    endif
  1517.  
  1518. @Outline2@<:#462,9360>statusbarmsg("To insert a repeat of this field, choose Resume.  To return to the box to choose another field, choose Cancel.")
  1519.  
  1520. @Outline2@<:#231,9360>usercontrol("Move insertion point where you want to insert {boxtype} - {showntext}.")
  1521.  
  1522. @Outline2@<:#231,9360>if curshade$() != ""
  1523.  
  1524. @Outline2@<:#231,9360>    type ("<[>del]")
  1525.  
  1526. @Outline2@<:#231,9360>endif
  1527.  
  1528. @Outline2@<:#231,9360>FieldAdd("if Defined {echothis} {echothis} else ""{boxtype} - {showntext} (repeat)"" endif"   )
  1529.  
  1530. @Outline2@<:#231,9360>goto boxagain
  1531.  
  1532. @Outline2@<:#231,9360>end function
  1533.  
  1534. @Function@<:#293,9360>function comboload(hdlg)
  1535.  
  1536. @Outline2@<:#231,9360>rmac=GetRunningMacroFile$()
  1537.  
  1538. @Outline2@<:#231,9360>strings=GetProfileString$("AutoStyleSheets", 0, "AMIPRO2.INI")
  1539.  
  1540. @Outline2@<:#231,9360>numfields=countfields(strings, "~")
  1541.  
  1542. @Outline2@<:#231,9360>dim temparray(numfields)
  1543.  
  1544. @Outline2@<:#231,9360>for i = 1 to numfields
  1545.  
  1546. @Outline2@<:#231,9360>    thisone=strfield$(strings, i, "~")
  1547.  
  1548. @Outline2@<:#231,9360>    TempArray(i)= thisone
  1549.  
  1550. @Outline2@<:#231,9360>next
  1551.  
  1552. @Outline2@<:#231,9360>ArrayInsert(&TempArray, 1, "")
  1553.  
  1554. @Outline2@<:#231,9360>questidx=ArraySearch(&TempArray, "NoQuestions")
  1555.  
  1556. @Outline2@<:#231,9360>if questidx != 0
  1557.  
  1558. @Outline2@<:#231,9360>    ArrayDelete(&TempArray, questidx)
  1559.  
  1560. @Outline2@<:#231,9360>endif
  1561.  
  1562. @Outline2@<:#231,9360>    datagoodidx=ArraySearch(&TempArray, "DataGood")
  1563.  
  1564. @Outline2@<:#231,9360>if datagoodidx != 0
  1565.  
  1566. @Outline2@<:#231,9360>    ArrayDelete(&TempArray, datagoodidx)
  1567.  
  1568. @Outline2@<:#231,9360>endif
  1569.  
  1570. @Outline2@<:#231,9360>for ComboID = 9501 to 9509
  1571.  
  1572. @Outline2@<:#231,9360>    FillEdit (ComboID, &TempArray)
  1573.  
  1574. @Outline2@<:#231,9360>    SetDlgCallBack(ComboID, "{rmac}!combocallback")
  1575.  
  1576. @Outline2@<:#231,9360>next
  1577.  
  1578. @Outline2@<:#231,9360>end function
  1579.  
  1580. @Function@<:#293,9360>function combocallback(hdlg, Comboid)
  1581.  
  1582. @Outline2@<:#231,9360>ignorekeyboard(2)
  1583.  
  1584. @Outline2@<:#231,9360>thisline=GetDlgItemText(hdlg, ComboID)
  1585.  
  1586. @Outline2@<:#231,9360>inistring=GetProfileString$("AutoStyleSheets", thisline, "AMIPRO2.INI")
  1587.  
  1588. @Outline2@<:#231,9360>if thisline= ""
  1589.  
  1590. @Outline2@<:#231,9360>    inistring = ""
  1591.  
  1592. @Outline2@<:#231,9360>endif
  1593.  
  1594. @Outline2@<:#231,9360>SetDlgItemText(hdlg, 1010, inistring)
  1595.  
  1596. @Outline2@<:#231,9360>editfieldid=ComboID - 1500
  1597.  
  1598. @Outline2@<:#231,9360>editfieldtext=GetDlgItemText(hdlg, editfieldid)
  1599.  
  1600. @Outline2@<:#231,9360>if editfieldtext = ""
  1601.  
  1602. @Outline2@<:#231,9360>    SetDlgItemText(hdlg, editfieldid, thisline)
  1603.  
  1604. @Outline2@<:#231,9360>endif
  1605.  
  1606. @Outline2@<:#231,9360>end function
  1607.  
  1608. @Function@<:#293,9360>function countfields(string, char)
  1609.  
  1610. @Outline2@<:#231,9360>j = 1
  1611.  
  1612. @Outline2@<:#231,9360>i = 0
  1613.  
  1614. @Outline2@<:#231,9360>while(1)
  1615.  
  1616. @Outline2@<:#231,9360>    k = strchr(j, string, Char)
  1617.  
  1618. @Outline2@<:#231,9360>    if k = -1
  1619.  
  1620. @Outline2@<:#231,9360>        break
  1621.  
  1622. @Outline2@<:#231,9360>    endif
  1623.  
  1624. @Outline2@<:#231,9360>    i = i + 1
  1625.  
  1626. @Outline2@<:#231,9360>    j = k + 1
  1627.  
  1628. @Outline2@<:#231,9360>wend
  1629.  
  1630. @Outline2@<:#231,9360>return i
  1631.  
  1632. @Outline2@<:#231,9360>end function
  1633.  
  1634. @Function@<:#293,9360>function frameinsert()
  1635.  
  1636. @Outline2@<:#231,9360>recheck:
  1637.  
  1638. @Outline2@<:#231,9360>result=IsOKToRun(FrameLayout)
  1639.  
  1640. @Outline2@<:#231,9360>if result != 1 
  1641.  
  1642. @Outline2@<:#231,9360>    UserControl("Create the frame and choose Resume.")
  1643.  
  1644. @Outline2@<:#231,9360>    goto recheck
  1645.  
  1646. @Outline2@<:#231,9360>endif
  1647.  
  1648. @Outline2@<:#231,9360>DefStr Length, Wide, Units, Paper, WinDir, INI, in, Fwide, FHigh, Top, Left, LMargin
  1649.  
  1650. @Outline2@<:#231,9360>DefStr TMargin, RMargin, BMargin, Funits, FType, FRound, FMacName
  1651.  
  1652. @Outline2@<:#462,9360>GetCurFrameBorders(&FWide, &FHigh, &Top, &Left, &LMargin, &TMargin, &RMargin, &BMargin, &Funits)
  1653.  
  1654. @Outline2@<:#231,9360>num=right$(Now(), 4)
  1655.  
  1656. @Outline2@<:#231,9360>MarkBookMark("as_frame{num}"  4003  )
  1657.  
  1658. @Outline2@<:#231,9360>AddFrame(top, left, FWide, FHigh )
  1659.  
  1660. @Outline2@<:#231,9360>FrameModInit( )
  1661.  
  1662. @Outline2@<:#231,9360>FrameModLines(0 1 1 0 16777215 0 0 0 0 0  )
  1663.  
  1664. @Outline2@<:#231,9360>FrameModType(134218240 18 "framcust.smm({num})"   )
  1665.  
  1666. @Outline2@<:#231,9360>FrameModBorders(fWide, FHigh, top, left, LMargin, TMargin, RMargin, BMargin,1  )
  1667.  
  1668. @Outline2@<:#231,9360>FrameModFinish( )
  1669.  
  1670. @Outline2@<:#231,9360>BringFrameToFront()
  1671.  
  1672. @Outline2@<:#231,9360>MarkBookMark("as_frame{num}cover"  4003  )
  1673.  
  1674. @Outline2@<:#231,9360>Type( "<[>Enter]<[>Enter]Click on this frame to insert text or graphics in this area." )
  1675.  
  1676. @Outline2@<:#231,9360>Center()
  1677.  
  1678. @Outline2@<:#231,9360>Type("<[>esc]<[>esc]")
  1679.  
  1680. @Outline2@<:#231,9360>end function
  1681.  
  1682. @Function@<:#293,9360>function FieldNumToName(num)
  1683.  
  1684. @Outline2@<:#231,9360>cnt = GetPowerFieldCount(0)
  1685.  
  1686. @Outline2@<:#231,9360>dim fields(cnt)
  1687.  
  1688. @Outline2@<:#231,9360>GetPowerFields(0, &fields)
  1689.  
  1690. @Outline2@<:#231,9360>position=ArraySearch(&fields, num, 1, ",")
  1691.  
  1692. @Outline2@<:#240,9360>    pffield = StrField$(fields(position), 3, ",")        'get the power <+!>field<-!>
  1693.  
  1694. @Outline2@<:#240,9360>    varname=StrField$(pffield, 3, " ")        'get the name of the <+!>variable 
  1695. <-!>in the PF
  1696.  
  1697. @Outline2@<:#231,9360>FieldNumToName=varname
  1698.  
  1699. @Outline2@<:#231,9360>end function
  1700.  
  1701. @Function@<:#293,9360>function savesty()
  1702.  
  1703. @Outline2@<:#231,9360>if (IsOKToRun(SaveAsNewStyle)) != 1 exit function
  1704.  
  1705. @Outline2@<:#231,9360>endif
  1706.  
  1707. @Outline2@<:#231,9360>curstyle="automate.sty"
  1708.  
  1709. @Outline2@<:#231,9360>'stypath=left$(GetStylePath$(), (len(GetStylePath$()) - 1))
  1710.  
  1711. @Outline2@<:#231,9360>stypath=kmid$(GetStylePath$(), 1,(len(GetStylePath$()) - 1))
  1712.  
  1713. @Outline2@<:#231,9360>filledit(1004, stypath)
  1714.  
  1715. @Outline2@<:#231,9360>filledit(8002, curstyle)
  1716.  
  1717. @Outline2@<:#231,9360>box = dialogbox(".", "savesty")
  1718.  
  1719. @Outline2@<:#231,9360>if box = 0
  1720.  
  1721. @Outline2@<:#231,9360>    exit function
  1722.  
  1723. @Outline2@<:#231,9360>endif
  1724.  
  1725. @Outline2@<:#231,9360>newstyle=getdialogfield$(8002)
  1726.  
  1727. @Outline2@<:#231,9360>if strchr(1, newstyle, ".") = (-1)
  1728.  
  1729. @Outline2@<:#231,9360>    newstyle=strcat$(newstyle, ".sty")
  1730.  
  1731. @Outline2@<:#231,9360>endif
  1732.  
  1733. @Outline2@<:#231,9360>newstyle=ucase$(newstyle)
  1734.  
  1735. @Outline2@<:#231,9360>newdesc=getdialogfield$(8003)
  1736.  
  1737. @Outline2@<:#231,9360>'SaveAsNewStyle(Name, WithContents, MacroName, RunMacro, Description)
  1738.  
  1739. @Outline2@<:#231,9360>result=SaveAsNewStyle(newstyle, 1, "autosty.smm", 1, newdesc)
  1740.  
  1741. @Outline2@<:#231,9360>end function
  1742.  
  1743. @Function@<:#293,9360>function bookmarker()
  1744.  
  1745. @Outline2@<:#231,9360>if (IsOKToRun(MarkBookmark)) != 1 exit function
  1746.  
  1747. @Outline2@<:#231,9360>endif
  1748.  
  1749. @Outline2@<:#231,9360>UserControl("Move insertion point where you want to begin typing.")
  1750.  
  1751. @Outline2@<:#231,9360>MarkBookMark("as_starttext" 4004)    'delete the bookmark already in
  1752.  
  1753. @Outline2@<:#231,9360>MarkBookMark("as_starttext" 4003)    'insert new one
  1754.  
  1755. @Outline2@<:#231,9360>end function
  1756.  
  1757. @Function@<:#293,9360>function editsty()
  1758.  
  1759. @Outline2@<:#231,9360>rmac=GetRunningMacroFile$()
  1760.  
  1761. @Outline2@<:#231,9360>runlater("{rmac}!<:Zbuttoncheck>AmiButtonCheck<:Z~buttoncheck>(25550, 0)", 0.1)
  1762.  
  1763. @Outline2@<:#231,9360>runlater("{rmac}!<:Zbuttoncheck1>AmiButtonCheck<:Z~buttoncheck1>(25551, 1)", 0.1)
  1764.  
  1765. @Outline2@<:#231,9360>runlater("{rmac}!AmiUIGray(25550, 0)", 0.1)
  1766.  
  1767. @Outline2@<:#231,9360>runlater("{rmac}!AmiUIGray(25551, 0)", 0.1)
  1768.  
  1769. @Outline2@<:#231,9360>pause(004)
  1770.  
  1771. @Outline2@<:#231,9360>New
  1772.  
  1773. @Outline2@<:#231,9360>end function
  1774.  
  1775. @Function@<:#293,9360>function LabelNoBadChars(showntext)
  1776.  
  1777. @Outline2@<:#231,9360>badchars= " ""%'()*+,-/;<<=<;>@<[>\]^}";
  1778.  
  1779. @Outline2@<:#231,9360>for c=1 to len(badchars)
  1780.  
  1781. @Outline2@<:#231,9360>    'char=mid$(badchars, c, 1)
  1782.  
  1783. @Outline2@<:#231,9360>    char=kmid$(badchars, c, 1)
  1784.  
  1785. @Outline2@<:#231,9360>    while (strchr(1, showntext, char) != -1)
  1786.  
  1787. @Outline2@<:#231,9360>        dim part(10)
  1788.  
  1789. @Outline2@<:#231,9360>        for x = 1 to 10
  1790.  
  1791. @Outline2@<:#231,9360>            part(x)=strfield$(showntext, x, char)
  1792.  
  1793. @Outline2@<:#231,9360>            if part(x) = -1 or part(x) = ""
  1794.  
  1795. @Outline2@<:#231,9360>                break
  1796.  
  1797. @Outline2@<:#231,9360>            endif
  1798.  
  1799. @Outline2@<:#231,9360>            newtext=strcat$(newtext, part(x))
  1800.  
  1801. @Outline2@<:#231,9360>        next
  1802.  
  1803. @Outline2@<:#231,9360>        showntext=newtext
  1804.  
  1805. @Outline2@<:#231,9360>        newtext = ""
  1806.  
  1807. @Outline2@<:#231,9360>    wend
  1808.  
  1809. @Outline2@<:#231,9360>next
  1810.  
  1811. @Outline2@<:#231,9360>label=showntext
  1812.  
  1813. @Outline2@<:#231,9360>if label= ""
  1814.  
  1815. @Outline2@<:#231,9360>    label=strcat$("temp", right$(Now(), 4))    'label can't be null
  1816.  
  1817. @Outline2@<:#231,9360>endif
  1818.  
  1819. @Outline2@<:#231,9360>return label
  1820.  
  1821. @Outline2@<:#231,9360>end function
  1822.  
  1823. @Function@<:#293,9360>function removemenuitem()
  1824.  
  1825. @Outline2@<:#231,9360>deletemenu(1, "S&martFields")
  1826.  
  1827. @Outline2@<:#231,9360>end function
  1828.  
  1829. @Function@<:#293,9360>function movedlgitem(hdlg, ControlID, xshift, yshift)
  1830.  
  1831. @Outline2@<:#231,9360>hwndCtrl=GetDlgItem(hdlg, ControlID)
  1832.  
  1833. @Outline2@<:#231,9360>if controlid= "" or ControlID = 0
  1834.  
  1835. @Outline2@<:#231,9360>    hwndctrl=hdlg
  1836.  
  1837. @Outline2@<:#231,9360>endif
  1838.  
  1839. @Outline2@<:#231,9360>DIM rect2(4)
  1840.  
  1841. @Outline2@<:#231,9360>DIM rect3(4)
  1842.  
  1843. @Outline2@<:#231,9360>GetWindowRect(hwndCtrl,&rect2)
  1844.  
  1845. @Outline2@<:#231,9360>if controlid != "" and ControlID != 0
  1846.  
  1847. @Outline2@<:#462,9360>    ScreenToClient(hDlg, &rect2)    'convert control's screen-relative coordinates to hdlg-relative coordinates
  1848.  
  1849. @Outline2@<:#231,9360>endif
  1850.  
  1851. @Outline2@<:#231,9360>GetClientRect(hwndCtrl, &rect3)    'get xL & yL numbers (length & width of control)
  1852.  
  1853. @Outline2@<:#231,9360>x=rect2(1)
  1854.  
  1855. @Outline2@<:#231,9360>y=rect2(2)
  1856.  
  1857. @Outline2@<:#231,9360>xL=rect3(3)
  1858.  
  1859. @Outline2@<:#231,9360>yL=rect3(4)
  1860.  
  1861. @Outline2@<:#231,9360>MoveWindow(hwndCtrl,x+xshift,y+yshift,xL,yL)
  1862.  
  1863. @Outline2@<:#231,9360>end function
  1864.  
  1865. @Function@<:#293,9360>function sizedlgitem(hdlg, ControlID, xshift, yshift)
  1866.  
  1867. @Outline2@<:#231,9360>hwndCtrl=GetDlgItem(hdlg, ControlID)
  1868.  
  1869. @Outline2@<:#231,9360>if controlid= "" or ControlID = 0
  1870.  
  1871. @Outline2@<:#231,9360>    hwndctrl=hdlg
  1872.  
  1873. @Outline2@<:#231,9360>endif
  1874.  
  1875. @Outline2@<:#231,9360>DIM rect2(4)
  1876.  
  1877. @Outline2@<:#231,9360>DIM rect3(4)
  1878.  
  1879. @Outline2@<:#231,9360>GetWindowRect(hwndCtrl,&rect2)
  1880.  
  1881. @Outline2@<:#231,9360>if controlid != "" and ControlID != 0
  1882.  
  1883. @Outline2@<:#462,9360>    ScreenToClient(hDlg, &rect2)    'convert control's screen-relative coordinates to hdlg-relative coordinates
  1884.  
  1885. @Outline2@<:#231,9360>endif
  1886.  
  1887. @Outline2@<:#231,9360>GetClientRect(hwndCtrl, &rect3)    'get xL & yL numbers (length & width of control)
  1888.  
  1889. @Outline2@<:#231,9360>x=rect2(1)
  1890.  
  1891. @Outline2@<:#231,9360>y=rect2(2)
  1892.  
  1893. @Outline2@<:#231,9360>xL=rect3(3)
  1894.  
  1895. @Outline2@<:#231,9360>yL=rect3(4)
  1896.  
  1897. @Outline2@<:#231,9360>MoveWindow(hwndCtrl,x,y,xL+xshift,yL+yshift)
  1898.  
  1899. @Outline2@<:#231,9360>end function
  1900.  
  1901. @Function@<:#293,9360>FUNCTION torchfields(target)
  1902.  
  1903. @Outline2@<:#231,9360>if (IsOKToRun(FieldRemove)) != 1 exit function
  1904.  
  1905. @Outline2@<:#231,9360>endif
  1906.  
  1907. @Outline2@<:#231,9360>'singlestep(0)
  1908.  
  1909. @Outline2@<:#231,9360>cnt = GetPowerFieldCount(0)
  1910.  
  1911. @Outline2@<:#231,9360>if (0 != cnt)
  1912.  
  1913. @Outline2@<:#231,9360>    if strfield$(target, 3, "_")    = -1    'no 3d field on target; this is a global burn; ask to confirm it
  1914.  
  1915. @Outline3@<:#231,9360>    doit=Decide("Remove all SmartFields?")
  1916.  
  1917. @Outline4@<:#231,9360>if doit = 0
  1918.  
  1919. @Outline4@<:#231,9360>    exit function
  1920.  
  1921. @Outline4@<:#231,9360>endif
  1922.  
  1923. @Outline2@<:#231,9360>    endif
  1924.  
  1925. @Outline2@<:#231,9360>    dim fields(cnt)
  1926.  
  1927. @Outline2@<:#231,9360>    GetPowerFields(0, &fields)
  1928.  
  1929. @Outline2@<:#231,9360>    for i = 1 to cnt
  1930.  
  1931. @Outline2@<:#231,9360>        pfid = StrField$(fields(i), 1, ",")
  1932.  
  1933. @Outline2@<:#231,9360>        pftype = StrField$(fields(i), 2, ",")
  1934.  
  1935. @Outline2@<:#240,9360>        pffield = StrField$(fields(i), 3, ",")        'get the power <+!>field<-!>
  1936.  
  1937. @Outline2@<:#240,9360>        varname=StrField$(pffield, 3, " ")        'get the name of the <+!>variable 
  1938. <-!>in the PF
  1939.  
  1940. @Outline2@<:#231,9360>        targlen=len(target)
  1941.  
  1942. @Outline2@<:#231,9360>        'if left$(varname, targlen)=target
  1943.  
  1944. @Outline2@<:#231,9360>        if kmid$(varname,1, targlen)=target
  1945.  
  1946. @Outline2@<:#231,9360>            FieldRemove(pfid, pftype);
  1947.  
  1948. @Outline2@<:#231,9360>        endif
  1949.  
  1950. @Outline2@<:#231,9360>    next
  1951.  
  1952. @Outline2@<:#231,9360>else
  1953.  
  1954. @Outline2@<:#231,9360>    if strfield$(target, 3, "_")    = -1
  1955.  
  1956. @Outline2@<:#231,9360>        message("No fields to remove.", "SmartField Remover")
  1957.  
  1958. @Outline2@<:#231,9360>    endif
  1959.  
  1960. @Outline2@<:#231,9360>endif
  1961.  
  1962. @Outline2@<:#231,9360>END FUNCTION
  1963.  
  1964. @Function@<:#293,9360>function AmiButtonCheck(ID, State)
  1965.  
  1966. @Outline2@<:#231,9360>hdlg = getactivewindow()
  1967.  
  1968. @Outline2@<:#231,9360>idnew = GetDlgItem(Hdlg, ID)
  1969.  
  1970. @Outline2@<:#231,9360>AppSendMessage(idnew, BM_SETCHECK, state, 0)
  1971.  
  1972. @Outline2@<:#231,9360>end function
  1973.  
  1974. @Function@<:#293,9360>function AmiUIGray(ID, State)
  1975.  
  1976. @Outline2@<:#231,9360>hdlg = getactivewindow()
  1977.  
  1978. @Outline2@<:#231,9360>idnew = GetDlgItem(Hdlg, ID)
  1979.  
  1980. @Outline2@<:#231,9360>enablewindow(idnew, state)
  1981.  
  1982. @Outline2@<:#231,9360>end function
  1983.  
  1984. @Function@<:#293,9360>DIALOG    autostyle
  1985.  
  1986. @Outline2@<:#231,9360>-2134376448    35    116    46    232    224    ""    ""    "_LETTER1.STY Information"
  1987.  
  1988. @Outline2@<:#231,9360>FONT    8    "Helv"
  1989.  
  1990. @Outline2@<:#231,9360>34    18    92    12    8001    1350631552    "edit"    ""    0 
  1991.  
  1992. @Outline2@<:#231,9360>130    18    52    80    9501    1344339971    "combobox"    ""    0 
  1993.  
  1994. @Outline2@<:#231,9360>34    34    92    12    8002    1350631552    "edit"    ""    0 
  1995.  
  1996. @Outline2@<:#231,9360>130    34    52    80    9502    1344339971    "combobox"    ""    0 
  1997.  
  1998. @Outline2@<:#231,9360>34    48    92    12    8003    1350631552    "edit"    ""    0 
  1999.  
  2000. @Outline2@<:#231,9360>130    48    52    80    9503    1344339971    "combobox"    ""    0 
  2001.  
  2002. @Outline2@<:#231,9360>34    64    92    12    8004    1350631552    "edit"    ""    0 
  2003.  
  2004. @Outline2@<:#231,9360>130    64    52    80    9504    1344339971    "combobox"    ""    0 
  2005.  
  2006. @Outline2@<:#231,9360>34    78    92    12    8005    1350631552    "edit"    ""    0 
  2007.  
  2008. @Outline2@<:#231,9360>130    78    52    80    9505    1344339971    "combobox"    ""    0 
  2009.  
  2010. @Outline2@<:#231,9360>34    94    92    12    8006    1350631552    "edit"    ""    0 
  2011.  
  2012. @Outline2@<:#231,9360>130    94    52    80    9506    1344339971    "combobox"    ""    0 
  2013.  
  2014. @Outline2@<:#231,9360>34    108    92    12    8007    1350631552    "edit"    ""    0 
  2015.  
  2016. @Outline2@<:#231,9360>130    108    52    80    9507    1344339971    "combobox"    ""    0 
  2017.  
  2018. @Outline2@<:#231,9360>34    124    92    12    8008    1350631552    "edit"    ""    0 
  2019.  
  2020. @Outline2@<:#231,9360>130    124    52    80    9508    1344339971    "combobox"    ""    0 
  2021.  
  2022. @Outline2@<:#231,9360>34    138    92    12    8009    1350631552    "edit"    ""    0 
  2023.  
  2024. @Outline2@<:#231,9360>130    138    52    80    9509    1344339971    "combobox"    ""    0 
  2025.  
  2026. @Outline2@<:#231,9360>3    20    26    10    1001    1342177280    "static"    "Field 1:"    0 
  2027.  
  2028. @Outline2@<:#231,9360>3    35    26    9    1002    1342177280    "static"    "Field 2:"    0 
  2029.  
  2030. @Outline2@<:#231,9360>3    50    26    9    1003    1342177280    "static"    "Field 3:"    0 
  2031.  
  2032. @Outline2@<:#231,9360>3    65    26    9    1004    1342177280    "static"    "Field 4:"    0 
  2033.  
  2034. @Outline2@<:#231,9360>3    80    26    9    1005    1342177280    "static"    "Field 5:"    0 
  2035.  
  2036. @Outline2@<:#231,9360>3    95    26    9    1006    1342177280    "static"    "Field 6:"    0 
  2037.  
  2038. @Outline2@<:#231,9360>3    110    26    9    1007    1342177280    "static"    "Field 7:"    0 
  2039.  
  2040. @Outline2@<:#231,9360>3    125    26    9    1008    1342177280    "static"    "Field 8:"    0 
  2041.  
  2042. @Outline2@<:#231,9360>3    140    26    9    1009    1342177280    "static"    "Field 9:"    0 
  2043.  
  2044. @Outline2@<:#231,9360>4    172    222    36    1050    1342177280    "static"    "Default box text"    0 
  2045.  
  2046. @Outline2@<:#231,9360>4    172    222    36    1060    1342177280    "static"    "User box text"    0 
  2047.  
  2048. @Outline2@<:#231,9360>186    16    40    14    1    1342373889    "button"    "OK"    0 
  2049.  
  2050. @Outline2@<:#231,9360>186    32    40    14    2    1342373888    "button"    "Cancel"    0 
  2051.  
  2052. @Outline2@<:#231,9360>3    158    102    10    1000    1342177280    "static"    "Current information:"    0 
  2053.  
  2054. @Outline2@<:#231,9360>70    158    160    10    1010    1342177280    "static"    ""    0 
  2055.  
  2056. @Outline2@<:#231,9360>34    6    60    10    1011    1342177280    "static"    "Fields:"    0 
  2057.  
  2058. @Outline2@<:#231,9360>130    6    44    10    1012    1342177280    "static"    "User info:"    0 
  2059.  
  2060. @Outline2@<:#231,9360>END DIALOG
  2061.  
  2062. @Function@<:#293,9360>DIALOG    echobox
  2063.  
  2064. @Outline2@<:#231,9360>-2134376448    4    84    70    160    92    ""    ""    "Make Fields Repeat"
  2065.  
  2066. @Outline2@<:#231,9360>FONT    8    "Helv"
  2067.  
  2068. @Outline2@<:#231,9360>6    16    102    70    9000    1352728577    "listbox"    ""    0 
  2069.  
  2070. @Outline2@<:#231,9360>116    4    40    14    1    1342373889    "button"    "OK"    0 
  2071.  
  2072. @Outline2@<:#231,9360>116    20    40    14    2    1342373888    "button"    "Done"    0 
  2073.  
  2074. @Outline2@<:#231,9360>6    4    74    10    1000    1342177280    "static"    "Select field to repeat:"    0 
  2075.  
  2076. @Outline2@<:#231,9360>END DIALOG
  2077.  
  2078. @Function@<:#293,9360>DIALOG    savesty
  2079.  
  2080. @Outline2@<:#462,9360>-2134376448    9    102    54    204    92    ""    ""    "Save As Automated Style Sheet"
  2081.  
  2082. @Outline2@<:#231,9360>FONT 8 "Helv"
  2083.  
  2084. @Outline2@<:#231,9360>52    40    86    12    8002    1350631552    "edit"    ""    0 
  2085.  
  2086. @Outline2@<:#231,9360>52    58    146    26    8003    1350631552    "edit"    ""    0 
  2087.  
  2088. @Outline2@<:#231,9360>159    5    40    14    1    1342373889    "button"    "OK"    0 
  2089.  
  2090. @Outline2@<:#231,9360>159    21    40    14    2    1342373888    "button"    "Cancel"    0 
  2091.  
  2092. @Outline2@<:#231,9360>4    39    28    10    1000    1342177280    "static"    "&Name:"    0 
  2093.  
  2094. @Outline2@<:#231,9360>4    58    44    10    1001    1342177280    "static"    "Description:"    0 
  2095.  
  2096. @Outline2@<:#462,9360>4    3    132    20    1002    1342177280    "static"    "Type the name and description for this automated style sheet."    0 
  2097.  
  2098. @Outline2@<:#231,9360>4    24    58    10    1003    1342177280    "static"    "Style sheet path:"    0 
  2099.  
  2100. @Outline2@<:#231,9360>66    24    80    10    1004    1342177280    "static"    "path"    0 
  2101.  
  2102. @Outline2@<:#231,9360>END DIALOG
  2103.  
  2104. >
  2105.  
  2106. [Embedded]
  2107. 00042111
  2108. >
  2109. [macsum] 24
  2110. menus 0 0 5 34
  2111. main 1583 1 10 60
  2112. fieldloader 2632 1 15 110
  2113. initdlg 3556 3 16 147
  2114. insertfields 5639 2 8 202
  2115. echoer 6296 0 24 228
  2116. comboload 8376 1 10 300
  2117. combocallback 8993 2 5 323
  2118. countfields 9280 2 4 337
  2119. frameinsert 9487 0 22 350
  2120. FieldNumToName 10076 1 6 374
  2121. savesty 10259 0 7 383
  2122. bookmarker 10725 0 1 404
  2123. editsty 10929 0 2 411
  2124. LabelNoBadChars 11146 1 8 420
  2125. removemenuitem 11808 0 1 444
  2126. movedlgitem 11863 4 8 447
  2127. sizedlgitem 12343 4 8 465
  2128. torchfields 12823 1 10 483
  2129. AmiButtonCheck 13549 2 3 514
  2130. AmiUIGray 13675 2 3 519
  2131. autostyle 13812 0 -1 524
  2132. echobox 15598 0 -1 563
  2133. savesty 15885 0 -1 571
  2134. [macse]
  2135. 14 menus
  2136. 0 802
  2137. 13
  2138. 8 1
  2139. 0 286 "AutoStyleSheets" "DataGood" "AMIPRO2.INI"
  2140. 13
  2141. 8 2
  2142. 6 2
  2143. 5 1
  2144. 18 1
  2145. 11 00000281
  2146. 0 295
  2147. 13
  2148. 8 3
  2149. 0 3 "The following information is required for building automated style sheets." "SmartField Startup"
  2150. 7 "{3}collect.smm"
  2151. 8 4
  2152. 16 "{4}"
  2153. 10 00000026
  2154. 0 521 1 "S&martFields"
  2155. 0 515 1 "S&martFields"
  2156. 0 516 1 "S&martFields" "Define &Default Information..." "{1}!main(""as_def"")" "Design the Default Information dialog box for an automated style sheet."
  2157. 0 516 1 "S&martFields" "Define &Optional Information..." "{1}!main(""as_user"")" "Design the Optional Information dialog box for an automated style sheet."
  2158. 0 516 1 "S&martFields" "&Repeat SmartFields..." "{1}!echoer" "Select the SmartFields you want to repeat and indicate their locations."
  2159. 0 516 1 "S&martFields" "Define &Cursor Location..." "{1}!bookmarker" "Define where you want to begin typing when you create a document."
  2160. 0 516 1 "S&martFields" "Add Automated &Frame..." "{1}!frameinsert" "Inserts an automated frame in the style sheet."
  2161. 0 516 1 "S&martFields" "Re&move All SmartFields..." "{1}!torchfields(""as_"")" "Remove all SmartFields in the automated style sheet."
  2162. 0 516 1 "S&martFields" "-" "" ""
  2163. 0 516 1 "S&martFields" "Edit &Automated Style Sheet..." "{1}!editsty" "Create or edit an automated style sheet."
  2164. 0 516 1 "S&martFields" "Sa&ve Automated Style Sheet..." "{1}!savesty" "Save this document as an automated style sheet."
  2165. 0 516 1 "S&martFields" "-" "" ""
  2166. 0 516 1 "S&martFields" "E&xit" "{1}!removemenuitem" "Remove the SmartFields menu from the menu bar."
  2167. 6 0
  2168. 15
  2169. 9
  2170. 14 main
  2171. 0 1050
  2172. 13
  2173. 5 1
  2174. 18 5
  2175. 11 00000057
  2176. 6 1
  2177. 15
  2178. 9
  2179. 0 271 "target" 1
  2180. 0 264 "target" "{0}"
  2181. 5 9
  2182. 21 2 [X]
  2183. 5 9
  2184. 21 3 [X]
  2185. 0 802
  2186. 13
  2187. 8 4
  2188. 0 296 1
  2189. 0 271 "Setfont:hFont" 1
  2190. 0 264 "Setfont:hFont" 0
  2191. 16 fieldloader "{0}"
  2192. 0 41 0 "{4}!InitDlg"
  2193. 0 26 "." "autostyle"
  2194. 13
  2195. 8 5
  2196. 6 5
  2197. 5 0
  2198. 18 0
  2199. 11 00000319
  2200. 10 00000879
  2201. 0 296 0
  2202. 5 1
  2203. 8 6
  2204. 5 9
  2205. 6 6
  2206. 18 2
  2207. 12 00000413
  2208. 10 00000575
  2209. 5 1
  2210. 6 6
  2211. 3 0
  2212. 8 6
  2213. 10 00000338
  2214. 5 8000
  2215. 6 6
  2216. 3 0
  2217. 0 27 [X]
  2218. 13
  2219. 8 7
  2220. 5 9500
  2221. 6 6
  2222. 3 0
  2223. 0 27 [X]
  2224. 13
  2225. 8 8
  2226. 6 7
  2227. 7 ""
  2228. 18 0
  2229. 11 00000530
  2230. 10 00000575
  2231. 6 6
  2232. 6 7
  2233. 23 2
  2234. 6 6
  2235. 6 8
  2236. 23 3
  2237. 10 00000380
  2238. 6 6
  2239. 5 1
  2240. 3 1
  2241. 8 9
  2242. 0 271 "fieldnames" 9
  2243. 0 271 "combofields" 9
  2244. 5 1
  2245. 8 6
  2246. 6 9
  2247. 6 6
  2248. 18 2
  2249. 12 00000725
  2250. 10 00000821
  2251. 5 1
  2252. 6 6
  2253. 3 0
  2254. 8 6
  2255. 10 00000650
  2256. 6 6
  2257. 22 2
  2258. 0 272 "fieldnames" "{6}" [X]
  2259. 6 6
  2260. 22 3
  2261. 0 272 "combofields" "{6}" [X]
  2262. 10 00000692
  2263. 6 9
  2264. 5 0
  2265. 18 1
  2266. 11 00000879
  2267. 16 insertfields "{0}" "{9}"
  2268. 0 265 "Setfont:hFont"
  2269. 13
  2270. 8 10
  2271. 5 0
  2272. 6 10
  2273. 18 1
  2274. 11 00000978
  2275. 0 284 "gdi,DeleteObject,HH" "{10}"
  2276. 0 266 "Setfont:hFont"
  2277. 0 266 "fieldnames"
  2278. 0 266 "target"
  2279. 6 1
  2280. 15
  2281. 9
  2282. 14 fieldloader
  2283. 0 802
  2284. 13
  2285. 8 2
  2286. 0 1304 0
  2287. 13
  2288. 8 3
  2289. 5 0
  2290. 6 3
  2291. 18 0
  2292. 11 00000092
  2293. 6 1
  2294. 15
  2295. 9
  2296. 6 3
  2297. 21 4 [X]
  2298. 5 1
  2299. 21 5 [X]
  2300. 5 0
  2301. 8 6
  2302. 0 1305 0 &4
  2303. 5 1
  2304. 8 7
  2305. 6 3
  2306. 6 7
  2307. 18 2
  2308. 12 00000230
  2309. 10 00000534
  2310. 5 1
  2311. 6 7
  2312. 3 0
  2313. 8 7
  2314. 10 00000155
  2315. 6 7
  2316. 22 4
  2317. 0 20 [X] 2 ","
  2318. 13
  2319. 8 8
  2320. 6 7
  2321. 22 4
  2322. 0 20 [X] 3 ","
  2323. 13
  2324. 8 9
  2325. 0 20 "{9}" 3 " "
  2326. 13
  2327. 8 10
  2328. 0 20 "{10}" 6 "_"
  2329. 13
  2330. 8 11
  2331. 0 14 "{0}"
  2332. 13
  2333. 8 12
  2334. 0 133 "{10}" 1 "{12}"
  2335. 13
  2336. 6 0
  2337. 18 0
  2338. 6 11
  2339. 7 "echo"
  2340. 18 1
  2341. 1 1
  2342. 11 00000521
  2343. 6 6
  2344. 5 1
  2345. 3 0
  2346. 8 6
  2347. 6 7
  2348. 22 4
  2349. 0 1041 &5 "{6}" [X]
  2350. 13
  2351. 8 13
  2352. 10 00000197
  2353. 6 6
  2354. 5 0
  2355. 18 0
  2356. 11 00000575
  2357. 6 1
  2358. 15
  2359. 9
  2360. 0 1043 &5 3 "_"
  2361. 5 1
  2362. 8 7
  2363. 6 6
  2364. 6 7
  2365. 18 2
  2366. 12 00000677
  2367. 10 00000912
  2368. 5 1
  2369. 6 7
  2370. 3 0
  2371. 8 7
  2372. 10 00000602
  2373. 6 7
  2374. 22 5
  2375. 0 20 [X] 3 ","
  2376. 13
  2377. 8 9
  2378. 0 20 "{9}" 3 " "
  2379. 13
  2380. 8 10
  2381. 0 39 34
  2382. 13
  2383. 8 14
  2384. 6 7
  2385. 22 5
  2386. 0 20 [X] 2 "{14}"
  2387. 13
  2388. 8 15
  2389. 0 20 "{10}" 6 "_"
  2390. 13
  2391. 8 11
  2392. 5 8000
  2393. 6 7
  2394. 3 0
  2395. 0 31 [X] "{15}"
  2396. 5 9500
  2397. 6 7
  2398. 3 0
  2399. 0 31 [X] "{11}"
  2400. 10 00000644
  2401. 6 1
  2402. 15
  2403. 9
  2404. 14 initdlg
  2405. 0 265 "target"
  2406. 13
  2407. 8 2
  2408. 0 284 "gdi,CreateFont,HHHHHHHHHHHHHHC" 13 0 0 0 400 0 0 0 0 0 0 0 0 "Helv"
  2409. 13
  2410. 8 4
  2411. 6 4
  2412. 11 00000319
  2413. 0 44 "{0}" 1050
  2414. 13
  2415. 8 5
  2416. 0 44 "{0}" 1060
  2417. 13
  2418. 8 6
  2419. 0 284 "user,SendMessage,HHHHJ" "{5}" 48 "{4}" 0
  2420. 0 284 "user,SendMessage,HHHHJ" "{6}" 48 "{4}" 0
  2421. 0 264 "Setfont:hFont" "{4}"
  2422. 0 279 3
  2423. 13
  2424. 8 7
  2425. 0 18 "{7}"
  2426. 13
  2427. 8 7
  2428. 0 39 091
  2429. 13
  2430. 8 8
  2431. 0 39 093
  2432. 13
  2433. 8 9
  2434. 0 16 "{8}" "{7}" "{9}"
  2435. 13
  2436. 8 7
  2437. 6 2
  2438. 7 "as_def"
  2439. 18 0
  2440. 11 00001181
  2441. 0 284 "user,GetActiveWindow,H"
  2442. 13
  2443. 0 284 "user,SetWindowText,IHC" [X] "Default Information"
  2444. 16 ComboLoad "{0}"
  2445. 0 44 "{0}" 3
  2446. 13
  2447. 0 284 "User,EnableWindow,AHH" [X] 0
  2448. 0 44 "{0}" 1060
  2449. 13
  2450. 0 284 "User,ShowWindow,AHH" [X] 0
  2451. 7 "Specify the field names you want to use for the default "
  2452. 8 10
  2453. 7 "information each time you create a document using this "
  2454. 8 11
  2455. 7 "style sheet. You can select an item in the User info list "
  2456. 8 12
  2457. 0 39 91
  2458. 13
  2459. 8 13
  2460. 0 133 "[[" 1 1
  2461. 13
  2462. 8 14
  2463. 7 "box if you want to use information stored in the {14}AutoStyleSheet] Section of "
  2464. 8 15
  2465. 7 "the AMIPRO2.INI."
  2466. 8 16
  2467. 7 "{10}{11}{12}{15}{16}"
  2468. 8 17
  2469. 0 31 1050 "{17}"
  2470. 16 combocallback "{0}" 9501
  2471. 16 sizedlgitem "{0}" 0 0 -4
  2472. 10 00002071
  2473. 0 284 "user,GetActiveWindow,H"
  2474. 13
  2475. 0 284 "user,SetWindowText,IHC" [X] "Optional Information"
  2476. 0 44 "{0}" 3
  2477. 13
  2478. 0 284 "User,ShowWindow,AHH" [X] 0
  2479. 0 44 "{0}" 1060
  2480. 13
  2481. 0 284 "User,ShowWindow,AHH" [X] 0
  2482. 0 44 "{0}" 1012
  2483. 13
  2484. 0 284 "User,ShowWindow,AHH" [X] 0
  2485. 0 44 "{0}" 1000
  2486. 13
  2487. 0 284 "User,ShowWindow,AHH" [X] 0
  2488. 0 44 "{0}" 1010
  2489. 13
  2490. 0 284 "User,ShowWindow,AHH" [X] 0
  2491. 5 9501
  2492. 8 18
  2493. 5 9509
  2494. 6 18
  2495. 18 2
  2496. 12 00001648
  2497. 10 00001719
  2498. 5 1
  2499. 6 18
  2500. 3 0
  2501. 8 18
  2502. 10 00001567
  2503. 0 44 "{0}" "{18}"
  2504. 13
  2505. 0 284 "User,ShowWindow,AHH" [X] 0
  2506. 10 00001613
  2507. 7 "Specify the field names you want to use for the optional information each time "
  2508. 8 10
  2509. 7 "you create a document using this style sheet."
  2510. 8 11
  2511. 16 movedlgitem "{0}" 1 -90 0
  2512. 16 movedlgitem "{0}" 2 -90 0
  2513. 16 movedlgitem "{0}" 1050 0 -30
  2514. 16 sizedlgitem "{0}" 1050 -80 0
  2515. 16 sizedlgitem "{0}" 0 -90 -40
  2516. 7 "{10}{11}{12}{15}"
  2517. 8 17
  2518. 0 31 1050 "{17}"
  2519. 6 3
  2520. 15
  2521. 9
  2522. 14 insertfields
  2523. 5 1
  2524. 8 3
  2525. 6 1
  2526. 6 3
  2527. 18 2
  2528. 12 00000102
  2529. 10 00000645
  2530. 5 1
  2531. 6 3
  2532. 3 0
  2533. 8 3
  2534. 10 00000027
  2535. 19 00000632
  2536. 0 273 "fieldnames" "{3}"
  2537. 13
  2538. 8 4
  2539. 6 4
  2540. 7 ""
  2541. 18 0
  2542. 11 00000193
  2543. 10 00000632
  2544. 0 7 "Move insertion point where you want to insert {4}."
  2545. 0 296 1
  2546. 7 "eb"
  2547. 8 5
  2548. 16 LabelNoBadChars "{4}"
  2549. 13
  2550. 8 6
  2551. 0 273 "combofields" "{3}"
  2552. 13
  2553. 8 7
  2554. 6 7
  2555. 7 ""
  2556. 18 1
  2557. 11 00000399
  2558. 0 16 "{7}" "_"
  2559. 13
  2560. 8 7
  2561. 0 16 "{0}" "_" "{3}" "_" "{5}" "_" "{6}" "_" "{7}"
  2562. 13
  2563. 8 8
  2564. 0 16 "{0}" "_" "{3}" "_" "{5}" "_"
  2565. 13
  2566. 8 9
  2567. 16 torchfields "{9}"
  2568. 0 24
  2569. 13
  2570. 7 ""
  2571. 18 1
  2572. 11 00000574
  2573. 0 6 "[46]"
  2574. 2 572 1 "if Defined {8} {8} else ""{4}"" endif"
  2575. 0 296 0
  2576. 10 00000069
  2577. 6 2
  2578. 15
  2579. 9
  2580. 14 echoer
  2581. 0 802
  2582. 13
  2583. 8 1
  2584. 0 32 2
  2585. 7 "as_"
  2586. 8 2
  2587. 0 1304 0
  2588. 13
  2589. 8 3
  2590. 5 0
  2591. 6 3
  2592. 18 0
  2593. 11 00000159
  2594. 0 3 "No fields to repeat." "SmartField Repeater"
  2595. 6 0
  2596. 15
  2597. 9
  2598. 19 00000623
  2599. 0 296 1
  2600. 6 3
  2601. 21 4 [X]
  2602. 5 1
  2603. 21 5 [X]
  2604. 5 0
  2605. 8 6
  2606. 0 1305 0 &4
  2607. 5 1
  2608. 8 7
  2609. 6 3
  2610. 6 7
  2611. 18 2
  2612. 12 00000319
  2613. 10 00000623
  2614. 5 1
  2615. 6 7
  2616. 3 0
  2617. 8 7
  2618. 10 00000244
  2619. 6 7
  2620. 22 4
  2621. 0 20 [X] 2 ","
  2622. 13
  2623. 8 8
  2624. 6 7
  2625. 22 4
  2626. 0 20 [X] 3 ","
  2627. 13
  2628. 8 9
  2629. 0 20 "{9}" 3 " "
  2630. 13
  2631. 8 10
  2632. 0 20 "{10}" 6 "_"
  2633. 13
  2634. 8 11
  2635. 0 14 "{2}"
  2636. 13
  2637. 8 12
  2638. 0 133 "{10}" 1 "{12}"
  2639. 13
  2640. 6 2
  2641. 18 0
  2642. 6 11
  2643. 7 "echo"
  2644. 18 1
  2645. 1 1
  2646. 11 00000610
  2647. 6 6
  2648. 5 1
  2649. 3 0
  2650. 8 6
  2651. 6 7
  2652. 22 4
  2653. 0 1041 &5 "{6}" [X]
  2654. 13
  2655. 8 13
  2656. 10 00000286
  2657. 0 789 ""
  2658. 0 1043 &5 3 "_"
  2659. 6 6
  2660. 21 14 [X]
  2661. 5 1
  2662. 8 7
  2663. 6 6
  2664. 6 7
  2665. 18 2
  2666. 12 00000751
  2667. 10 00001367
  2668. 5 1
  2669. 6 7
  2670. 3 0
  2671. 8 7
  2672. 10 00000676
  2673. 6 7
  2674. 22 5
  2675. 0 20 [X] 3 ","
  2676. 13
  2677. 8 9
  2678. 0 20 "{9}" 3 " "
  2679. 13
  2680. 8 10
  2681. 0 39 34
  2682. 13
  2683. 8 15
  2684. 6 7
  2685. 22 5
  2686. 0 20 [X] 2 "{15}"
  2687. 13
  2688. 8 16
  2689. 0 20 "{10}" 2 "_"
  2690. 13
  2691. 8 17
  2692. 0 20 "{10}" 1 "_"
  2693. 13
  2694. 0 20 "{10}" 2 "_"
  2695. 13
  2696. 0 20 "{10}" 3 "_"
  2697. 13
  2698. 0 20 "{10}" 4 "_"
  2699. 13
  2700. 0 20 "{10}" 5 "_"
  2701. 13
  2702. 0 16 [X] "_" [X] "_" [X] "_" [X] "_" [X] "_" "echo_"
  2703. 13
  2704. 8 18
  2705. 6 17
  2706. 7 "def"
  2707. 18 0
  2708. 11 00001148
  2709. 7 "Default"
  2710. 8 17
  2711. 10 00001203
  2712. 6 17
  2713. 7 "user"
  2714. 18 0
  2715. 11 00001203
  2716. 7 "Optional"
  2717. 8 17
  2718. 0 20 "{10}" 3 "_"
  2719. 13
  2720. 0 16 "{17}" " - " "{16}" "                                     |" "{18}" "|" "{16}" "|" "{17}" [X]
  2721. 13
  2722. 8 19
  2723. 6 7
  2724. 6 19
  2725. 23 14
  2726. 10 00000718
  2727. 0 1043 &14 4 "|"
  2728. 0 31 9000 &14
  2729. 0 26 "." "echobox"
  2730. 13
  2731. 8 20
  2732. 6 20
  2733. 5 0
  2734. 18 0
  2735. 11 00001481
  2736. 0 296 0
  2737. 6 0
  2738. 15
  2739. 9
  2740. 0 27 9000
  2741. 13
  2742. 0 20 [X] 1 "|"
  2743. 13
  2744. 8 21
  2745. 0 27 9000
  2746. 13
  2747. 0 20 [X] 2 "|"
  2748. 13
  2749. 8 22
  2750. 0 27 9000
  2751. 13
  2752. 0 20 [X] 3 "|"
  2753. 13
  2754. 8 23
  2755. 0 20 "{22}" 2 "_"
  2756. 13
  2757. 8 17
  2758. 6 17
  2759. 7 "def"
  2760. 18 0
  2761. 11 00001699
  2762. 7 "Default"
  2763. 8 17
  2764. 10 00001754
  2765. 6 17
  2766. 7 "user"
  2767. 18 0
  2768. 11 00001754
  2769. 7 "Optional"
  2770. 8 17
  2771. 0 789 "To insert a repeat of this field, choose Resume.  To return to the box to choose another field, choose Cancel."
  2772. 0 7 "Move insertion point where you want to insert {17} - {23}."
  2773. 0 24
  2774. 13
  2775. 7 ""
  2776. 18 1
  2777. 11 00001987
  2778. 0 6 "[46]"
  2779. 2 572 1 "if Defined {22} {22} else ""{17} - {23} (repeat)"" endif"
  2780. 10 00000623
  2781. 6 0
  2782. 15
  2783. 9
  2784. 14 comboload
  2785. 0 802
  2786. 13
  2787. 8 2
  2788. 0 286 "AutoStyleSheets" 0 "AMIPRO2.INI"
  2789. 13
  2790. 8 3
  2791. 16 countfields "{3}" "~"
  2792. 13
  2793. 8 4
  2794. 6 4
  2795. 21 5 [X]
  2796. 5 1
  2797. 8 6
  2798. 6 4
  2799. 6 6
  2800. 18 2
  2801. 12 00000215
  2802. 10 00000275
  2803. 5 1
  2804. 6 6
  2805. 3 0
  2806. 8 6
  2807. 10 00000140
  2808. 0 20 "{3}" "{6}" "~"
  2809. 13
  2810. 8 7
  2811. 6 6
  2812. 6 7
  2813. 23 5
  2814. 10 00000182
  2815. 0 1041 &5 1 ""
  2816. 0 1044 &5 "NoQuestions"
  2817. 13
  2818. 8 8
  2819. 6 8
  2820. 5 0
  2821. 18 1
  2822. 11 00000371
  2823. 0 1042 &5 "{8}"
  2824. 0 1044 &5 "DataGood"
  2825. 13
  2826. 8 9
  2827. 6 9
  2828. 5 0
  2829. 18 1
  2830. 11 00000448
  2831. 0 1042 &5 "{9}"
  2832. 5 9501
  2833. 8 10
  2834. 5 9509
  2835. 6 10
  2836. 18 2
  2837. 12 00000543
  2838. 10 00000605
  2839. 5 1
  2840. 6 10
  2841. 3 0
  2842. 8 10
  2843. 10 00000462
  2844. 0 31 "{10}" &5
  2845. 0 41 "{10}" "{2}!combocallback"
  2846. 10 00000508
  2847. 6 1
  2848. 15
  2849. 9
  2850. 14 combocallback
  2851. 0 32 2
  2852. 0 42 "{0}" "{1}"
  2853. 13
  2854. 8 3
  2855. 0 286 "AutoStyleSheets" "{3}" "AMIPRO2.INI"
  2856. 13
  2857. 8 4
  2858. 6 3
  2859. 7 ""
  2860. 18 0
  2861. 11 00000148
  2862. 7 ""
  2863. 8 4
  2864. 0 43 "{0}" 1010 "{4}"
  2865. 6 1
  2866. 5 1500
  2867. 3 1
  2868. 8 5
  2869. 0 42 "{0}" "{5}"
  2870. 13
  2871. 8 6
  2872. 6 6
  2873. 7 ""
  2874. 18 0
  2875. 11 00000275
  2876. 0 43 "{0}" "{5}" "{3}"
  2877. 6 2
  2878. 15
  2879. 9
  2880. 14 countfields
  2881. 5 1
  2882. 8 3
  2883. 5 0
  2884. 8 4
  2885. 5 1
  2886. 11 00000183
  2887. 0 13 "{3}" "{0}" "{1}"
  2888. 13
  2889. 8 5
  2890. 6 5
  2891. 5 -1
  2892. 18 0
  2893. 11 00000130
  2894. 10 00000183
  2895. 6 4
  2896. 5 1
  2897. 3 0
  2898. 8 4
  2899. 6 5
  2900. 5 1
  2901. 3 0
  2902. 8 3
  2903. 10 00000036
  2904. 6 4
  2905. 15
  2906. 9
  2907. 6 2
  2908. 15
  2909. 9
  2910. 14 frameinsert
  2911. 0 1313 217 24 402
  2912. 13
  2913. 8 1
  2914. 6 1
  2915. 5 1
  2916. 18 1
  2917. 11 00000129
  2918. 0 7 "Create the frame and choose Resume."
  2919. 10 00000016
  2920. 0 795 &9 &10 &11 &12 &13 &14 &15 &16 &17
  2921. 0 772
  2922. 13
  2923. 0 807 [X] 4
  2924. 13
  2925. 8 21
  2926. 2 466 1 "as_frame{21}" 4003
  2927. 2 413 1 "{11}" "{12}" "{9}" "{10}"
  2928. 2 421 1
  2929. 2 416 1 0 1 1 0 16777215 0 0 0 0 0
  2930. 2 417 1 134218240 18 "framcust.smm({21})"
  2931. 2 418 1 "{9}" "{10}" "{11}" "{12}" "{13}" "{14}" "{15}" "{16}" 1
  2932. 2 420 1
  2933. 2 407 1
  2934. 2 466 1 "as_frame{21}cover" 4003
  2935. 0 6 "[13][13]Click on this frame to insert text or graphics in this area."
  2936. 2 260 1
  2937. 0 6 "[27][27]"
  2938. 6 0
  2939. 15
  2940. 9
  2941. 14 FieldNumToName
  2942. 0 1304 0
  2943. 13
  2944. 8 2
  2945. 6 2
  2946. 21 3 [X]
  2947. 0 1305 0 &3
  2948. 0 1044 &3 "{0}" 1 ","
  2949. 13
  2950. 8 4
  2951. 6 4
  2952. 22 3
  2953. 0 20 [X] 3 ","
  2954. 13
  2955. 8 5
  2956. 0 20 "{5}" 3 " "
  2957. 13
  2958. 8 6
  2959. 6 6
  2960. 8 1
  2961. 6 1
  2962. 15
  2963. 9
  2964. 14 savesty
  2965. 0 1313 217 24 305
  2966. 13
  2967. 5 1
  2968. 18 1
  2969. 11 00000071
  2970. 6 0
  2971. 15
  2972. 9
  2973. 7 "automate.sty"
  2974. 8 1
  2975. 0 269
  2976. 13
  2977. 0 269
  2978. 13
  2979. 0 14 [X]
  2980. 13
  2981. 5 1
  2982. 3 1
  2983. 0 133 [X] 1 [X]
  2984. 13
  2985. 8 2
  2986. 0 31 1004 "{2}"
  2987. 0 31 8002 "{1}"
  2988. 0 26 "." "savesty"
  2989. 13
  2990. 8 3
  2991. 6 3
  2992. 5 0
  2993. 18 0
  2994. 11 00000270
  2995. 6 0
  2996. 15
  2997. 9
  2998. 0 27 8002
  2999. 13
  3000. 8 4
  3001. 0 13 1 "{4}" "."
  3002. 13
  3003. 5 -1
  3004. 18 0
  3005. 11 00000365
  3006. 0 16 "{4}" ".sty"
  3007. 13
  3008. 8 4
  3009. 0 18 "{4}"
  3010. 13
  3011. 8 4
  3012. 0 27 8003
  3013. 13
  3014. 8 5
  3015. 2 305 1 "{4}" 1 "autosty.smm" 1 "{5}"
  3016. 13
  3017. 8 6
  3018. 6 0
  3019. 15
  3020. 9
  3021. 14 bookmarker
  3022. 0 1313 217 24 466
  3023. 13
  3024. 5 1
  3025. 18 1
  3026. 11 00000074
  3027. 6 0
  3028. 15
  3029. 9
  3030. 0 7 "Move insertion point where you want to begin typing."
  3031. 2 466 1 "as_starttext" 4004
  3032. 2 466 1 "as_starttext" 4003
  3033. 6 0
  3034. 15
  3035. 9
  3036. 14 editsty
  3037. 0 802
  3038. 13
  3039. 8 1
  3040. 0 285 "{1}!AmiButtonCheck(25550, 0)" 0.1
  3041. 0 285 "{1}!AmiButtonCheck(25551, 1)" 0.1
  3042. 0 285 "{1}!AmiUIGray(25550, 0)" 0.1
  3043. 0 285 "{1}!AmiUIGray(25551, 0)" 0.1
  3044. 0 274 004
  3045. 24 101
  3046. 6 0
  3047. 15
  3048. 9
  3049. 14 LabelNoBadChars
  3050. 7 " ""%'()*+,-/;<<=>@[92]^}"
  3051. 8 2
  3052. 5 1
  3053. 8 3
  3054. 0 14 "{2}"
  3055. 13
  3056. 6 3
  3057. 18 2
  3058. 12 00000151
  3059. 10 00000544
  3060. 5 1
  3061. 6 3
  3062. 3 0
  3063. 8 3
  3064. 10 00000065
  3065. 0 133 "{2}" "{3}" 1
  3066. 13
  3067. 8 4
  3068. 0 13 1 "{0}" "{4}"
  3069. 13
  3070. 5 -1
  3071. 18 1
  3072. 11 00000531
  3073. 5 10
  3074. 21 5 [X]
  3075. 5 1
  3076. 8 6
  3077. 5 10
  3078. 6 6
  3079. 18 2
  3080. 12 00000332
  3081. 10 00000497
  3082. 5 1
  3083. 6 6
  3084. 3 0
  3085. 8 6
  3086. 10 00000256
  3087. 6 6
  3088. 0 20 "{0}" "{6}" "{4}"
  3089. 13
  3090. 23 5
  3091. 6 6
  3092. 22 5
  3093. 5 -1
  3094. 18 0
  3095. 6 6
  3096. 22 5
  3097. 7 ""
  3098. 18 0
  3099. 1 2
  3100. 11 00000448
  3101. 10 00000497
  3102. 6 6
  3103. 22 5
  3104. 0 16 "{7}" [X]
  3105. 13
  3106. 8 7
  3107. 10 00000299
  3108. 6 7
  3109. 8 0
  3110. 7 ""
  3111. 8 7
  3112. 10 00000181
  3113. 10 00000118
  3114. 6 0
  3115. 8 8
  3116. 6 8
  3117. 7 ""
  3118. 18 0
  3119. 11 00000638
  3120. 0 772
  3121. 13
  3122. 0 807 [X] 4
  3123. 13
  3124. 0 16 "temp" [X]
  3125. 13
  3126. 8 8
  3127. 6 8
  3128. 15
  3129. 9
  3130. 6 1
  3131. 15
  3132. 9
  3133. 14 removemenuitem
  3134. 0 521 1 "S&martFields"
  3135. 6 0
  3136. 15
  3137. 9
  3138. 14 movedlgitem
  3139. 0 44 "{0}" "{1}"
  3140. 13
  3141. 8 5
  3142. 6 1
  3143. 7 ""
  3144. 18 0
  3145. 6 1
  3146. 5 0
  3147. 18 0
  3148. 1 2
  3149. 11 00000104
  3150. 6 0
  3151. 8 5
  3152. 5 4
  3153. 21 6 [X]
  3154. 5 4
  3155. 21 7 [X]
  3156. 0 284 "user,GetWindowRect,HHN" "{5}" &6
  3157. 6 1
  3158. 7 ""
  3159. 18 1
  3160. 6 1
  3161. 5 0
  3162. 18 1
  3163. 1 1
  3164. 11 00000268
  3165. 0 284 "user,ScreenToClient,HHN" "{0}" &6
  3166. 0 284 "user,GetClientRect,HHN" "{5}" &7
  3167. 5 1
  3168. 22 6
  3169. 8 8
  3170. 5 2
  3171. 22 6
  3172. 8 9
  3173. 5 3
  3174. 22 7
  3175. 8 10
  3176. 5 4
  3177. 22 7
  3178. 8 11
  3179. 6 8
  3180. 6 2
  3181. 3 0
  3182. 6 9
  3183. 6 3
  3184. 3 0
  3185. 0 284 "user,MoveWindow,HHHHHHH" "{5}" [X] [X] "{10}" "{11}" 1
  3186. 6 4
  3187. 15
  3188. 9
  3189. 14 sizedlgitem
  3190. 0 44 "{0}" "{1}"
  3191. 13
  3192. 8 5
  3193. 6 1
  3194. 7 ""
  3195. 18 0
  3196. 6 1
  3197. 5 0
  3198. 18 0
  3199. 1 2
  3200. 11 00000104
  3201. 6 0
  3202. 8 5
  3203. 5 4
  3204. 21 6 [X]
  3205. 5 4
  3206. 21 7 [X]
  3207. 0 284 "user,GetWindowRect,HHN" "{5}" &6
  3208. 6 1
  3209. 7 ""
  3210. 18 1
  3211. 6 1
  3212. 5 0
  3213. 18 1
  3214. 1 1
  3215. 11 00000268
  3216. 0 284 "user,ScreenToClient,HHN" "{0}" &6
  3217. 0 284 "user,GetClientRect,HHN" "{5}" &7
  3218. 5 1
  3219. 22 6
  3220. 8 8
  3221. 5 2
  3222. 22 6
  3223. 8 9
  3224. 5 3
  3225. 22 7
  3226. 8 10
  3227. 5 4
  3228. 22 7
  3229. 8 11
  3230. 6 10
  3231. 6 2
  3232. 3 0
  3233. 6 11
  3234. 6 3
  3235. 3 0
  3236. 0 284 "user,MoveWindow,HHHHHHH" "{5}" "{8}" "{9}" [X] [X] 1
  3237. 6 4
  3238. 15
  3239. 9
  3240. 14 torchfields
  3241. 0 1313 217 24 227
  3242. 13
  3243. 5 1
  3244. 18 1
  3245. 11 00000075
  3246. 6 1
  3247. 15
  3248. 9
  3249. 0 1304 0
  3250. 13
  3251. 8 2
  3252. 5 0
  3253. 6 2
  3254. 18 1
  3255. 11 00000618
  3256. 0 20 "{0}" 3 "_"
  3257. 13
  3258. 5 -1
  3259. 18 0
  3260. 11 00000251
  3261. 0 2 "Remove all SmartFields?"
  3262. 13
  3263. 8 3
  3264. 6 3
  3265. 5 0
  3266. 18 0
  3267. 11 00000251
  3268. 6 1
  3269. 15
  3270. 9
  3271. 6 2
  3272. 21 4 [X]
  3273. 0 1305 0 &4
  3274. 5 1
  3275. 8 5
  3276. 6 2
  3277. 6 5
  3278. 18 2
  3279. 12 00000364
  3280. 10 00000605
  3281. 5 1
  3282. 6 5
  3283. 3 0
  3284. 8 5
  3285. 10 00000289
  3286. 6 5
  3287. 22 4
  3288. 0 20 [X] 1 ","
  3289. 13
  3290. 8 6
  3291. 6 5
  3292. 22 4
  3293. 0 20 [X] 2 ","
  3294. 13
  3295. 8 7
  3296. 6 5
  3297. 22 4
  3298. 0 20 [X] 3 ","
  3299. 13
  3300. 8 8
  3301. 0 20 "{8}" 3 " "
  3302. 13
  3303. 8 9
  3304. 0 14 "{0}"
  3305. 13
  3306. 8 10
  3307. 0 133 "{9}" 1 "{10}"
  3308. 13
  3309. 6 0
  3310. 18 0
  3311. 11 00000592
  3312. 2 227 1 "{6}" "{7}"
  3313. 10 00000331
  3314. 10 00000714
  3315. 0 20 "{0}" 3 "_"
  3316. 13
  3317. 5 -1
  3318. 18 0
  3319. 11 00000714
  3320. 0 3 "No fields to remove." "SmartField Remover"
  3321. 6 1
  3322. 15
  3323. 9
  3324. 14 AmiButtonCheck
  3325. 0 284 "user,GetActiveWindow,H"
  3326. 13
  3327. 8 3
  3328. 0 44 "{3}" "{0}"
  3329. 13
  3330. 8 4
  3331. 0 1036 "{4}" 1025 "{1}" 0
  3332. 6 2
  3333. 15
  3334. 9
  3335. 14 AmiUIGray
  3336. 0 284 "user,GetActiveWindow,H"
  3337. 13
  3338. 8 3
  3339. 0 44 "{3}" "{0}"
  3340. 13
  3341. 8 4
  3342. 0 284 "User,EnableWindow,AHH" "{4}" "{1}"
  3343. 6 2
  3344. 15
  3345. 9
  3346. DIALOG autostyle
  3347. -2134376448 35 116 46 232 224 "" "" "_LETTER1.STY Information" 
  3348. FONT 8 "Helv" 
  3349. 34 18 92 12 8001 1350631552 "edit" "" 0 
  3350. 130 18 52 80 9501 1344339971 "combobox" "" 0 
  3351. 34 34 92 12 8002 1350631552 "edit" "" 0 
  3352. 130 34 52 80 9502 1344339971 "combobox" "" 0 
  3353. 34 48 92 12 8003 1350631552 "edit" "" 0 
  3354. 130 48 52 80 9503 1344339971 "combobox" "" 0 
  3355. 34 64 92 12 8004 1350631552 "edit" "" 0 
  3356. 130 64 52 80 9504 1344339971 "combobox" "" 0 
  3357. 34 78 92 12 8005 1350631552 "edit" "" 0 
  3358. 130 78 52 80 9505 1344339971 "combobox" "" 0 
  3359. 34 94 92 12 8006 1350631552 "edit" "" 0 
  3360. 130 94 52 80 9506 1344339971 "combobox" "" 0 
  3361. 34 108 92 12 8007 1350631552 "edit" "" 0 
  3362. 130 108 52 80 9507 1344339971 "combobox" "" 0 
  3363. 34 124 92 12 8008 1350631552 "edit" "" 0 
  3364. 130 124 52 80 9508 1344339971 "combobox" "" 0 
  3365. 34 138 92 12 8009 1350631552 "edit" "" 0 
  3366. 130 138 52 80 9509 1344339971 "combobox" "" 0 
  3367. 3 20 26 10 1001 1342177280 "static" "Field 1:" 0 
  3368. 3 35 26 9 1002 1342177280 "static" "Field 2:" 0 
  3369. 3 50 26 9 1003 1342177280 "static" "Field 3:" 0 
  3370. 3 65 26 9 1004 1342177280 "static" "Field 4:" 0 
  3371. 3 80 26 9 1005 1342177280 "static" "Field 5:" 0 
  3372. 3 95 26 9 1006 1342177280 "static" "Field 6:" 0 
  3373. 3 110 26 9 1007 1342177280 "static" "Field 7:" 0 
  3374. 3 125 26 9 1008 1342177280 "static" "Field 8:" 0 
  3375. 3 140 26 9 1009 1342177280 "static" "Field 9:" 0 
  3376. 4 172 222 36 1050 1342177280 "static" "Default box text" 0 
  3377. 4 172 222 36 1060 1342177280 "static" "User box text" 0 
  3378. 186 16 40 14 1 1342373889 "button" "OK" 0 
  3379. 186 32 40 14 2 1342373888 "button" "Cancel" 0 
  3380. 3 158 102 10 1000 1342177280 "static" "Current information:" 0 
  3381. 70 158 160 10 1010 1342177280 "static" "" 0 
  3382. 34 6 60 10 1011 1342177280 "static" "Fields:" 0 
  3383. 130 6 44 10 1012 1342177280 "static" "User info:" 0 
  3384. DIALOG echobox
  3385. -2134376448 4 84 70 160 92 "" "" "Make Fields Repeat" 
  3386. FONT 8 "Helv" 
  3387. 6 16 102 70 9000 1352728577 "listbox" "" 0 
  3388. 116 4 40 14 1 1342373889 "button" "OK" 0 
  3389. 116 20 40 14 2 1342373888 "button" "Done" 0 
  3390. 6 4 74 10 1000 1342177280 "static" "Select field to repeat:" 0 
  3391. DIALOG savesty
  3392. -2134376448 9 102 54 204 92 "" "" "Save As Automated Style Sheet" 
  3393. FONT 8 "Helv" 
  3394. 52 40 86 12 8002 1350631552 "edit" "" 0 
  3395. 52 58 146 26 8003 1350631552 "edit" "" 0 
  3396. 159 5 40 14 1 1342373889 "button" "OK" 0 
  3397. 159 21 40 14 2 1342373888 "button" "Cancel" 0 
  3398. 4 39 28 10 1000 1342177280 "static" "&Name:" 0 
  3399. 4 58 44 10 1001 1342177280 "static" "Description:" 0 
  3400. 4 3 132 20 1002 1342177280 "static" "Type the name and description for this automated style sheet." 0 
  3401. 4 24 58 10 1003 1342177280 "static" "Style sheet path:" 0 
  3402. 66 24 80 10 1004 1342177280 "static" "path" 0 
  3403. 00042136
  3404.