home *** CD-ROM | disk | FTP | other *** search
/ Using Asymetrix Multimedi…ool Book Special Edition / SE_UAMT.iso / examples / set_to.tbk (.txt) < prev    next >
Encoding:
Asymetrix ToolBook File  |  1995-11-02  |  17.9 KB  |  208 lines

  1. <BookPath>
  2. :HDMEDIAPATH
  3. System
  4. <BookPath>
  5. :HDMEDIAPATH
  6. System
  7. enterBook
  8. close all
  9. leaveBook
  10. TO HANDLE 
  11. imageCommand ("close 
  12. TO HANDLE 
  13. bmapPosition ("a") 
  14. "200,200"
  15. &Button
  16. Move to:
  17. CDBSE&File
  18. &Open...    Ctrl+O
  19. &Save    Ctrl+S
  20. Save &As...
  21. saveas
  22. &Import...
  23. import
  24. &Export...
  25. export
  26. Print Set&up...
  27. printsetup
  28. &Print Pages...    Ctrl+P
  29. printpages
  30. Prin&t Report...
  31. printreport
  32. Send &Mail...
  33. sendmail
  34. &Run...
  35. E&xit    Alt+F4
  36. &Edit
  37. &Undo    Ctrl+Z
  38. Cu&t    Ctrl+X
  39. &Copy    Ctrl+C
  40. &Paste    Ctrl+V
  41. paste
  42. C&lear    Del
  43. clear
  44. Select &All    Shift+F9
  45. selectall
  46. Select Pa&ge    Shift+F12
  47. selectpage
  48. &Size to Page    F11
  49. sizetopage
  50. F&ind...    F5
  51. Re&place...
  52. replace
  53. Aut&hor    F3
  54. author
  55. &Text
  56. &Character...    F6
  57. character
  58. &Paragraph...    F7
  59. paragraph
  60. &Regular    Ctrl+Space
  61. regular
  62. &Bold    Ctrl+B
  63. &Italic    Ctrl+I
  64. italic
  65. &Underline    Ctrl+U
  66. underline
  67. Stri&keout    Ctrl+K
  68. strikeout
  69. Superscrip&t/Subscript
  70. superscriptSubscript
  71. &Normal Script
  72. normalscript
  73. Su&bscript    Ctrl+L
  74. subscript
  75. Su&perscript    Ctrl+Shift+L
  76. superscript
  77. &Show Hotwords    F9
  78. showhotwords
  79. &Page
  80. &Next    Alt+Right
  81. &Previous    Alt+Left
  82. previous
  83. &First    Alt+Up
  84. first
  85. &Last    Alt+Down
  86. &Back    Shift+F2
  87. &History...    Ctrl+F2
  88. history
  89. N&ew Page    Ctrl+N
  90. newpage
  91. &Help
  92. &Contents    F1
  93. contents
  94. Status &Bar    F12
  95. statusbar
  96. c:\mtb30\clipart\bitmaps\jet.bmp
  97. &Last    Alt+Down
  98. &Back    Shift+F2
  99. &History...    Ctrl+F2
  100. history
  101. N&ew Page    Ctrl+N
  102. newpage
  103. &Help
  104. &Contents    F1
  105. contents
  106. Status &Bar    F12
  107. statusbar
  108.  save it as "WORKING.TBK". Then create a second book (one page will do fine) and save it under the name "OTHER.TBK". Make a system book with one page, "TARGET.SBK". (All books should be in your current working directory. These two books are included on the ccompanying disk.)  You may wish to change the background color or put an object or two on the page of "OTHER.TBK" to illustrate which book is open. (If you do not normally make your books full-screen, the name of the book is visible in the caption bar.)
  109. -#,    #?
  110. play a
  111. alias a style child parent
  112. enterPage
  113. window
  114. position
  115. bmapPosition
  116. TO HANDLE 
  117. imageCommand ("
  118. " && 
  119. "fn" 
  120. && "alias a style child 
  121. " && windowHandle 
  122. Yplay a")
  123. TO SET bmapPosition theAlias 
  124. thePoint
  125.     && "
  126. " && 
  127. ( && "wait" )
  128. (bmapPosition
  129. buttonClick
  130. TO HANDLE buttonClick
  131. bmapPosition ("a") 
  132. "mt" 
  133. 10,150
  134. 20,200000
  135. Move to:
  136. d:\mtb30\clipart\bitmaps\jet.bmp
  137. Filename:
  138. close all
  139. buttonClick
  140. TO HANDLE buttonClick
  141. imageCommand ("close 
  142. Close
  143. *ClassTbl*
  144. *ClassEntry*
  145. *PTABLE*
  146. *WINDOWSEG*
  147. *ICONRESTAB*
  148. *ICONRESSEG*
  149. *ICONRES*
  150. Background
  151. *OBJTABLE*
  152. *IDTABLE*
  153. *NAMETAB*
  154. Rectangle
  155. Ellipse
  156. RoundedRectangle
  157. Polygon
  158. IrregularPolygon
  159. AngledLine
  160. Curve
  161. PaintObject
  162. Picture
  163. Group
  164. Stage
  165. Button
  166. Viewer
  167. ComboBox
  168. Field
  169. RecordField
  170. Hotword
  171. *RHOTWORD*
  172. *TbxBase*
  173. -$,    #?
  174. play a
  175. alias a style child parent
  176. enterPage
  177. window
  178. position
  179. bmapPosition
  180. TO HANDLE 
  181. imageCommand ("
  182. " && 
  183. "fn" 
  184. && "alias a style child 
  185. " && windowHandle 
  186. Yplay a")
  187. TO SET bmapPosition theAlias 
  188. thePoint
  189.     && "
  190. " && 
  191. ( && "wait" )
  192. (bmapPosition
  193. buttonClick
  194. TO HANDLE buttonClick
  195. bmapPosition ("a") 
  196. "mt" 
  197. 160,80
  198. 20,200000
  199. Move to:
  200. d:\mtb30\clipart\bitmaps\jet.bmp
  201. Filename:
  202. close all
  203. buttonClick
  204. TO HANDLE buttonClick
  205. imageCommand ("close 
  206. Close
  207. test.bmp
  208.