home *** CD-ROM | disk | FTP | other *** search
/ AppleScript - The Beta Release / AppleScript - The Beta Release.iso / Development Tools / Sample Applications / MenuScripter 1.0d4.1 / MenuScripter Source / MenuScripter.r < prev    next >
Encoding:
Text File  |  1992-11-24  |  46.8 KB  |  2,068 lines  |  [TEXT/MPS ]

  1. #define mApple  128
  2. #define mFile   129
  3. #define mEdit   130
  4. #define mFont   131
  5. #define mSize   132
  6. #define mStyle  133
  7. #define mScript 134
  8.  
  9. #define kPrefSize    500
  10. #define kMinSize    500
  11.  
  12.  
  13. #include "Types.r"
  14. #include "SysTypes.r"
  15. #include "BalloonTypes.r"
  16. #include "MSPict.r"
  17. #include "AEUserTermTypes.r"
  18. #include "AERegistry.r"
  19. #include "AppleEvents.r"
  20.  
  21. data 'SCPT' (mEdit*32+3){
  22. "Cut\n"
  23. };
  24.  
  25. data 'SCPT' (mEdit*32+4){
  26. "Copy\n"
  27. };
  28.  
  29. data 'SCPT' (mEdit*32+5){
  30. "Paste\n"
  31. };
  32.  
  33. data 'SCPT' (mEdit*32+6){
  34. "copy selection of window 1 to usersel\n"
  35. "set usersel to ""\n"
  36. };
  37.  
  38. data 'SCPT' (mEdit*32+7){
  39. "set the selection of window 1 to (character 1 thru -1) of window 1\n"
  40. };
  41.  
  42. data 'SCPT' (mEdit*32+9){
  43. "copy selection of window 1 to usersel\n"
  44. "Create Publisher usersel\n"
  45. };
  46.  
  47. data 'SCPT' (mEdit*32+12){
  48. "set bordersvis to the show borders of window 1\n"
  49. "set bordersvis to not bordersvis\n"
  50. "set the show borders of window 1 to bordersvis\n"
  51. };
  52.  
  53. data 'SCPT' (mFile*32+1){
  54. "Make Window\n"
  55. };
  56.  
  57. data 'SCPT' (mFile*32+4){
  58. "Close Window 1\n"
  59. };
  60.  
  61. data 'SCPT' (mFile*32+10){
  62. "Print window 1\n"
  63. };
  64.  
  65. data 'SCPT' (mFile*32+12){
  66. "Quit Application\n"
  67. };
  68.  
  69. data 'SCPT' (mFont*32){
  70. "set mitem to the active item of menu \"Font\" \n"
  71. "copy selection of window 1 to usersel\n"
  72. "set fontname to the name of menu item mitem of menu \"Font\" \n"
  73. "set the font of usersel to fontname \n"
  74. };
  75.  
  76. data 'SCPT' (mSize*32+1){
  77. "copy selection of window 1 to usersel\n"
  78. "set size of usersel to 8\n"
  79. };
  80.  
  81. data 'SCPT' (mSize*32+2){
  82. "copy selection of window 1 to usersel\n"
  83. "set size of usersel to 9\n"
  84. };
  85.  
  86. data 'SCPT' (mSize*32+3){
  87. "copy selection of window 1 to usersel\n"
  88. "set size of usersel to 10\n"
  89. };
  90.  
  91. data 'SCPT' (mSize*32+4){
  92. "copy selection of window 1 to usersel\n"
  93. "set size of usersel to 12\n"
  94. };
  95.  
  96. data 'SCPT' (mSize*32+5){
  97. "copy selection of window 1 to usersel\n"
  98. "set size of usersel to 14\n"
  99. };
  100.  
  101. data 'SCPT' (mSize*32+6){
  102. "copy selection of window 1 to usersel\n"
  103. "set size of usersel to 18\n"
  104. };
  105.  
  106. data 'SCPT' (mSize*32+7){
  107. "copy selection of window 1 to usersel\n"
  108. "set size of usersel to 24\n"
  109. };
  110.  
  111. data 'SCPT' (mSize*32+8){
  112. "copy selection of window 1 to usersel\n"
  113. "set size of usersel to 36\n"
  114. };
  115.  
  116. data 'SCPT' (mSize*32+9){
  117. "copy selection of window 1 to usersel\n"
  118. "set size of usersel to 48\n"
  119. };
  120.  
  121. data 'SCPT' (mSize*32+11){
  122. "copy selection of window 1 to usersel\n"
  123. "set fontsize to the size of usersel\n"
  124. "set fontsize to fontsize+1 \n"
  125. "if fontsize=2000\n"
  126. "set fontsize to 12\n"
  127. "end if\n"
  128. "set the size of usersel to fontsize\n"
  129. };
  130.  
  131. data 'SCPT' (mSize*32+12){
  132. "copy selection of window 1 to usersel\n"
  133. "set fontsize to the size of usersel\n"
  134. "set fontsize to fontsize-1 \n"
  135. "if fontsize=0\n"
  136. "set fontsize to 12\n"
  137. "end if\n"
  138. "set the size of usersel to fontsize\n"
  139. };
  140.  
  141. data 'SCPT' (mStyle*32+1){
  142. "copy selection of window 1 to usersel\n"
  143. "set x to \{class:text style info, on styles:\{\"plan\"\}, off styles:\{\}\}\n"
  144. "set style of usersel to x\n"
  145. };
  146.  
  147. data 'SCPT' (mStyle*32+1){
  148. "copy selection of window 1 to usersel\n"
  149. "set x to \{class:text style info, on styles:Plain, off styles:\{\}\}\n"
  150. "copy x to style of usersel\n"
  151. };
  152.  
  153. data 'SCPT' (mStyle*32+2){
  154. "copy selection of window 1 to usersel\n"
  155. "copy style of usersel to selstyle\n"
  156. "if on styles of selstyle contains bold then\n"
  157. "set x to \{class:text style info, on styles:\{\}, off styles:\{bold\}\}\n"
  158. "else\n"
  159. "set x to \{class:text style info, on styles:\{bold\}, off styles:\{\}\}\n"
  160. "end if\n"
  161. "set style of usersel to x\n"
  162. };
  163.  
  164. data 'SCPT' (mStyle*32+3){
  165. "copy selection of window 1 to usersel\n"
  166. "copy style of usersel to selstyle\n"
  167. "if on styles of selstyle contains italic then\n"
  168. "set x to \{class:text style info, on styles:\{\}, off styles:\{italic\}\}\n"
  169. "else\n"
  170. "set x to \{class:text style info, on styles:\{italic\}, off styles:\{\}\}\n"
  171. "end if\n"
  172. "set style of usersel to x\n"
  173. };
  174.  
  175. data 'SCPT' (mStyle*32+4){
  176. "copy selection of window 1 to usersel\n"
  177. "copy style of usersel to selstyle\n"
  178. "if on styles of selstyle contains underline then\n"
  179. "set x to \{class:text style info, on styles:\{\}, off styles:\{underline\}\}\n"
  180. "else\n"
  181. "set x to \{class:text style info, on styles:\{underline\}, off styles:\{\}\}\n"
  182. "end if\n"
  183. "set style of usersel to x\n"
  184. };
  185.  
  186. data 'SCPT' (mStyle*32+5){
  187. "copy selection of window 1 to usersel\n"
  188. "copy style of usersel to selstyle\n"
  189. "if on styles of selstyle contains outline then\n"
  190. "set x to \{class:text style info, on styles:\{\}, off styles:\{outline\}\}\n"
  191. "else\n"
  192. "set x to \{class:text style info, on styles:\{outline\}, off styles:\{\}\}\n"
  193. "end if\n"
  194. "set style of usersel to x\n"
  195. };
  196.  
  197. data 'SCPT' (mStyle*32+6){
  198. "copy selection of window 1 to usersel\n"
  199. "copy style of usersel to selstyle\n"
  200. "if on styles of selstyle contains shadow then\n"
  201. "set x to \{class:text style info, on styles:\{\}, off styles:\{shadow\}\}\n"
  202. "else\n"
  203. "set x to \{class:text style info, on styles:\{shadow\}, off styles:\{\}\}\n"
  204. "end if\n"
  205. "set style of usersel to x\n"
  206. };
  207.  
  208. data 'SCPT' (mStyle*32+7){
  209. "copy selection of window 1 to usersel\n"
  210. "copy style of usersel to selstyle\n"
  211. "if on styles of selstyle contains condensed then\n"
  212. "set x to \{class:text style info, on styles:\{\}, off styles:\{condensed\}\}\n"
  213. "else\n"
  214. "set x to \{class:text style info, on styles:\{condensed\}, off styles:\{\}\}\n"
  215. "end if\n"
  216. "set style of usersel to x\n"
  217. };
  218.  
  219. resource 'DITL' (400, "Menu Script Editor") {
  220.     {    /* array DITLarray: 5 elements */
  221.         /* [1] */
  222.         {164, 319, 184, 377},
  223.         Button {
  224.             enabled,
  225.             "OK"
  226.         },
  227.         /* [2] */
  228.         {164, 251, 184, 309},
  229.         Button {
  230.             enabled,
  231.             "Cancel"
  232.         },
  233.         /* [3] */
  234.         {164, 181, 184, 239},
  235.         Button {
  236.             enabled,
  237.             "Compile"
  238.         },
  239.         /* [4] */
  240.         {9, 10, 155, 362},
  241.         UserItem {
  242.             enabled
  243.         },
  244.         /* [5] */
  245.         {9, 361, 155, 377},
  246.         UserItem {
  247.             disabled
  248.         }
  249.     }
  250. };
  251.  
  252. resource 'DLOG' (400, "Menu Script Editor") {
  253.     {80, 40, 274, 431},
  254.     movableDBoxProc,
  255.     visible,
  256.     noGoAway,
  257.     0x0,
  258.     400,
  259.     "Menu Script"
  260. };
  261.  
  262. resource 'vers' (1) {
  263.     0x03, 0x00, development, 0x04,
  264.     verBritain,
  265.     "3.0d4.1",
  266.     "3.0d4.1, UK Developer Technical Support, 1992"
  267. };
  268.  
  269. resource 'ICN#' (129) {
  270.     {    /* array: 2 elements */
  271.         /* [1] */
  272.         $"0FFF FE00 0800 0300 0800 0280 0BEE DA40"
  273.         $"0800 0220 0BF6 F210 0800 03F8 0BEF BDC8"
  274.         $"081F FFE8 0B64 0038 0844 0018 0BC4 0018"
  275.         $"0847 FFF8 0B40 00E8 0847 FC88 0AC7 FCC8"
  276.         $"0840 1888 0BC0 18E8 0840 3088 0B40 30C8"
  277.         $"0840 3088 0AC0 70E8 0840 6088 0BC0 60C8"
  278.         $"0840 E088 0AC0 C0E8 0FC0 C088 0C40 00E8"
  279.         $"0C40 0088 0BFF FF68 0800 0008 0FFF FFF8",
  280.         /* [2] */
  281.         $"0FFF FE00 0FFF FF00 0FFF FF80 0FFF FFC0"
  282.         $"0FFF FFE0 0FFF FFF0 0FFF FFF8 0FFF FFF8"
  283.         $"0FFF FFF8 0FFF FFF8 0FFF FFF8 0FFF FFF8"
  284.         $"0FFF FFF8 0FFF FFF8 0FFF FFF8 0FFF FFF8"
  285.         $"0FFF FFF8 0FFF FFF8 0FFF FFF8 0FFF FFF8"
  286.         $"0FFF FFF8 0FFF FFF8 0FFF FFF8 0FFF FFF8"
  287.         $"0FFF FFF8 0FFF FFF8 0FFF FFF8 0FFF FFF8"
  288.         $"0FFF FFF8 0FFF FFF8 0FFF FFF8 0FFF FFF8"
  289.     }
  290. };
  291.  
  292. resource 'ICN#' (128) {
  293.     {    /* array: 2 elements */
  294.         /* [1] */
  295.         $"00FF FFFC 0110 0002 0208 0001 0208 0001"
  296.         $"0208 0001 020F FFFF 0200 0020 0200 0020"
  297.         $"0207 FF20 0208 0120 021B F920 0216 0920"
  298.         $"021C 1220 0200 1220 0200 1220 0200 3220"
  299.         $"0200 2420 0200 27A0 0200 68E0 0200 5E30"
  300.         $"0200 7F9C 0200 981C 0200 BC1C 0200 A7FC"
  301.         $"0201 203C 0201 E020 FE00 0020 8200 0020"
  302.         $"8200 0020 8200 0020 4400 0040 3FFF FF80",
  303.         /* [2] */
  304.         $"00FF FFFC 01FF FFFE 03FF FFFF 03FF FFFF"
  305.         $"03FF FFFF 03FF FFFF 03FF FFE0 03FF FFE0"
  306.         $"03FF FFE0 03FF FFE0 03FF FFE0 03FF FFE0"
  307.         $"03FF FFE0 03FF FFE0 03FF FFE0 03FF FFE0"
  308.         $"03FF FFE0 03FF FFE0 03FF FFE0 03FF FFF0"
  309.         $"03FF FFFC 03FF FFFC 03FF FFFC 03FF FFFC"
  310.         $"03FF FFFC 03FF FFE0 FFFF FFE0 FFFF FFE0"
  311.         $"FFFF FFE0 FFFF FFE0 7FFF FFC0 3FFF FF80"
  312.     }
  313. };
  314.  
  315. resource 'ics#' (128) {
  316.     {    /* array: 2 elements */
  317.         /* [1] */
  318.         $"1FFF 1201 13FF 1004 13F4 17F4 1654 1054"
  319.         $"107C 10FC 10FE 10FE 11C6 F004 9004 FFF8",
  320.         /* [2] */
  321.         $"1FFF 1FFF 1FFF 1FFC 1FFC 1FFC 1FFC 1FFC"
  322.         $"1FFC 1FFC 1FFE 1FFE 1FFE FFFC FFFC FFF8"
  323.     }
  324. };
  325.  
  326. resource 'ics#' (129) {
  327.     {    /* array: 2 elements */
  328.         /* [1] */
  329.         $"3FF0 3FF8 3FD4 3FFE 3FFE 3A06 3BFE 3BEA"
  330.         $"386E 384A 38CE 38CA 38CE 388E 3FFE 3FFE",
  331.         /* [2] */
  332.         $"3FF0 3FF8 3FFC 3FFE 3FFE 3FFE 3FFE 3FFE"
  333.         $"3FFE 3FFE 3FFE 3FFE 3FFE 3FFE 3FFE 3FFE"
  334.     }
  335. };
  336.  
  337. resource 'icl8' (128) {
  338.     $"0000 0000 0000 0000 FFFF FFFF FFFF FFFF"
  339.     $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF 0000"
  340.     $"0000 0000 0000 00FF FAFA FAFF 0000 0000"
  341.     $"0000 0000 0000 0000 0000 0000 0000 FF00"
  342.     $"0000 0000 0000 FFF7 F7F7 F7F7 FF00 0000"
  343.     $"0000 0000 0000 0000 0000 0000 0000 00FF"
  344.     $"0000 0000 0000 FF00 0000 0000 FF00 0000"
  345.     $"0000 0000 0000 0000 0000 0000 0000 00FF"
  346.     $"0000 0000 0000 FF00 0000 0000 FF00 0000"
  347.     $"0000 0000 0000 0000 0000 0000 0000 00FF"
  348.     $"0000 0000 0000 FF00 0000 0000 FFFF FFFF"
  349.     $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF"
  350.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  351.     $"0000 0000 0000 0000 0000 FF00 0000 0000"
  352.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  353.     $"0000 0000 0000 0000 0000 FF00 0000 0000"
  354.     $"0000 0000 0000 FF00 0000 0000 00FF FFFF"
  355.     $"FFFF FFFF FFFF FFFF 0000 FF00 0000 0000"
  356.     $"0000 0000 0000 FF00 0000 0000 FFEC ECEC"
  357.     $"ECEC ECEC ECEC ECFF 0000 FF00 0000 0000"
  358.     $"0000 0000 0000 FF00 0000 00FF FFEC FFFF"
  359.     $"FFFF FFFF FFEC ECFF 0000 FF00 0000 0000"
  360.     $"0000 0000 0000 FF00 0000 00FF ECFF FF00"
  361.     $"0000 0000 FFEC ECFF 0000 FF00 0000 0000"
  362.     $"0000 0000 0000 FF00 0000 00FF FFFF 0000"
  363.     $"0000 00FF ECEC FF00 0000 FF00 0000 0000"
  364.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  365.     $"0000 00FF ECEC FF00 0000 FF00 0000 0000"
  366.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  367.     $"0000 00FF ECEC FF00 0000 FF00 0000 0000"
  368.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  369.     $"0000 FFFF ECEC FF00 0000 FF00 0000 0000"
  370.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  371.     $"0000 FFEC ECFF 0000 0000 FF00 0000 0000"
  372.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  373.     $"0000 FFEC ECFF FFFF FF00 FF00 0000 0000"
  374.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  375.     $"00FF FFEC FF08 0808 FFFF FF00 0000 0000"
  376.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  377.     $"00FF 2AFF FFFF FF08 0808 FFFF 0000 0000"
  378.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  379.     $"00FF FFFF FFFF FFFF FF08 08FF FFFF 0000"
  380.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  381.     $"FF2A 2AFF FF08 0808 0808 08FF FFFF 0000"
  382.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  383.     $"FF2A FFFF FFFF 0808 0808 08FF FFFF 0000"
  384.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  385.     $"FF2A FF00 00FF FFFF FFFF FFFF FFFF 0000"
  386.     $"0000 0000 0000 FF00 0000 0000 0000 00FF"
  387.     $"F5F5 FF00 0000 0000 0000 FFFF FFFF 0000"
  388.     $"0000 0000 0000 FF00 0000 0000 0000 00FF"
  389.     $"FFFF FF00 0000 0000 0000 FF00 0000 0000"
  390.     $"FFFF FFFF FFFF FF00 0000 0000 0000 0000"
  391.     $"0000 0000 0000 0000 0000 FF00 0000 0000"
  392.     $"FF00 0000 0000 FF00 0000 0000 0000 0000"
  393.     $"0000 0000 0000 0000 0000 FF00 0000 0000"
  394.     $"FF00 0000 0000 FFF5 F5F5 F5F5 F5F5 F5F5"
  395.     $"F5F5 F5F5 F5F5 F5F5 F5F5 FF00 0000 0000"
  396.     $"FF00 0000 0000 FFF7 F7F7 F7F7 F7F7 F7F7"
  397.     $"F7F7 F7F7 F7F7 F7F7 F7F7 FF00 0000 0000"
  398.     $"00FF 0000 00FF FAFA FAFA FAFA FAFA FAFA"
  399.     $"FAFA FAFA FAFA FAFA FAFF 0000 0000 0000"
  400.     $"0000 FFFF FFFF FFFF FFFF FFFF FFFF FFFF"
  401.     $"FFFF FFFF FFFF FFFF FF"
  402. };
  403.  
  404. resource 'icl8' (129) {
  405.     $"0000 0000 FFFF FFFF FFFF FFFF FFFF FFFF"
  406.     $"FFFF FFFF FFFF FF00 0000 0000 0000 0000"
  407.     $"0000 0000 FF00 0000 0000 0000 0000 0000"
  408.     $"0000 0000 0000 FFFF 0000 0000 0000 0000"
  409.     $"0000 0000 FF00 0000 0000 0000 0000 0000"
  410.     $"0000 0000 0000 FF00 FF00 0000 0000 0000"
  411.     $"0000 0000 FF00 D8D8 D8D8 D800 D8D8 D800"
  412.     $"D8D8 00D8 D800 FF00 00FF 0000 0000 0000"
  413.     $"0000 0000 FF00 0000 0000 0000 0000 0000"
  414.     $"0000 0000 0000 FF00 0000 FF00 0000 0000"
  415.     $"0000 0000 FF00 D8D8 D8D8 D8D8 00D8 D800"
  416.     $"D8D8 D8D8 0000 FF00 0000 00FF 0000 0000"
  417.     $"0000 0000 FF00 0000 0000 0000 0000 0000"
  418.     $"0000 0000 0000 FFFF FFFF FFFF FF00 0000"
  419.     $"0000 0000 FF00 D8D8 D8D8 D800 D8D8 D8D8"
  420.     $"D800 D8D8 D8D8 00D8 D8D8 0000 FF00 0000"
  421.     $"0000 0000 FF00 0000 0000 00FF FFFF FFFF"
  422.     $"FFFF FFFF FFFF FFFF FFFF FF00 FF00 0000"
  423.     $"0000 0000 FF00 D8D8 00FF FF00 00FF 0000"
  424.     $"0000 0000 0000 0000 0000 FFFF FF00 0000"
  425.     $"0000 0000 FF00 0000 00FF 0000 00FF 0000"
  426.     $"0000 0000 0000 0000 0000 00FF FF00 0000"
  427.     $"0000 0000 FF00 D8D8 D8FF 0000 00FF 0000"
  428.     $"0000 0000 0000 0000 0000 00FF FF00 0000"
  429.     $"0000 0000 FF00 0000 00FF 0000 00FF FFFF"
  430.     $"FFFF FFFF FFFF FFFF FFFF FFFF FF00 0000"
  431.     $"0000 0000 FF00 D8D8 00FF 0000 0000 0000"
  432.     $"0000 0000 0000 0000 FFD8 D800 FF00 0000"
  433.     $"0000 0000 FF00 0000 00FF 0000 00EC ECEC"
  434.     $"ECEC ECEC ECEC 0000 FF00 0000 FF00 0000"
  435.     $"0000 0000 FF00 D800 D8FF 0000 00EC ECEC"
  436.     $"ECEC ECEC ECEC 0000 FFD8 0000 FF00 0000"
  437.     $"0000 0000 FF00 0000 00FF 0000 0000 0000"
  438.     $"0000 00EC EC00 0000 FF00 0000 FF00 0000"
  439.     $"0000 0000 FF00 D8D8 D8FF 0000 0000 0000"
  440.     $"0000 00EC EC00 0000 FFD8 D800 FF00 0000"
  441.     $"0000 0000 FF00 0000 00FF 0000 0000 0000"
  442.     $"0000 ECEC 0000 0000 FF00 0000 FF00 0000"
  443.     $"0000 0000 FF00 D8D8 00FF 0000 0000 0000"
  444.     $"0000 ECEC 0000 0000 FFD8 0000 FF00 0000"
  445.     $"0000 0000 FF00 0000 00FF 0000 0000 0000"
  446.     $"0000 ECEC 0000 0000 FF00 0000 FF00 0000"
  447.     $"0000 0000 FF00 D800 D8FF 0000 0000 0000"
  448.     $"00EC ECEC 0000 0000 FFD8 D800 FF00 0000"
  449.     $"0000 0000 FF00 0000 00FF 0000 0000 0000"
  450.     $"00EC EC00 0000 0000 FF00 0000 FF00 0000"
  451.     $"0000 0000 FF00 D8D8 D8FF 0000 0000 0000"
  452.     $"00EC EC00 0000 0000 FFD8 0000 FF00 0000"
  453.     $"0000 0000 FF00 0000 00FF 0000 0000 0000"
  454.     $"ECEC EC00 0000 0000 FF00 0000 FF00 0000"
  455.     $"0000 0000 FF00 D800 D8FF 0000 0000 0000"
  456.     $"ECEC 0000 0000 0000 FFD8 D800 FF00 0000"
  457.     $"0000 0000 FFFF FFFF FFFF 0000 0000 0000"
  458.     $"ECEC 0000 0000 0000 FF00 0000 FF00 0000"
  459.     $"0000 0000 FFFF 0000 00FF 0000 0000 0000"
  460.     $"0000 0000 0000 0000 FFD8 D800 FF00 0000"
  461.     $"0000 0000 FFFF 0000 00FF 0000 0000 0000"
  462.     $"0000 0000 0000 0000 FF00 0000 FF00 0000"
  463.     $"0000 0000 FF00 FFFF FFFF FFFF FFFF FFFF"
  464.     $"FFFF FFFF FFFF FFFF 00D8 D800 FF00 0000"
  465.     $"0000 0000 FF00 0000 0000 0000 0000 0000"
  466.     $"0000 0000 0000 0000 0000 0000 FF00 0000"
  467.     $"0000 0000 FFFF FFFF FFFF FFFF FFFF FFFF"
  468.     $"FFFF FFFF FFFF FFFF FFFF FFFF FF"
  469. };
  470.  
  471. resource 'icl4' (128) {
  472.     $"0000 0000 FFFF FFFF FFFF FFFF FFFF FF00"
  473.     $"0000 000F DDDF 0000 0000 0000 0000 00F0"
  474.     $"0000 00FC CCCC F000 0000 0000 0000 000F"
  475.     $"0000 00F0 0000 F000 0000 0000 0000 000F"
  476.     $"0000 00F0 0000 F000 0000 0000 0000 000F"
  477.     $"0000 00F0 0000 FFFF FFFF FFFF FFFF FFFF"
  478.     $"0000 00F0 0000 0000 0000 0000 00F0 0000"
  479.     $"0000 00F0 0000 0000 0000 0000 00F0 0000"
  480.     $"0000 00F0 0000 0FFF FFFF FFFF 00F0 0000"
  481.     $"0000 00F0 0000 F666 6666 666F 00F0 0000"
  482.     $"0000 00F0 000F F6FF FFFF F66F 00F0 0000"
  483.     $"0000 00F0 000F 6FF0 0000 F66F 00F0 0000"
  484.     $"0000 00F0 000F FF00 000F 66F0 00F0 0000"
  485.     $"0000 00F0 0000 0000 000F 66F0 00F0 0000"
  486.     $"0000 00F0 0000 0000 000F 66F0 00F0 0000"
  487.     $"0000 00F0 0000 0000 00FF 66F0 00F0 0000"
  488.     $"0000 00F0 0000 0000 00F6 6F00 00F0 0000"
  489.     $"0000 00F0 0000 0000 00F6 6FFF F0F0 0000"
  490.     $"0000 00F0 0000 0000 0FF6 FCCC FFF0 0000"
  491.     $"0000 00F0 0000 0000 0FCF FFFC CCFF 0000"
  492.     $"0000 00F0 0000 0000 0FFF FFFF FCCF FF00"
  493.     $"0000 00F0 0000 0000 FCCF FCCC CCCF FF00"
  494.     $"0000 00F0 0000 0000 FCFF FFCC CCCF FF00"
  495.     $"0000 00F0 0000 0000 FCF0 0FFF FFFF FF00"
  496.     $"0000 00F0 0000 000F 00F0 0000 00FF FF00"
  497.     $"0000 00F0 0000 000F FFF0 0000 00F0 0000"
  498.     $"FFFF FFF0 0000 0000 0000 0000 00F0 0000"
  499.     $"F000 00F0 0000 0000 0000 0000 00F0 0000"
  500.     $"F000 00F0 0000 0000 0000 0000 00F0 0000"
  501.     $"F000 00FC CCCC CCCC CCCC CCCC CCF0 0000"
  502.     $"0F00 0FDD DDDD DDDD DDDD DDDD DF00 0000"
  503.     $"00FF FFFF FFFF FFFF FFFF FFFF F0"
  504. };
  505.  
  506. resource 'icl4' (129) {
  507.     $"0000 FFFF FFFF FFFF FFFF FFF0 0000 0000"
  508.     $"0000 F000 0000 0000 0000 00FF 0000 0000"
  509.     $"0000 F000 0000 0000 0000 00F0 F000 0000"
  510.     $"0000 F033 3330 3330 3303 30F0 0F00 0000"
  511.     $"0000 F000 0000 0000 0000 00F0 00F0 0000"
  512.     $"0000 F033 3333 0330 3333 00F0 000F 0000"
  513.     $"0000 F000 0000 0000 0000 00FF FFFF F000"
  514.     $"0000 F033 3330 3333 3033 3303 3300 F000"
  515.     $"0000 F000 000F FFFF FFFF FFFF FFF0 F000"
  516.     $"0000 F033 0FF0 0F00 0000 0000 00FF F000"
  517.     $"0000 F000 0F00 0F00 0000 0000 000F F000"
  518.     $"0000 F033 3F00 0F00 0000 0000 000F F000"
  519.     $"0000 F000 0F00 0FFF FFFF FFFF FFFF F000"
  520.     $"0000 F033 0F00 0000 0000 0000 F330 F000"
  521.     $"0000 F000 0F00 0666 6666 6600 F000 F000"
  522.     $"0000 F030 3F00 0666 6666 6600 F300 F000"
  523.     $"0000 F000 0F00 0000 0006 6000 F000 F000"
  524.     $"0000 F033 3F00 0000 0006 6000 F330 F000"
  525.     $"0000 F000 0F00 0000 0066 0000 F000 F000"
  526.     $"0000 F033 0F00 0000 0066 0000 F300 F000"
  527.     $"0000 F000 0F00 0000 0066 0000 F000 F000"
  528.     $"0000 F030 3F00 0000 0666 0000 F330 F000"
  529.     $"0000 F000 0F00 0000 0660 0000 F000 F000"
  530.     $"0000 F033 3F00 0000 0660 0000 F300 F000"
  531.     $"0000 F000 0F00 0000 6660 0000 F000 F000"
  532.     $"0000 F030 3F00 0000 6600 0000 F330 F000"
  533.     $"0000 FFFF FF00 0000 6600 0000 F000 F000"
  534.     $"0000 FF00 0F00 0000 0000 0000 F330 F000"
  535.     $"0000 FF00 0F00 0000 0000 0000 F000 F000"
  536.     $"0000 F0FF FFFF FFFF FFFF FFFF 0330 F000"
  537.     $"0000 F000 0000 0000 0000 0000 0000 F000"
  538.     $"0000 FFFF FFFF FFFF FFFF FFFF FFFF F0"
  539. };
  540.  
  541. resource 'ics8' (128) {
  542.     $"0000 00FF FFFF FFFF FFFF FFFF FFFF FFFF"
  543.     $"0000 00FF F7F7 FF00 0000 0000 0000 00FF"
  544.     $"0000 00FF 0000 FFFF FFFF FFFF FFFF FFFF"
  545.     $"0000 00FF 0000 0000 0000 0000 00FF 0000"
  546.     $"0000 00FF 0000 FFFF FFFF FFFF 00FF 0000"
  547.     $"0000 00FF 00FF FFFF FFFF FFFF 00FF 0000"
  548.     $"0000 00FF 00FF FF00 00FF ECFF 00FF 0000"
  549.     $"0000 00FF 0000 0000 00FF ECFF 00FF 0000"
  550.     $"0000 00FF 0000 0000 00FF FFFF FFFF 0000"
  551.     $"0000 00FF 0000 0000 FFFF FFFF FFFF 0000"
  552.     $"0000 00FF 0000 0000 FFFF FFFF FFFF FF00"
  553.     $"0000 00FF 0000 0000 FFFF FFFF FFFF FF00"
  554.     $"0000 00FF 0000 00FF FFFF 0000 00FF FF00"
  555.     $"FFFF FFFF 0000 0000 0000 0000 00FF 0000"
  556.     $"FF00 00FF F7F7 F7F7 F7F7 F7F7 F7FF 0000"
  557.     $"FFFF FFFF FFFF FFFF FFFF FFFF FF"
  558. };
  559.  
  560. resource 'ics8' (129) {
  561.     $"0000 FFFF FFFF FFFF FFFF FFFF 0000 0000"
  562.     $"0000 FFD8 D8D8 D8D8 D8D8 D8FF FF00 0000"
  563.     $"0000 FFD8 D8D8 D8D8 D8D8 00FF 00FF 0000"
  564.     $"0000 FFD8 D8D8 D8D8 D8D8 D8FF FFFF FF00"
  565.     $"0000 FFD8 FFFF FFFF FFFF FFFF FFFF FF00"
  566.     $"0000 FFD8 FF00 FF00 0000 0000 00FF FF00"
  567.     $"0000 FFD8 FF00 FFFF FFFF FFFF FFFF FF00"
  568.     $"0000 FFD8 FF00 ECEC ECEC EC00 FF00 FF00"
  569.     $"0000 FFD8 FF00 0000 00EC EC00 FFD8 FF00"
  570.     $"0000 FFD8 FF00 0000 00EC 0000 FF00 FF00"
  571.     $"0000 FFD8 FF00 0000 ECEC 0000 FFD8 FF00"
  572.     $"0000 FFD8 FF00 0000 ECEC 0000 FF00 FF00"
  573.     $"0000 FFD8 FF00 0000 ECEC 0000 FFD8 FF00"
  574.     $"0000 FFFF FF00 0000 EC00 0000 FFD8 FF00"
  575.     $"0000 FFFF FFFF FFFF FFFF FFFF FFD8 FF00"
  576.     $"0000 FFFF FFFF FFFF FFFF FFFF FFFF FF"
  577. };
  578.  
  579. resource 'ics4' (128) {
  580.     $"000F FFFF FFFF FFFF 000F CCF0 0000 000F"
  581.     $"000F 00FF FFFF FFFF 000F 0000 0000 0F00"
  582.     $"000F 00FF FFFF 0F00 000F 0FFF FFFF 0F00"
  583.     $"000F 0FF0 0F6F 0F00 000F 0000 0F6F 0F00"
  584.     $"000F 0000 0FFF FF00 000F 0000 FFFF FF00"
  585.     $"000F 0000 FFFF FFF0 000F 0000 FFFF FFF0"
  586.     $"000F 000F FF00 0FF0 FFFF 0000 0000 0F00"
  587.     $"F00F CCCC CCCC CF00 FFFF FFFF FFFF F0"
  588. };
  589.  
  590. resource 'ics4' (129) {
  591.     $"00FF FFFF FFFF 0000 00F3 3333 333F F000"
  592.     $"00F3 3333 330F 0F00 00F3 3333 333F FFF0"
  593.     $"00F3 FFFF FFFF FFF0 00F3 F0F0 0000 0FF0"
  594.     $"00F3 F0FF FFFF FFF0 00F3 F066 6660 F0F0"
  595.     $"00F3 F000 0660 F3F0 00F3 F000 0600 F0F0"
  596.     $"00F3 F000 6600 F3F0 00F3 F000 6600 F0F0"
  597.     $"00F3 F000 6600 F3F0 00FF F000 6000 F3F0"
  598.     $"00FF FFFF FFFF F3F0 00FF FFFF FFFF FFF0"
  599. };
  600.  
  601. resource 'FREF' (130, purgeable) {
  602.     'APPL',
  603.     0,
  604.     ""
  605. };
  606.  
  607. resource 'FREF' (131, purgeable) {
  608.     'TEXT',
  609.     1,
  610.     ""
  611. };
  612.  
  613. resource 'BNDL' (132, purgeable) {
  614.     'SVEd',
  615.     0,
  616.     {    /* array TypeArray: 2 elements */
  617.         /* [1] */
  618.         'ICN#',
  619.         {    /* array IDArray: 2 elements */
  620.             /* [1] */
  621.             0, 128,
  622.             /* [2] */
  623.             1, 129
  624.         },
  625.         /* [2] */
  626.         'FREF',
  627.         {    /* array IDArray: 2 elements */
  628.             /* [1] */
  629.             2, 130,
  630.             /* [2] */
  631.             3, 131
  632.         }
  633.     }
  634. };
  635.  
  636. data 'SVEd' (0) {
  637.     $"25"
  638.     "MenuScript sample program from UK.DTS"
  639. };
  640.  
  641. resource 'SIZE' (-1) {
  642.     dontSaveScreen,
  643.     acceptSuspendResumeEvents,
  644.     enableOptionSwitch,
  645.     canBackground,                
  646.     multiFinderAware,            
  647.     backgroundAndForeground,    
  648.     dontGetFrontClicks,            
  649.     ignoreChildDiedEvents,        
  650.     is32BitCompatible,            
  651.     isHighLevelEventAware,        
  652.     localAndRemoteHLEvents,        
  653.     reserved,
  654.     reserved,
  655.     reserved,
  656.     reserved,
  657.     reserved,
  658.     kPrefSize * 2000,
  659.     kMinSize * 2000    
  660. };
  661.  
  662.  
  663. resource 'WIND' (128, "", purgeable) {
  664.     {18, 48, 282, 408},
  665.     zoomDocProc,
  666.     invisible,
  667.     goAway,
  668.     0x0,
  669.     Untitled
  670. };
  671.  
  672. resource 'ALRT' (257, "", purgeable) {
  673.     {60, 96, 208, 424},
  674.     6692,
  675.     {    /* array: 4 elements */
  676.         /* [1] */
  677.         OK, visible, silent,
  678.         /* [2] */
  679.         OK, visible, silent,
  680.         /* [3] */
  681.         OK, visible, silent,
  682.         /* [4] */
  683.         OK, visible, silent
  684.     }
  685. };
  686.  
  687. resource 'ALRT' (256, "", purgeable) {
  688.     {82, 104, 182, 366},
  689.     12117,
  690.     {    /* array: 4 elements */
  691.         /* [1] */
  692.         OK, visible, silent,
  693.         /* [2] */
  694.         OK, visible, silent,
  695.         /* [3] */
  696.         OK, visible, silent,
  697.         /* [4] */
  698.         OK, visible, silent
  699.     }
  700. };
  701. resource 'DITL' (258, purgeable) {
  702.     {    /* array DITLarray: 2 elements */
  703.         /* [1] */
  704.         {142, 162, 162, 222},
  705.         Button {
  706.             enabled,
  707.             "OK"
  708.         },
  709.         /* [2] */
  710.         {11, 10, 134, 220},
  711.         Picture {
  712.             enabled,
  713.             259
  714.         }
  715.     }
  716. };
  717.  
  718. resource 'ALRT' (258, purgeable) {
  719.     {60, 44, 231, 280},
  720.     258,
  721.     {    /* array: 4 elements */
  722.         /* [1] */
  723.         OK, visible, silent,
  724.         /* [2] */
  725.         OK, visible, silent,
  726.         /* [3] */
  727.         OK, visible, silent,
  728.         /* [4] */
  729.         OK, visible, silent
  730.     }
  731. };
  732.  
  733. resource 'ALRT' (259, "", purgeable) {
  734.     {72, 72, 200, 384},
  735.     259,
  736.     {    /* array: 4 elements */
  737.         /* [1] */
  738.         OK, visible, silent,
  739.         /* [2] */
  740.         OK, visible, silent,
  741.         /* [3] */
  742.         OK, visible, silent,
  743.         /* [4] */
  744.         OK, visible, silent
  745.     }
  746. };
  747.  
  748. resource 'ALRT' (260, "", purgeable) {
  749.     {72, 72, 200, 384},
  750.     260,
  751.     {    /* array: 4 elements */
  752.         /* [1] */
  753.         OK, visible, silent,
  754.         /* [2] */
  755.         OK, visible, silent,
  756.         /* [3] */
  757.         OK, visible, silent,
  758.         /* [4] */
  759.         OK, visible, silent
  760.     }
  761. };
  762.  
  763. resource 'DITL' (6692, "", purgeable) {
  764.     {    /* array DITLarray: 5 elements */
  765.         /* [1] */
  766.         {82, 55, 106, 119},
  767.         Button {
  768.             enabled,
  769.             "Yes"
  770.         },
  771.         /* [2] */
  772.         {115, 55, 139, 119},
  773.         Button {
  774.             enabled,
  775.             "No"
  776.         },
  777.         /* [3] */
  778.         {116, 138, 140, 194},
  779.         Button {
  780.             enabled,
  781.             "Cancel"
  782.         },
  783.         /* [4] */
  784.         {8, 53, 77, 289},
  785.         StaticText {
  786.             enabled,
  787.             "^0^1^2^3"
  788.         },
  789.         /* [5] */
  790.         {9, 10, 41, 42},
  791.         Icon {
  792.             enabled,
  793.             1
  794.         }
  795.     }
  796. };
  797.  
  798. resource 'DITL' (12117, "", purgeable) {
  799.     {    /* array DITLarray: 3 elements */
  800.         /* [1] */
  801.         {68, 180, 88, 240},
  802.         Button {
  803.             enabled,
  804.             "OK"
  805.         },
  806.         /* [2] */
  807.         {9, 57, 56, 240},
  808.         StaticText {
  809.             enabled,
  810.             "^0^1^2^3"
  811.         },
  812.         /* [3] */
  813.         {9, 7, 41, 39},
  814.         Icon {
  815.             enabled,
  816.             1
  817.         }
  818.     }
  819. };
  820.  
  821.  
  822. resource 'ALRT' (261, "Apple Event resource", purgeable) {
  823.     {56, 62, 202, 430},
  824.     261,
  825.     {    /* array: 4 elements */
  826.         /* [1] */
  827.         OK, visible, sound1,
  828.         /* [2] */
  829.         OK, visible, sound1,
  830.         /* [3] */
  831.         OK, visible, sound1,
  832.         /* [4] */
  833.         OK, visible, sound1
  834.     }
  835. };
  836.  
  837. resource 'DITL' (261, "", purgeable) {
  838.     {    /* array DITLarray: 2 elements */
  839.         /* [1] */
  840.         {116, 281, 136, 341},
  841.         Button {
  842.             enabled,
  843.             "OK"
  844.         },
  845.         /* [2] */
  846.         {19, 18, 120, 229},
  847.         StaticText {
  848.             enabled,
  849.             "^0"
  850.         }
  851.     }
  852. };
  853.  
  854. resource 'ALRT' (300, "Error Alert", purgeable) {
  855.     {108, 158, 238, 476},
  856.     300,
  857.     {    /* array: 4 elements */
  858.         /* [1] */
  859.         OK, visible, sound1,
  860.         /* [2] */
  861.         OK, visible, sound1,
  862.         /* [3] */
  863.         OK, visible, sound1,
  864.         /* [4] */
  865.         OK, visible, sound1
  866.     }
  867. };
  868.  
  869. resource 'DITL' (300, "", purgeable) {
  870.     {    /* array DITLarray: 3 elements */
  871.         /* [1] */
  872.         {98, 227, 119, 292},
  873.         Button {
  874.             enabled,
  875.             "Oh well"
  876.         },
  877.         /* [2] */
  878.         {9, 63, 89, 294},
  879.         StaticText {
  880.             enabled,
  881.             "Sorry an error has occured in the area o"
  882.             "f ^0. \nThe error code = ^1"
  883.         },
  884.         /* [3] */
  885.         {10, 11, 42, 43},
  886.         Icon {
  887.             enabled,
  888.             0
  889.         }
  890.     }
  891. };
  892.  
  893. resource 'DITL' (1004, "", purgeable) {
  894.     {    /* array DITLarray: 5 elements */
  895.         /* [1] */
  896.         {65, 152, 85, 212},
  897.         Button {
  898.             enabled,
  899.             "OK"
  900.         },
  901.         /* [2] */
  902.         {65, 79, 85, 139},
  903.         Button {
  904.             enabled,
  905.             "Cancel"
  906.         },
  907.         /* [3] */
  908.         {10, 14, 31, 94},
  909.         StaticText {
  910.             disabled,
  911.             "Point Size:"
  912.         },
  913.         /* [4] */
  914.         {12, 115, 32, 178},
  915.         EditText {
  916.             enabled,
  917.             "12"
  918.         },
  919.         /* [5] */
  920.         {65, 152, 85, 212},
  921.         UserItem {
  922.             disabled
  923.         },
  924.     }
  925. };
  926.  
  927. resource 'DLOG' (1004, "", purgeable) {
  928.     {90, 134, 186, 364},
  929.     dBoxProc,
  930.     visible,
  931.     noGoAway,
  932.     0x0,
  933.     1004,
  934.     "Other Size Dialog"
  935. };
  936.  
  937. resource 'DLOG' (1005, "printing...", purgeable) {
  938.     {148, 157, 185, 354},
  939.     dBoxProc,
  940.     visible,
  941.     noGoAway,
  942.     0x0,
  943.     1005,
  944.     "printing…"
  945. };
  946.  
  947. resource 'DITL' (1005, "printing...", purgeable) {
  948.     {    /* array DITLarray: 1 elements */
  949.         /* [1] */
  950.         {10, 10, 27, 235},
  951.         StaticText {
  952.             disabled,
  953.             "Type \0x11. to cancel printing"
  954.         }
  955.     }
  956. };
  957.  
  958. resource 'ALRT' (302, "7.0 Only Alert") {
  959.     {50, 60, 220, 312},
  960.     302,
  961.     {    /* array: 4 elements */
  962.         /* [1] */
  963.         OK, visible, sound1,
  964.         /* [2] */
  965.         OK, visible, sound1,
  966.         /* [3] */
  967.         OK, visible, sound1,
  968.         /* [4] */
  969.         OK, visible, sound1
  970.     }
  971. };
  972.  
  973. resource 'DITL' (302) {
  974.     {    /* array DITLarray: 2 elements */
  975.         /* [1] */
  976.         {131, 140, 155, 236},
  977.         Button {
  978.             enabled,
  979.             "Get into 7.0"
  980.         },
  981.         /* [2] */
  982.         {4, 7, 125, 236},
  983.         StaticText {
  984.             enabled,
  985.             "MenuScripter only works under System 7.0"
  986.             ".\n\nTo take advantage of AppleEvents, Out"
  987.             "line Fonts, Balloon Help, Publish & Subs"
  988.             "cribe and Scripting- get 7.0 now!"
  989.         }
  990.     }
  991. };
  992.  
  993. resource 'MENU' (mFile) {
  994.     129,
  995.     textMenuProc,
  996.     0x7FFFFB7B,
  997.     enabled,
  998.     "File",
  999.     {    /* array: 12 elements */
  1000.         /* [1] */
  1001.         "New", noIcon, "N", noMark, plain,
  1002.         /* [2] */
  1003.         "Open…", noIcon, "O", noMark, plain,
  1004.         /* [3] */
  1005.         "-", noIcon, noKey, noMark, plain,
  1006.         /* [4] */
  1007.         "Close", noIcon, "W", noMark, plain,
  1008.         /* [5] */
  1009.         "Save", noIcon, "S", noMark, plain,
  1010.         /* [6] */
  1011.         "Save As…", noIcon, noKey, noMark, plain,
  1012.         /* [7] */
  1013.         "Revert", noIcon, noKey, noMark, plain,
  1014.         /* [8] */
  1015.         "-", noIcon, noKey, noMark, plain,
  1016.         /* [9] */
  1017.         "Page Setup…", noIcon, noKey, noMark, plain,
  1018.         /* [10] */
  1019.         "Print…", noIcon, "P", noMark, plain,
  1020.         /* [11] */
  1021.         "-", noIcon, noKey, noMark, plain,
  1022.         /* [12] */
  1023.         "Quit", noIcon, "Q", noMark, plain
  1024.     }
  1025. };
  1026.  
  1027. resource 'MENU' (mApple) {
  1028.     128,
  1029.     textMenuProc,
  1030.     0x7FFFFFFD,
  1031.     enabled,
  1032.     apple,
  1033.     {    /* array: 2 elements */
  1034.         /* [1] */
  1035.         "About MenuScripter…", noIcon, noKey, noMark, plain,
  1036.         /* [2] */
  1037.         "-", noIcon, noKey, noMark, plain
  1038.     }
  1039. };
  1040.  
  1041. resource 'MENU' (mFont) {
  1042.     131,
  1043.     textMenuProc,
  1044.     allEnabled,
  1045.     enabled,
  1046.     "Font",
  1047.     {    /* array: 0 elements */
  1048.     }
  1049. };
  1050.  
  1051. resource 'MENU' (mEdit) {
  1052.     130,
  1053.     textMenuProc,
  1054.     0b111101111101,
  1055.     enabled,
  1056.     "Edit",
  1057.     {    /* array: 12 elements */
  1058.         /* [1] */
  1059.         "Undo", noIcon, "Z", noMark, plain,
  1060.         /* [2] */
  1061.         "-", noIcon, noKey, noMark, plain,
  1062.         /* [3] */
  1063.         "Cut", noIcon, "X", noMark, plain,
  1064.         /* [4] */
  1065.         "Copy", noIcon, "C", noMark, plain,
  1066.         /* [5] */
  1067.         "Paste", noIcon, "V", noMark, plain,
  1068.         /* [6] */
  1069.         "Clear", noIcon, "K", noMark, plain,
  1070.         /* [7] */
  1071.         "Select All", noIcon, "A", noMark, plain,
  1072.         /* [8] */
  1073.         "-", noIcon, noKey, noMark, plain,
  1074.         /* [9] */
  1075.         "Create Publisher…", noIcon, noKey, noMark, plain,
  1076.         /* [10] */
  1077.         "Subscribe To…", noIcon, noKey, noMark, plain,
  1078.         /* [11] */
  1079.         "Section Options…", noIcon, noKey, noMark, plain,
  1080.         /* [12] */
  1081.         "Show Borders", noIcon, noKey, noMark, plain,
  1082.     }
  1083. };
  1084.  
  1085. resource 'MENU' (mSize, preload) {
  1086.     132,
  1087.     textMenuProc,
  1088.     allEnabled,
  1089.     enabled,
  1090.     "Size",
  1091.     {    /* array: 10 elements */
  1092.         /* [1] */
  1093.         "8", noIcon, noKey, noMark, plain,
  1094.         /* [2] */
  1095.         "9", noIcon, noKey, noMark, plain,
  1096.         /* [3] */
  1097.         "10", noIcon, noKey, noMark, plain,
  1098.         /* [4] */
  1099.         "12", noIcon, noKey, noMark, plain,
  1100.         /* [5] */
  1101.         "14", noIcon, noKey, noMark, plain,
  1102.         /* [6] */
  1103.         "18", noIcon, noKey, noMark, plain,
  1104.         /* [7] */
  1105.         "24", noIcon, noKey, noMark, plain,
  1106.         /* [8] */
  1107.         "36", noIcon, noKey, noMark, plain,
  1108.         /* [9] */
  1109.         "48", noIcon, noKey, noMark, plain,
  1110.         /* [10] */
  1111.         "-", noIcon, noKey, noMark, plain,
  1112.         /* [11] */
  1113.         "Up", noIcon, "]", noMark, plain,
  1114.         /* [12] */
  1115.         "Down", noIcon, "[", noMark, plain,
  1116.         /* [13] */
  1117.         "-", noIcon, noKey, noMark, plain,
  1118.         /* [14] */
  1119.         "Other…", noIcon, noKey, noMark, plain
  1120.     }
  1121. };
  1122.  
  1123. resource 'MENU' (mStyle, preload) {
  1124.     133,
  1125.     textMenuProc,
  1126.     allEnabled,
  1127.     enabled,
  1128.     "Style",
  1129.     {    /* array: 8 elements */
  1130.         /* [1] */
  1131.         "Plain Text", noIcon, "T", noMark, plain,
  1132.         /* [2] */
  1133.         "Bold", noIcon, "B", noMark, plain,
  1134.         /* [3] */
  1135.         "Italic", noIcon, "I", noMark, plain,
  1136.         /* [4] */
  1137.         "Underline", noIcon, "U", noMark, plain,
  1138.         /* [5] */
  1139.         "Outline", noIcon, noKey, noMark, plain,
  1140.         /* [6] */
  1141.         "Shadow", noIcon, noKey, noMark, plain,
  1142.         /* [7] */
  1143.         "Condense", noIcon, noKey, noMark, plain,
  1144.         /* [8] */
  1145.         "Extend", noIcon, noKey, noMark, plain
  1146.     }
  1147. };
  1148.  
  1149. resource 'MENU' (mScript, preload) {
  1150.     134,
  1151.     textMenuProc,
  1152.     allEnabled,
  1153.     enabled,
  1154.     "Script",
  1155.     {    /* array: 2 elements */
  1156.         /* [1] */
  1157.         "Compile", noIcon, noKey, noMark, plain,
  1158.         /* [2] */
  1159.         "Execute", noIcon, noKey, noMark, plain
  1160.     }
  1161. };
  1162. resource 'STR#' (mScript) {
  1163.     {
  1164. /*  1 */    "Script Handling.",
  1165.  
  1166. /*  2 */    "Checks the sytax of the contents of the frontmost window .",
  1167. /*  3 */    "Checks the sytax of the contents of the frontmost window .",
  1168. /*  4 */    "Checks the sytax of, and executes, the contents in the frontmost window.",
  1169. /*  5 */    "Checks the sytax of, and executes, the contents in the frontmost window."
  1170.     }
  1171. };
  1172.  
  1173. resource 'STR#' (mFile) {
  1174.     {
  1175. /*  1 */    "File Handling items.",
  1176.  
  1177. /*  2 */    "Creates a new file.",
  1178. /*  3 */    "Creates a new file.  To enable this item, choose Close from the File menu.",
  1179. /*  4 */    "Opens an existing file.",
  1180. /*  5 */    "Opens an existing file.  To enable this item, choose Close from the File menu.",
  1181. /*  6 */    "Closes the current file.",
  1182. /*  7 */    "Closes the current file.  A window must be open before this item is enabled.",
  1183. /*  8 */    "Saves the current file.",
  1184. /*  9 */    "Saves the current file.  The window must be titled before this is enabled.",
  1185. /* 10 */    "Saves the current file under a different name.",
  1186. /* 11 */    "Saves the current file under a different name.",
  1187. /* 12 */    "Reverts to the last saved version of the current file.",
  1188. /* 13 */    "Reverts to the last saved version of the current file.  Enabled when you make a change to the file",
  1189. /* 14 */    "Sets up paper size, orientation, and other printing options.",
  1190. /* 15 */    "Sets up paper size, orientation, and other printing options.",
  1191. /* 16 */    "Prints the text to the printer.",
  1192. /* 17 */    "Prints all or part of the current file.  To enable this item, choose New or Open from the File menu.",
  1193. /* 18 */    "Quit from Demo."
  1194.     }
  1195. };
  1196.  
  1197. resource 'hmnu' (mFile, "File") {
  1198.     HelpMgrVersion,                    /* Help Version                            */
  1199.     0,                                /* options                                */
  1200.     0,                                /* theProc                                */
  1201.     0,                                /* variant                                */
  1202.     HMSkipItem {                    /* skip missing msg                        */
  1203.         },
  1204.     {
  1205.         /* File */
  1206.         HMStringResItem {
  1207.             mFile,1,                /* menu title message                    */
  1208.             mFile,1,                /* disabled title message                */
  1209.             mFile,0,                /* reserved message                        */
  1210.             mFile,0                    /* reserved message                        */
  1211.         },
  1212.  
  1213.         /* New */
  1214.         HMStringResItem {
  1215.             mFile,2,                /* menu item message                    */
  1216.             mFile,3,                /* disabled item message                */
  1217.             mFile,0,                /* reserved message                        */
  1218.             mFile,0                    /* reserved message                        */
  1219.         },
  1220.  
  1221.         /* Open */
  1222.         HMStringResItem {
  1223.             mFile,4,                /* menu item message                    */
  1224.             mFile,5,                /* disabled item message                */
  1225.             mFile,0,                /* reserved message                        */
  1226.             mFile,0                    /* reserved message                        */
  1227.         },
  1228.  
  1229.         /* Disabled Line */
  1230.         HMSkipItem {                /* skip missing msg                        */
  1231.         },
  1232.  
  1233.         /* Close */
  1234.         HMStringResItem {
  1235.             mFile,6,                /* menu item message                    */
  1236.             mFile,7,                /* disabled item message                */
  1237.             mFile,0,                /* reserved message                        */
  1238.             mFile,0                    /* reserved message                        */
  1239.         },
  1240.  
  1241.         /* Save */
  1242.         HMStringResItem {
  1243.             mFile,8,                /* menu item message                    */
  1244.             mFile,9,                /* disabled item message                */
  1245.             mFile,0,                /* reserved message                        */
  1246.             mFile,0                    /* reserved message                        */
  1247.         },
  1248.  
  1249.         /* Save As… */
  1250.         HMStringResItem {
  1251.             mFile,10,                /* menu item message                    */
  1252.             mFile,11,                /* disabled item message                */
  1253.             mFile,0,                /* reserved message                        */
  1254.             mFile,0                    /* reserved message                        */
  1255.         },
  1256.  
  1257.         /* Revert */
  1258.         HMStringResItem {
  1259.             mFile,12,                /* menu item message                    */
  1260.             mFile,13,                /* disabled item message                */
  1261.             mFile,0,                /* reserved message                        */
  1262.             mFile,0                    /* reserved message                        */
  1263.         },
  1264.  
  1265.         /* Disabled Line */
  1266.         HMSkipItem {                /* skip missing msg                        */
  1267.         },
  1268.  
  1269.         /* Page Setup… */
  1270.         HMStringResItem {
  1271.             mFile,14,                /* menu item message                    */
  1272.             mFile,15,                /* disabled item message                */
  1273.             mFile,0,                /* reserved message                        */
  1274.             mFile,0                    /* reserved message                        */
  1275.         },
  1276.  
  1277.         /* Print */
  1278.         HMStringResItem {
  1279.             mFile,16,                /* menu item message                    */
  1280.             mFile,17,                /* disabled item message                */
  1281.             mFile,0,                /* reserved message                        */
  1282.             mFile,0                    /* reserved message                        */
  1283.         },
  1284.  
  1285.         /* Disabled Line */
  1286.         HMSkipItem {                /* skip missing msg                        */
  1287.         },
  1288.  
  1289.         /* Quit */
  1290.         HMStringResItem {
  1291.             mFile,18,                /* menu item message                    */
  1292.             mFile,0,                /* disabled item message                */
  1293.             mFile,0,                /* reserved message                        */
  1294.             mFile,0                    /* reserved message                        */
  1295.         }
  1296.     }
  1297. };
  1298.  
  1299. resource 'STR#' (mEdit) {
  1300.     {
  1301. /*  1 */    "Editing Items.",
  1302.  
  1303. /*  2 */    "Restore the document to the state it was before the last action.",
  1304. /*  3 */    "Restore the document to the state it was before the last action. (Not currently implemented)",
  1305. /*  4 */    "Delete the current text selection and copy it to the clipboard.",
  1306. /*  5 */    "Delete the current text selection and copy it to the clipboard. Select some text to enable this item.",
  1307. /*  6 */    "Copy the current text selection to the clipboard.",
  1308. /*  7 */    "Copy the current text selection to the clipboard. Select some text to enable this item.",
  1309. /*  8 */    "Take the text from the clipboard and add it at the current insertion point.",
  1310. /*  9 */    "Take the text from the clipboard and add it at the current insertion point. This item is enabled when there is some text on the clipboard",
  1311. /* 10 */    "Delete the currently selected text.",
  1312. /* 11 */    "Delete the currently selected text.  Select some text to enable this item.",
  1313. /* 12 */    "Select all the text in the document.",
  1314. /* 13 */    "Select all the text in this document.  This item is enabled when a window is open.",
  1315. /* 14 */    "Display the Create Publisher dialog to publish the selected text.",
  1316. /* 15 */    "Publish selected text. Select some text to enable this item.",
  1317. /* 16 */    "Put up the Subscriber dialog Subscribe to a Published section of text.",
  1318. /* 17 */    "Put up the Subscriber dialog Subscribe to a Published section of text.  Enabled when no publisher is selected.",
  1319. /* 18 */    "Display the Section Options dialog for a Publisher or Subscriber.",
  1320. /* 19 */    "Display the Section Options dialog for a Publisher or Subscriber.  Select a Publisher or Subscriber to enable this item.",
  1321. /* 20 */    "Show/Hide the all the Publisher or Subscriber borders"
  1322.     }
  1323. };
  1324.  
  1325.  
  1326.  
  1327. resource 'hmnu' (mEdit, "Edit") {
  1328.     HelpMgrVersion,                    /* Help Version                            */
  1329.     0,                                /* options                                */
  1330.     0,                                /* theProc                                */
  1331.     0,                                /* variant                                */
  1332.     HMSkipItem {                    /* skip missing msg                        */
  1333.         },
  1334.     {
  1335.         /* edit */
  1336.         HMStringResItem {
  1337.             mEdit,1,                /* menu title message                    */
  1338.             mEdit,1,                /* disabled title message                */
  1339.             mEdit,0,                /* reserved message                        */
  1340.             mEdit,0                    /* reserved message                        */
  1341.         },
  1342.  
  1343.         /* Undo */
  1344.         HMStringResItem {
  1345.             mEdit,2,                /* menu item message                    */
  1346.             mEdit,3,                /* disabled item message                */
  1347.             mEdit,0,                /* reserved message                        */
  1348.             mEdit,0                    /* reserved message                        */
  1349.         },
  1350.  
  1351.         /* Disabled Item */
  1352.         HMSkipItem {                /* skip missing msg                        */
  1353.         },
  1354.  
  1355.         /* Cut */
  1356.         HMStringResItem {
  1357.             mEdit,4,                /* menu item message                    */
  1358.             mEdit,5,                /* disabled item message                */
  1359.             mEdit,0,                /* reserved message                        */
  1360.             mEdit,0                    /* reserved message                        */
  1361.         },
  1362.  
  1363.         /* Copy */
  1364.         HMStringResItem {
  1365.             mEdit,6,                /* menu item message                    */
  1366.             mEdit,7,                /* disabled item message                */
  1367.             mEdit,0,                /* reserved message                        */
  1368.             mEdit,0                    /* reserved message                        */
  1369.         },
  1370.  
  1371.         /* Paste */
  1372.         HMStringResItem {
  1373.             mEdit,8,                /* menu item message                    */
  1374.             mEdit,9,                /* disabled item message                */
  1375.             mEdit,0,                /* reserved message                        */
  1376.             mEdit,0                    /* reserved message                        */
  1377.         },
  1378.  
  1379.         /* Clear */
  1380.         HMStringResItem {
  1381.             mEdit,10,                /* menu item message                    */
  1382.             mEdit,11,                /* disabled item message                */
  1383.             mEdit,0,                /* reserved message                        */
  1384.             mEdit,0                    /* reserved message                        */
  1385.         },
  1386.  
  1387.         /* Select All */
  1388.         HMStringResItem {
  1389.             mEdit,12,                /* menu item message                    */
  1390.             mEdit,13,                /* disabled item message                */
  1391.             mEdit,0,                /* reserved message                        */
  1392.             mEdit,0                    /* reserved message                        */
  1393.         },    
  1394.         
  1395.         /* Disabled Line */
  1396.         HMSkipItem {                /* skip missing msg                        */
  1397.         },
  1398.  
  1399.         
  1400.         /* Create Publisher*/
  1401.         HMStringResItem {
  1402.             mEdit,14,                /* menu item message                    */
  1403.             mEdit,15,                /* disabled item message                */
  1404.             mEdit,0,                /* reserved message                        */
  1405.             mEdit,0                    /* reserved message                        */
  1406.         },    
  1407.         
  1408.         /* Subscribe To..*/
  1409.         HMStringResItem {
  1410.             mEdit,16,                /* menu item message                    */
  1411.             mEdit,17,                /* disabled item message                */
  1412.             mEdit,0,                /* reserved message                        */
  1413.             mEdit,0                    /* reserved message                        */
  1414.         },    
  1415.         
  1416.         /* Section Options*/
  1417.         HMStringResItem {
  1418.             mEdit,18,                /* menu item message                    */
  1419.             mEdit,19,                /* disabled item message                */
  1420.             mEdit,0,                /* reserved message                        */
  1421.             mEdit,0                    /* reserved message                        */
  1422.         },    
  1423.         
  1424.         /* Show/Hide borders*/
  1425.         HMStringResItem {
  1426.             mEdit,20,                /* menu item message                    */
  1427.             mEdit,20,                /* disabled item message                */
  1428.             mEdit,0,                /* reserved message                        */
  1429.             mEdit,0                    /* reserved message                        */
  1430.         },    
  1431.    }
  1432. };
  1433.  
  1434. resource 'STR#' (mFont) {
  1435.     {
  1436. /*  1 */    "Change the text font the one you want by selecting that Font from this menu."
  1437.     }
  1438. };
  1439.  
  1440.  
  1441. resource 'hmnu' (mFont, "Font") {
  1442.     HelpMgrVersion,                    /* Help Version                            */
  1443.     0,                                /* options                                */
  1444.     0,                                /* theProc                                */
  1445.     0,                                /* variant                                */
  1446.     HMSkipItem {                    /* skip missing msg                        */
  1447.         },
  1448.     {
  1449.         /* Font */
  1450.         HMStringResItem {
  1451.             mFont,1,                /* menu title message                    */
  1452.             mFont,1,                /* disabled title message                */
  1453.             mFont,0,                /* reserved message                        */
  1454.             mFont,0                    /* reserved message                        */
  1455.         }
  1456.     }
  1457. };
  1458.  
  1459.  
  1460. resource 'STR#' (mSize) {
  1461.     {
  1462. /*  1 */    "Change the size of the text by choosing the new size from this menu.  The size menus are outlined for TrueType fonts."
  1463.     }
  1464. };
  1465.  
  1466.  
  1467. resource 'hmnu' (mSize, "Size") {
  1468.     HelpMgrVersion,                    /* Help Version                            */
  1469.     0,                                /* options                                */
  1470.     0,                                /* theProc                                */
  1471.     0,                                /* variant                                */
  1472.     HMSkipItem {                    /* skip missing msg                        */
  1473.         },
  1474.     {
  1475.         /* Font */
  1476.         HMStringResItem {
  1477.             mSize,1,                /* menu title message                    */
  1478.             mSize,1,                /* disabled title message                */
  1479.             mSize,0,                /* reserved message                        */
  1480.             mSize,0                    /* reserved message                        */
  1481.         }
  1482.     }
  1483. };
  1484.  
  1485. resource 'STR#' (mStyle) {
  1486.     {
  1487. /*  1 */    "Choose the new text style from this menu"
  1488.     }
  1489. };
  1490.  
  1491.  
  1492. resource 'hmnu' (mStyle, "Style") {
  1493.     HelpMgrVersion,                    /* Help Version                            */
  1494.     0,                                /* options                                */
  1495.     0,                                /* theProc                                */
  1496.     0,                                /* variant                                */
  1497.     HMSkipItem {                    /* skip missing msg                        */
  1498.         },
  1499.     {
  1500.         /* Font */
  1501.         HMStringResItem {
  1502.             mStyle,1,                /* menu title message                    */
  1503.             mStyle,1,                /* disabled title message                */
  1504.             mStyle,0,                /* reserved message                        */
  1505.             mStyle,0                    /* reserved message                        */
  1506.         }
  1507.     }
  1508. };
  1509.  
  1510. resource 'hmnu' (mScript, "Script") {
  1511.     HelpMgrVersion,                    /* Help Version                            */
  1512.     0,                                /* options                                */
  1513.     0,                                /* theProc                                */
  1514.     0,                                /* variant                                */
  1515.     HMSkipItem {                    /* skip missing msg                        */
  1516.         },
  1517.     {
  1518.         /* Script */
  1519.         HMStringResItem {
  1520.             mScript,1,                /* menu title message                    */
  1521.             mScript,1,                /* disabled title message                */
  1522.             mScript,0,                /* reserved message                        */
  1523.             mScript,0                    /* reserved message                        */
  1524.         },
  1525.         /* Compile */
  1526.         HMStringResItem {
  1527.             mScript,2,                /* menu title message                    */
  1528.             mScript,3,                /* disabled title message                */
  1529.             mScript,0,                /* reserved message                        */
  1530.             mScript,0                    /* reserved message                        */
  1531.         },
  1532.         /* Execute */
  1533.         HMStringResItem {
  1534.             mScript,4,                /* menu title message                    */
  1535.             mScript,5,                /* disabled title message                */
  1536.             mScript,0,                /* reserved message                        */
  1537.             mScript,0                    /* reserved message                        */
  1538.         },
  1539.     }
  1540. };
  1541.  
  1542. resource 'aete' (0, "MenuScripter Suite") {
  1543.     0x00,
  1544.     0x01,
  1545.     english,
  1546.     roman,
  1547.     {    /* array Suites: 4 elements */
  1548.         /* [1] */
  1549.         "Core Suite",
  1550.         "Suite that applies to all applications",
  1551.         'core',
  1552.         1,
  1553.         1,
  1554.         {    /* array Events: 0 elements */
  1555.         },
  1556.         {    /* array Classes: 2 elements */
  1557.             /* [1] */
  1558.             "Window",
  1559.             'cwin',
  1560.             "A window",
  1561.             {    /* array Properties: 2 elements */
  1562.                 /* [1] */
  1563.                 "position",
  1564.                 'ppos',
  1565.                 'QDpt',
  1566.                 "the position of a window",
  1567.                 reserved,
  1568.                 singleItem,
  1569.                 notEnumerated,
  1570.                 readWrite,
  1571.                 reserved,
  1572.                 reserved,
  1573.                 reserved,
  1574.                 reserved,
  1575.                 reserved,
  1576.                 reserved,
  1577.                 reserved,
  1578.                 reserved,
  1579.                 reserved,
  1580.                 reserved,
  1581.                 reserved,
  1582.                 reserved,
  1583.                 /* [2] */
  1584.                 "Contents",
  1585.                 'pcnt',
  1586.                 typeIntlText,
  1587.                 "The text of the window",
  1588.                 reserved,
  1589.                 singleItem,
  1590.                 notEnumerated,
  1591.                 readWrite,
  1592.                 reserved,
  1593.                 reserved,
  1594.                 reserved,
  1595.                 reserved,
  1596.                 reserved,
  1597.                 reserved,
  1598.                 reserved,
  1599.                 reserved,
  1600.                 reserved,
  1601.                 reserved,
  1602.                 reserved,
  1603.                 reserved,
  1604.                 /* [3] */
  1605.                 "Page Setup",
  1606.                 'PSET',
  1607.                 'TPNT',
  1608.                 "The Page Setup of the window",
  1609.                 reserved,
  1610.                 singleItem,
  1611.                 notEnumerated,
  1612.                 readWrite,
  1613.                 reserved,
  1614.                 reserved,
  1615.                 reserved,
  1616.                 reserved,
  1617.                 reserved,
  1618.                 reserved,
  1619.                 reserved,
  1620.                 reserved,
  1621.                 reserved,
  1622.                 reserved,
  1623.                 reserved,
  1624.                 reserved,
  1625.                 /* [4] */
  1626.                 "Show Borders",
  1627.                 'PBOR',
  1628.                 'cboo',
  1629.                 "The Show Borders of the window",
  1630.                 reserved,
  1631.                 singleItem,
  1632.                 notEnumerated,
  1633.                 readWrite,
  1634.                 reserved,
  1635.                 reserved,
  1636.                 reserved,
  1637.                 reserved,
  1638.                 reserved,
  1639.                 reserved,
  1640.                 reserved,
  1641.                 reserved,
  1642.                 reserved,
  1643.                 reserved,
  1644.                 reserved,
  1645.                 reserved
  1646.             },
  1647.             {    /* array Elements: 4 elements */
  1648.                 /* [1] */
  1649.                 'cha ',
  1650.                 {    /* array KeyForms: 1 elements */
  1651.                     /* [1] */
  1652.                     formAbsolutePosition
  1653.                 },
  1654.                 /* [2] */
  1655.                 'cwor',
  1656.                 {    /* array KeyForms: 1 elements */
  1657.                     /* [1] */
  1658.                     formAbsolutePosition
  1659.                 },
  1660.                 /* [3] */
  1661.                 'clin',
  1662.                 {    /* array KeyForms: 1 elements */
  1663.                     /* [1] */
  1664.                     formAbsolutePosition
  1665.                 },
  1666.                 /* [4] */
  1667.                 'citm',
  1668.                 {    /* array KeyForms: 1 elements */
  1669.                     /* [1] */
  1670.                     formAbsolutePosition
  1671.                 }
  1672.             },
  1673.             /* [2] */
  1674.             "Spot",
  1675.             'cspt',
  1676.             "A position where an insertion point can go",
  1677.             {    /* array Properties: 7 elements */
  1678.                 /* [1] */
  1679.                 "Class",
  1680.                 pClass,
  1681.                 cType,
  1682.                 "The class",
  1683.                 reserved,
  1684.                 singleItem,
  1685.                 notEnumerated,
  1686.                 readOnly,
  1687.                 reserved,
  1688.                 reserved,
  1689.                 reserved,
  1690.                 reserved,
  1691.                 reserved,
  1692.                 reserved,
  1693.                 reserved,
  1694.                 reserved,
  1695.                 reserved,
  1696.                 reserved,
  1697.                 reserved,
  1698.                 reserved,
  1699.                 /* [2] */
  1700.                 "Font",
  1701.                 pFont,
  1702.                 cText,
  1703.                 "The name of the font",
  1704.                 reserved,
  1705.                 singleItem,
  1706.                 notEnumerated,
  1707.                 readWrite,
  1708.                 reserved,
  1709.                 reserved,
  1710.                 reserved,
  1711.                 reserved,
  1712.                 reserved,
  1713.                 reserved,
  1714.                 reserved,
  1715.                 reserved,
  1716.                 reserved,
  1717.                 reserved,
  1718.                 reserved,
  1719.                 reserved,
  1720.                 /* [3] */
  1721.                 "Style",
  1722.                 pTextStyles,
  1723.                 cTextStyles,
  1724.                 "The text style",
  1725.                 reserved,
  1726.                 singleItem,
  1727.                 notEnumerated,
  1728.                 readWrite,
  1729.                 reserved,
  1730.                 reserved,
  1731.                 reserved,
  1732.                 reserved,
  1733.                 reserved,
  1734.                 reserved,
  1735.                 reserved,
  1736.                 reserved,
  1737.                 reserved,
  1738.                 reserved,
  1739.                 reserved,
  1740.                 reserved,
  1741.                 /* [4] */
  1742.                 "Color",
  1743.                 pColor,
  1744.                 cRGBColor,
  1745.                 "The color",
  1746.                 reserved,
  1747.                 singleItem,
  1748.                 notEnumerated,
  1749.                 readWrite,
  1750.                 reserved,
  1751.                 reserved,
  1752.                 reserved,
  1753.                 reserved,
  1754.                 reserved,
  1755.                 reserved,
  1756.                 reserved,
  1757.                 reserved,
  1758.                 reserved,
  1759.                 reserved,
  1760.                 reserved,
  1761.                 reserved,
  1762.                 /* [5] */
  1763.                 "Size",
  1764.                 pPointSize,
  1765.                 cFixed,
  1766.                 "The size in points",
  1767.                 reserved,
  1768.                 singleItem,
  1769.                 notEnumerated,
  1770.                 readWrite,
  1771.                 reserved,
  1772.                 reserved,
  1773.                 reserved,
  1774.                 reserved,
  1775.                 reserved,
  1776.                 reserved,
  1777.                 reserved,
  1778.                 reserved,
  1779.                 reserved,
  1780.                 reserved,
  1781.                 reserved,
  1782.                 reserved,
  1783.                 /* [6] */
  1784.                 "Writing Code",
  1785.                 pScriptTag,
  1786.                 cIntlWritingCode,
  1787.                 "The script system and language",
  1788.                 reserved,
  1789.                 singleItem,
  1790.                 notEnumerated,
  1791.                 readOnly,
  1792.                 reserved,
  1793.                 reserved,
  1794.                 reserved,
  1795.                 reserved,
  1796.                 reserved,
  1797.                 reserved,
  1798.                 reserved,
  1799.                 reserved,
  1800.                 reserved,
  1801.                 reserved,
  1802.                 reserved,
  1803.                 reserved,
  1804.                 /* [7] */
  1805.                 "Width",
  1806.                 'pwid',
  1807.                 'cf16',
  1808.                 "Width of the text in points",
  1809.                 reserved,
  1810.                 singleItem,
  1811.                 notEnumerated,
  1812.                 readOnly,
  1813.                 reserved,
  1814.                 reserved,
  1815.                 reserved,
  1816.                 reserved,
  1817.                 reserved,
  1818.                 reserved,
  1819.                 reserved,
  1820.                 reserved,
  1821.                 reserved,
  1822.                 reserved,
  1823.                 reserved,
  1824.                 reserved
  1825.             },
  1826.             {    /* array Elements: 0 elements */
  1827.             }
  1828.         },
  1829.         {    /* array ComparisonOps: 0 elements */
  1830.         },
  1831.         {    /* array Enumerations: 0 elements */
  1832.         },
  1833.         /* [2] */
  1834.         "Required Suite",
  1835.         "Events that every application should support",
  1836.         'reqd',
  1837.         1,
  1838.         1,
  1839.         {    /* array Events: 1 elements */
  1840.             /* [1] */
  1841.             "Quit",
  1842.             "Perform tasks before termination, then terminate",
  1843.             kCoreEventClass,
  1844.             kAEQuitApplication,
  1845.             noReply,
  1846.             "",
  1847.             replyOptional,
  1848.             singleItem,
  1849.             notEnumerated,
  1850.             reserved,
  1851.             reserved,
  1852.             reserved,
  1853.             reserved,
  1854.             reserved,
  1855.             reserved,
  1856.             reserved,
  1857.             reserved,
  1858.             reserved,
  1859.             reserved,
  1860.             reserved,
  1861.             reserved,
  1862.             reserved,
  1863.             noParams,
  1864.             "",
  1865.             directParamOptional,
  1866.             singleItem,
  1867.             notEnumerated,
  1868.             changesState,
  1869.             reserved,
  1870.             reserved,
  1871.             reserved,
  1872.             reserved,
  1873.             reserved,
  1874.             reserved,
  1875.             reserved,
  1876.             reserved,
  1877.             reserved,
  1878.             reserved,
  1879.             reserved,
  1880.             reserved,
  1881.             {    /* array OtherParams: 0 elements */
  1882.                 /* [1] */
  1883.                 "Save",
  1884.                 keyAESaveOptions,
  1885.                 enumSaveOptions,
  1886.                 "Specifies whether or not to save currently open documents",
  1887.                 optional,
  1888.                 singleItem,
  1889.                 enumerated,
  1890.                 reserved,
  1891.                 reserved,
  1892.                 reserved,
  1893.                 reserved,
  1894.                 reserved,
  1895.                 reserved,
  1896.                 reserved,
  1897.                 reserved,
  1898.                 reserved,
  1899.                 reserved,
  1900.                 reserved,
  1901.                 reserved,
  1902.                 reserved
  1903.             }
  1904.         },
  1905.         {    /* array Classes: 0 elements */
  1906.         },
  1907.         {    /* array ComparisonOps: 0 elements */
  1908.         },
  1909.         {    /* array Enumerations: 0 elements */
  1910.         },
  1911.         /* [3] */
  1912.         "Misc Standard Suite",
  1913.         "",
  1914.         'misc',
  1915.         1,
  1916.         1,
  1917.         {    /* array Events: 1 elements */
  1918.             /* [1] */
  1919.             "Show",
  1920.             "Bring an object into view",
  1921.             kAEMiscStandards,
  1922.             kAEMakeObjectsVisible,
  1923.             noReply,
  1924.             "",
  1925.             replyRequired,
  1926.             singleItem,
  1927.             notEnumerated,
  1928.             reserved,
  1929.             reserved,
  1930.             reserved,
  1931.             reserved,
  1932.             reserved,
  1933.             reserved,
  1934.             reserved,
  1935.             reserved,
  1936.             reserved,
  1937.             reserved,
  1938.             reserved,
  1939.             reserved,
  1940.             reserved,
  1941.             'obj ',
  1942.             "",
  1943.             directParamOptional,
  1944.             singleItem,
  1945.             notEnumerated,
  1946.             changesState,
  1947.             reserved,
  1948.             reserved,
  1949.             reserved,
  1950.             reserved,
  1951.             reserved,
  1952.             reserved,
  1953.             reserved,
  1954.             reserved,
  1955.             reserved,
  1956.             reserved,
  1957.             reserved,
  1958.             reserved,
  1959.             {    /* array OtherParams: 0 elements */
  1960.             }
  1961.         },
  1962.         {            /* [1] */
  1963.             "Menu Item",
  1964.             'cmen',
  1965.             "A menu item",
  1966.             {    /* array Properties: 2 elements */
  1967.                 /* [1] */
  1968.                 "Name",
  1969.                 'pnam',
  1970.                 ctext,
  1971.                 "Name of the menu item",
  1972.                 reserved,
  1973.                 singleItem,
  1974.                 notEnumerated,
  1975.                 readOnly,
  1976.                 reserved,
  1977.                 reserved,
  1978.                 reserved,
  1979.                 reserved,
  1980.                 reserved,
  1981.                 reserved,
  1982.                 reserved,
  1983.                 reserved,
  1984.                 reserved,
  1985.                 reserved,
  1986.                 reserved,
  1987.                 reserved,
  1988.                 /* [2] */
  1989.                 "Item Number",
  1990.                 'itmn',
  1991.                 'shor',
  1992.                 "The menu item number",
  1993.                 reserved,
  1994.                 singleItem,
  1995.                 notEnumerated,
  1996.                 readOnly,
  1997.                 reserved,
  1998.                 reserved,
  1999.                 reserved,
  2000.                 reserved,
  2001.                 reserved,
  2002.                 reserved,
  2003.                 reserved,
  2004.                 reserved,
  2005.                 reserved,
  2006.                 reserved,
  2007.                 reserved,
  2008.                 reserved
  2009.             },
  2010.             {    /* array Elements: 0 elements */
  2011.             },
  2012.             /* [2] */
  2013.             "Menu",
  2014.             cMenu,
  2015.             "A menu",
  2016.             {    /* array Properties: 1 elements */
  2017.                 /* [1] */
  2018.                 "Active Item",
  2019.                 'PACT',
  2020.                 cShortInteger,
  2021.                 "The current item number active",
  2022.                 reserved,
  2023.                 singleItem,
  2024.                 notEnumerated,
  2025.                 readOnly,
  2026.                 reserved,
  2027.                 reserved,
  2028.                 reserved,
  2029.                 reserved,
  2030.                 reserved,
  2031.                 reserved,
  2032.                 reserved,
  2033.                 reserved,
  2034.                 reserved,
  2035.                 reserved,
  2036.                 reserved,
  2037.                 reserved,
  2038.             },
  2039.             {    /* array Elements: 1 elements */
  2040.               'cmen',
  2041.                 { /* keyForms */
  2042.                     formAbsolutePosition
  2043.                 },
  2044.             },
  2045.         },
  2046.         {    /* array ComparisonOps: 0 elements */
  2047.         },
  2048.         {    /* array Enumerations: 0 elements */
  2049.         },
  2050.         /* [4] */
  2051.         "Text Suite",
  2052.         "A set of basic classes for text processing",
  2053.         'TEXT',
  2054.         1,
  2055.         1,
  2056.         {   /* array Events: 0 elements */
  2057.         },
  2058.         {    /* array Classes: 0 elements */
  2059.         },
  2060.         {    /* array ComparisonOps: 0 elements */
  2061.         },
  2062.         {    /* array Enumerations: 0 elements */
  2063.         }
  2064.     }
  2065. };
  2066.  
  2067.  
  2068.