home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / hypercar / 4962 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  7.9 KB

  1. Path: sparky!uunet!charon.amdahl.com!amdahl!rtech!sgiblab!swrinde!gatech!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!bu.edu!dartvax!Roger.W.Brown
  2. From: Roger.W.Brown@dartmouth.edu (Roger Brown)
  3. Newsgroups: comp.sys.mac.hypercard
  4. Subject: Dartmouth XCMD's 4.0 available
  5. Message-ID: <C1J20y.276@dartvax.dartmouth.edu>
  6. Date: 27 Jan 93 19:26:58 GMT
  7. Sender: news@dartvax.dartmouth.edu (The News Manager)
  8. Organization: Dartmouth College, Hanover, NH
  9. Lines: 194
  10. X-Posted-From: InterNews1.0b8@newshost.dartmouth.edu
  11.  
  12. =====================================
  13. == Announcing Dartmouth XCMD's 4.0 ==
  14. =====================================
  15.  
  16. January 26, 1993
  17.  
  18. Dartmouth XCMD's 4.0 is a HyperCard stack containing a collection of 50
  19. XCMD's and XFCN's developed over the years at Dartmouth College. The
  20. previous official release of this collection was version 3.4.3. The
  21. stack includes source code for all but one XFCN, including three
  22. examples of external window XCMD's. Sources are in Pascal or C. 
  23.  
  24. The stack is available via ftp as a binhexed self-extracting archive:
  25.  
  26. /pub/mac/DXCMDs_4.0.sea.hqx on dartvax.dartmouth.edu.
  27.  
  28. ) 1988-1993 by the Trustees of Dartmouth College.
  29. Permission is granted for the non-commercial use and distribution of
  30. this stack. Commercial use requires a license, as explained in the
  31. stack.
  32.  
  33. For more information, contact: 
  34.  
  35. Roger Brown                                 Roger.Brown@Dartmouth.edu
  36. Academic Computing
  37. Dartmouth College
  38. Hanover, NH 03755
  39.  
  40. ==========================================================
  41. These are the XCMD's that have never been released before:
  42. ==========================================================
  43.  
  44. FileToPICTRes creates a PICT resource from a PICT or PNTG (MacPaint)
  45. file and copies it into the current stack.  
  46.  
  47. ListDialog is an XFCN that presents a customizable modal dialog box
  48. containing a list of items. It replaces all of the versions of
  49. XScrollBox. The previous features of those versions are now available
  50. using parameters. New features include the ability to size the font of
  51. the selection list, the ability to position and size the dialog window,
  52. and up to 4 user-definable buttons.
  53.  
  54. DelimitedChunk is an XFCN that takes a string comprised of "chunks"
  55. delimited by an arbitrary (non-null) delimiter character and returns a
  56. specified chunk, or counts the chunks.
  57.  
  58. RandOrder is an XFCN that returns a container with its items, lines,
  59. words or characters reordered randomly.
  60.  
  61. DeleteRes is an XCMD that deletes a single resource from the current
  62. stack.
  63.  
  64. PrintPictRes is an XCMD that prints a named PICT resource in the
  65. current stack.
  66.  
  67. CompareStrings is an XFCN that performs a case-sensitive comparison of
  68. two strings, and returns the range of characters for which the first
  69. string does not match the second.
  70.  
  71. GetFieldText (XFCN), SetFieldText (XCMD), and DisposeFieldText (XCMD)
  72. are used together to copy the contents of a field into another field,
  73. keeping text styles intact.
  74.  
  75. TDWindow is an XCMD that displays literal text, text from a file, or
  76. styled text from a HyperCard field in an external document-style
  77. window.  
  78.  
  79. Clipboard is an XFCN to get or set the contents of the Clipboard.
  80.  
  81. ReplaceChar is an XFCN to replace all occurrences of a single character
  82. (case-sensitive) within a text string with another character.  
  83.  
  84. BinaryFile reads and writes arbitrarily formatted binary files.
  85.  
  86. LastVisibleChar finds the last character in a field that is visible on
  87. the screen.
  88.  
  89. EditWindow is an external window XCMD that creates windows for text
  90. editing.
  91.  
  92. ListWindow is an external window XCMD that creates windows for the
  93. presentation of lists.
  94.  
  95. ======================================================================
  96. These are the XCMD's that have been revised since stack version 3.4.3:
  97. ======================================================================
  98.  
  99. RInstall copies any resource contained in any currently open resource
  100. file to a file you specify by full pathname.
  101.  
  102. ModalDialog displays a dialog box created by any resource generator or
  103. editor, such as ResEdit.  
  104.  
  105. XScrollBox, XScrollBoxF, XScrollBox M, and XScrollBoxML have been
  106. replaced by ListDialog.
  107.  
  108. FindInField locates a string in a given field or container and returns
  109. position information.
  110.  
  111. Serialhandler is an XFCN that opens access to the Macintosh serial
  112. ports.(Source code is not included.)
  113.  
  114. HC Utilities is a collection of various C functions that are useful
  115. when creating XCMD's.
  116.  
  117. SortFieldByItem is an XFCN that alphabetically sorts the lines of any
  118. HyperCard container using a specified item in the line as a sort key. 
  119.  
  120. Replace is an XFCN that replaces all occurrences of specified target
  121. text with new text in a container.
  122.  
  123. MenuHandler is an XCMD that gives you the ability to add and manipulate
  124. your own menus in a stack.
  125.  
  126. FindKeyi s an XFCN that locates a target string in a specified item of
  127. an input field or other container.
  128.  
  129. MultiSort is an XFCN that sorts the lines of a container according to
  130. the value of specified items in the line. It will do a multilevel sort
  131. on several items and can sort ascending or descending by alphabetic,
  132. numeric, time, or date order.
  133.  
  134. PopList is an XFCN that handles a pop-up menu.  Menu items may contain
  135. Menu Manager meta-characters for disabling, checking, etc.
  136.  
  137. =====================================================================
  138. These are the XCMD's that have not changed since stack version 3.4.3:
  139. =====================================================================
  140.  
  141. PrintField prints the text of a field in the field's current textFont,
  142. textSize, textStyle, textHeight, and width. 
  143.  
  144. The TextStream XCMD prints the contents of up to 16 HyperTalk
  145. containers using your printer's built-in font. 
  146.  
  147. The FileToField XCMD copies the contents of a text file into a
  148. HyperCard field. 
  149.  
  150. The WriteToFile XCMD writes the contents of a HyperCard container to a
  151. text file.
  152.  
  153. The FileToClip XCMD copies the contents of a text file to the
  154. clipboard. 
  155.  
  156. PictureShow opens a window on top of the current card and displays a
  157. picture in it. PictureHide takes the window away.
  158.  
  159. ClipToPICT creates a PICT resource from a picture you've copied to the
  160. clipboard and copies it to the current stack.
  161.  
  162. PICTFileToRes creates a PICT resource from a PICT file and copies it
  163. into the current stack.  
  164.  
  165. LeafName takes a full pathname and returns the last component of it.
  166.  
  167. DeleteResFork deletes the resource fork of a stack while leaving the
  168. data fork intact.
  169.  
  170. IsResource checks for the availability of a resource by its resource
  171. type and name, by its resource type and ID, or by its resource type,
  172. name, and ID. 
  173.  
  174. ResList returns information about the resources contained in a file. 
  175.  
  176. GetResources copies resources to the current stack from a file.
  177.  
  178. SizeCardWindow sets the size of the HyperCard window.
  179.  
  180. ObjectExists determines whether or not a HyperCard object exists.
  181.  
  182. Password behaves in almost the same way as the HyperTalk command "ask
  183. password".  It differs in that it is capable of distinguishing between
  184. upper- and lower-case characters and in that it displays bullets in the
  185. ask dialog box instead of the actual password. 
  186.  
  187. ConvertDate performs a function identical to that of the HyperTalk
  188. "convert" command except that it handles a much wider range of dates.
  189.  
  190. SystemFolder returns the pathname of the folder that contains the
  191. currently active System file.
  192.  
  193. HyperFolder returns the pathname of the folder that contains the copy
  194. of HyperCard that's currently running.
  195.  
  196. AuxActive returns true if HyperCard is running under A/UX and false if
  197. HyperCard is running under the Macintosh OS.
  198.  
  199. WritePermission determines whether an existing file can be opened for
  200. writing as well as reading.
  201.  
  202. SortField is an XFCN that sorts the lines of any HyperCard container.
  203.  
  204. ChooserName is an XFCN that returns the currently stored chooser name.
  205.  
  206.  
  207.  
  208. --------------------------------------------------------------------
  209. Roger Brown                                roger.brown@dartmouth.edu
  210. Software Development
  211. Kiewit Computation Center, Dartmouth College, Hanover, NH
  212.