home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / da / transsen.sit / TransSendDA.r < prev   
Text File  |  1987-03-15  |  4KB  |  202 lines

  1. * The string \CA in the dialog item titles stands for the hardspace character
  2. *(option space). 
  3. TransSend
  4. DFILDMOV
  5.  
  6. Type DRVR = PROC
  7.  TransSend,16
  8. TransSendDA
  9.  
  10. Type WDEF = GNRL  ;;uses notched windows; not required; can be omitted.
  11.  ,128
  12. .R
  13. WDEF128 WDEF 128
  14.  
  15. Type DLOG
  16.      ,-15872 (32)
  17. \00TransSend
  18. 38 -512 237 1023  ;;make window 3 screenfulls wide
  19. InVisible GoAway
  20. 2048              ;;2048=16*(WDEF ID)=16*128
  21. 300               ;;visible width of notched windows is 300.
  22. -15872
  23.  
  24. Type CNTL
  25.      ,-15872 (32)
  26. Use scrollbar to pan left & right  ;;scrollbar title
  27. 1 100 17 180
  28. Visible
  29. 16                ;;16=scrollbar
  30. 0
  31. 0 2 0             ;;0 thru 2 corresponds to 3 screenfulls; 0 is the initial one
  32.  
  33. Type DITL
  34.      ,-15872 (32)
  35. 34
  36. *   1
  37. EditText Enabled  ;;first (main) edit box; assembled commands go here.
  38. 21 728 46 1018
  39. TransSend 1.0\0DMay be freely distributed, but not sold...\0DBill Benson, benson@lbl-csam.arpa, Lawrence Berkeley Lab, Berkeley CA 94720.
  40.  
  41. *   2
  42. BtnItem Enabled   ;;first (main) pushbutton; sends highlighted text.
  43. 1 725 17 1021
  44. Send Selection to Modem Port
  45.  
  46. *   3
  47. BtnItem Disabled  ;;disabled so that entire title won't be highlighted
  48. 51 999 67 1021
  49. \1A\CA^Z      
  50.  
  51. *   4
  52. BtnItem Disabled  ;;disabled so that entire title won't be highlighted
  53. 51 974 67 994
  54. \03\CA^C     
  55.  
  56. *   5
  57. ResCItem Enabled  ;;first (main) res item is scrollbar; moves window left and
  58. 50 725 66 805     ;;right; moves all dialog items preceding this one in
  59. -15872            ;;the opposite direction so as to still be visible.
  60.  
  61. *   6
  62. EditText Enabled
  63. 72 216 195 506
  64. Use with a terminal emulator. Selecting (highlighting) text activates the Send button above. Scroll to other dialog screens. Pressing  mouse over controls shows their titles. Supports Clipboard.
  65.  
  66. *   7
  67. BtnItem Enabled   ;;assembles text from following boxes and buttons (when both
  68. 51 831 67 953     ;;Enabled and "on") up to next BtnItem Enabled.
  69. \CAPreview╔
  70.  
  71. *   8
  72. StatText Enabled
  73. 73 672 87 709
  74. find 
  75.  
  76. *   9
  77. RadioItem Enabled
  78. 94 725 110 741
  79. ''\CASearch under current working directory.
  80.  
  81. *   10
  82. RadioItem Enabled
  83. 94 745 110 761
  84. \CAAt least one pathname is required. Enter one and turn next check box on.
  85.  
  86. *   11
  87. ChkItem Enabled
  88. 94 766 110 787
  89.  \CAUse additional Pathname if checked.
  90.  
  91. *   12
  92. EditText Disabled
  93. 94 793 108 873
  94. /
  95.  
  96. *   13
  97. ChkItem Disabled  ;;to end scope of preceding ChkItem; placed off screen.
  98. 94 684 115 708
  99.  
  100. *   14
  101. RadioItem Enabled
  102. 94 882 110 898
  103.  -name \CAExactly one filename is required; '*' matches everything (quotes are needed with shell characters).
  104.  
  105. *   15
  106. EditText Enabled
  107. 94 910 108 1016
  108. '*'
  109.  
  110. *   16
  111. RadioItem Enabled
  112. 169 908 185 924
  113.  -print \CAPrint filenames at terminal.
  114.  
  115. *   17
  116. RadioItem Enabled
  117. 169 926 185 942
  118. \CADon't print filenames at terminal.
  119.  
  120. *   18
  121. ChkItem Enabled
  122. 131 725 147 745
  123.  -mtime \CAIf last modification was  {<, >, or exactly} N days ago
  124.  
  125. *   19
  126. RadioItem Disabled
  127. 131 748 147 778
  128. -\CAIf file last modified less than N days ago.
  129.  
  130. *   20
  131. RadioItem Disabled
  132. 131 777 147 806
  133. +\CAIf file last modified more than N days ago.
  134.  
  135. *   21
  136. RadioItem Disabled
  137. 131 809 147 835
  138. ╩\CAIf file last modified exactly N days ago.
  139.  
  140. *   22
  141. EditText Disabled
  142. 133 840 147 860
  143. 1
  144.  
  145. *   23
  146. ChkItem Enabled
  147. 169 725 185 745
  148.  -exec \CAApply a command to each file found, e.g. ls -l
  149.  
  150. *   24
  151. EditText Disabled
  152. 170 747 184 819
  153. ls -l
  154.  
  155. *   25
  156. RadioItem Disabled
  157. 169 827 185 847
  158.  {} \CAUse full pathname for each file found.
  159.  
  160. *   26
  161. RadioItem Disabled
  162. 169 851 185 871
  163.  \CAOmit pathname if unnecessary for the command.
  164.  
  165. *   27
  166. StatText Disabled
  167. 173 681 189 708
  168. \\3B  
  169.  
  170. *   28
  171. ChkItem Disabled  ;;to end scope of preceding ChkItem; placed off screen.
  172. 170 1037 191 1061
  173.  
  174. *   29
  175. StatText Disabled
  176. 67 725 91 1021
  177. Construct "Find" command: Find files matching certain criteria.\0DPress mouse over buttons for info. Click Preview..., then Send.
  178.  
  179. *   30
  180. StatText Disabled
  181. 116 728 130 873
  182. Modified when?
  183.  
  184. *   31
  185. StatText Disabled
  186. 153 727 167 888
  187. Execute a command?
  188.  
  189. *   32
  190. StatText Disabled
  191. 153 907 167 1024
  192. Print at terminal?
  193.  
  194. *   33
  195. BtnItem Enabled   ;;to end scope of preceding BtnItem; placed off screen.
  196. 72 1220 195 1230
  197.  
  198. *   34
  199. EditItem Enabled
  200. 72 1240 195 1530
  201.  
  202.