home *** CD-ROM | disk | FTP | other *** search
/ Using Asymetrix Multimedi…ool Book Special Edition / SE_UAMT.iso / examples / 25mtb01.tbk (.txt) < prev    next >
Encoding:
Asymetrix ToolBook File  |  1995-10-26  |  135.1 KB  |  400 lines

  1. Using notify
  2. <BookPath>
  3. :HDMEDIAPATH
  4. System
  5. info_LastSavedBy
  6. info_LastSaved
  7. Erik Reitan
  8. Arial
  9. Erik Reitan
  10. Arial
  11. Arial
  12. Erik Reitan
  13. Arial
  14. Arial
  15. 10/26/95 6:16:48 PM
  16. 10/26/95 6:22:26 PM
  17. waveAudio
  18. Wave Audio driver not found!
  19. enterBook
  20. "waveAudio" 
  21. sysSupportedMedia
  22. "Wave 
  23. % driver 
  24. xfound!"
  25. 9507251716271924423826373122
  26. ASYM_TpID
  27. Backdrop
  28. _ASYMA_LockMove
  29. Multimedia ToolBook
  30. Frequently Asked Questions
  31. Playing a wave file and allowing other actionss
  32. enterpage
  33. ASYM_Reset
  34. Using notify
  35. You can use a notify handler in conjunction with a clip command, such as playing a wave audio clip, without obstructing the user from interacting with your application.
  36. Press the buttons to the right to hear and see the example.
  37. notify example
  38. Music
  39. buttonClick
  40. aborted
  41. Clip Aborted!
  42. successful
  43. Music
  44. mmNotify
  45. buttonClick
  46.     mmOpen clip "Music"
  47.     mmPlay 
  48.  notify 
  49. mmNotify clipName, commandName, result
  50. c"successful"
  51.             mmClose 
  52. c"aborted"
  53. "Clip Aborted!"
  54. &Play wave clip using notify
  55. Playing a wave file and allowing other actionsss
  56. CDBSE&File
  57. &Open...    Ctrl+O
  58. &Save    Ctrl+S
  59. Save &As...
  60. saveas
  61. &Import...
  62. import
  63. &Export...
  64. export
  65. Print Set&up...
  66. printsetup
  67. &Print Pages...    Ctrl+P
  68. printpages
  69. Prin&t Report...
  70. printreport
  71. Send &Mail...
  72. sendmail
  73. &Run...
  74. E&xit    Alt+F4
  75. &Edit
  76. &Undo    Ctrl+Z
  77. Cu&t    Ctrl+X
  78. &Copy    Ctrl+C
  79. &Paste    Ctrl+V
  80. paste
  81. C&lear    Del
  82. clear
  83. Select &All    Shift+F9
  84. selectall
  85. Select Pa&ge    Shift+F12
  86. selectpage
  87. &Size to Page    F11
  88. sizetopage
  89. F&ind...    F5
  90. Re&place...
  91. replace
  92. Aut&hor    F3
  93. author
  94. &Text
  95. &Character...    F6
  96. character
  97. &Paragraph...    F7
  98. paragraph
  99. &Regular    Ctrl+Space
  100. regular
  101. &Bold    Ctrl+B
  102. &Italic    Ctrl+I
  103. italic
  104. &Underline    Ctrl+U
  105. underline
  106. Stri&keout    Ctrl+K
  107. strikeout
  108. Superscrip&t/Subscript
  109. superscriptSubscript
  110. &Normal Script
  111. normalscript
  112. Su&bscript    Ctrl+L
  113. subscript
  114. Su&perscript    Ctrl+Shift+L
  115. superscript
  116. &Show Hotwords    F9
  117. showhotwords
  118. &Page
  119. &Next    Alt+Right
  120. &Previous    Alt+Left
  121. previous
  122. &First    Alt+Up
  123. first
  124. &Last    Alt+Down
  125. &Back    Shift+F2
  126. &History...    Ctrl+F2
  127. history
  128. N&ew Page    Ctrl+N
  129. newpage
  130. &Help
  131. &Contents    F1
  132. contents
  133. Status &Bar    F12
  134. statusbar
  135. notifybefore 
  136. "0,0"
  137. "0,0" 
  138. moved
  139.     ssm = sysSuspendMessages
  140. notifyBefore ASYM_Reset
  141. {loc;
  142. buttonClick 
  143. rightButtonClick 
  144. enterpage
  145. moved
  146. ASYM_Reset
  147. buttonDown
  148. buttonUp
  149. buttonClick
  150. buttonDoubleClick
  151. rightButtonDown
  152. rightButtonUp
  153. rightButtonClick
  154. rightButtonClick
  155. rightButtonDoubleClick
  156. new-4
  157. Music
  158. 25mtb01.wav
  159.  %+ %,  
  160. %%4+%%%%,%,,4,,,,%,%,,% 
  161. %,+ +
  162.  %%%%%%+%44+%%,,,8,,,%,%+
  163. %4+ +
  164.  %%  ++%
  165. %+%%+%%% +%%%%%%%, %
  166.  %%%%% 
  167. + %%+ %  4%+% 
  168.  4 % 
  169. %% %%
  170.  %%%+%+% %%%%4%% % 
  171. % %   %+% %+ ++
  172.     +%
  173. % %%%
  174. ###!#
  175. *;*&)
  176. &9))(
  177. '&*55
  178. ()5*(
  179. )9*)*
  180. '5&('
  181. &)).('
  182. H2)&)
  183. ))($$
  184. $(*$$(
  185. &*?D$
  186. ($95)&)(
  187. '($;'
  188. '()*K25
  189. '(****)
  190. $.**)
  191. $$*&(
  192. $(5('('
  193. $&9)(
  194. ')*;)
  195. $$$))
  196. $$**$
  197. $)*$)
  198. )*5$.)
  199. )*9;*).(
  200. $***)**$'
  201. $$*$$
  202. .)5*$
  203. ).()*))'
  204. )*))$
  205. (5?.(
  206. #!##!
  207. %    
  208. $)))$'
  209.      +%
  210.  %%,%
  211.  +,, 
  212. #""!"
  213. %%%% !
  214.  %%%%
  215. %%%%%
  216. ++ +% 
  217. ((.$(
  218. $$.).$
  219. '($$$
  220. %% %+8
  221. %%  %
  222. +%%%+4%% 
  223. $.$))$($$.)$)).($)).$$)(($)$(
  224. ).$$(
  225. ).$$$((
  226. %  % 
  227.  %    
  228. %! % 
  229.  %%  %%% 
  230.  ,,,%
  231.  4%4 4
  232.        
  233. % %%%
  234. % +   
  235.   + %
  236.  %+%  %%C +%, 
  237. 4%%+%
  238. %%+%%
  239. ++,%,
  240. ,%%%%
  241.     %%4,
  242.  %%%,,
  243. ,%,+ 
  244. %%%+% 
  245.   +%%%,,%,+%%
  246.  %%%%%
  247.  %,,4,%,4%8,8,%,+%  + %%+4%%
  248.     %,,%%%%%,,%, %%%+%, % 
  249.  %+  
  250. 488,%% ,,,% 4%%, %8%
  251. %,,>C,8+,,, %+%,8,, 
  252. % ,>,C>,%+,%
  253. %, ,%%  %%%%
  254. %,,%,CC>%%,% +8%%%++
  255. +%,%4,88%, 
  256.  +% %,%
  257. %%,,%%8,,%
  258. %%>,+488,,
  259. % +% 
  260. ,>,,% +,4,%%%,4
  261. ,,,,,,44%%, ,, %
  262. ,%4,%4 ++
  263. +%%48%%,%%%
  264. %%%%%%,,,8%
  265. %%4%%C%,4,, 
  266. %%%,% 
  267.  %,%4
  268. 84%, 4%%
  269. %8 %,  
  270.  ,8%,
  271. %%%  
  272. 4 %+%
  273.  % %%%%
  274. (').'
  275. ()$$(
  276. B/7/2
  277. .712/
  278. $.0502
  279. ./1//
  280. $.0502
  281. $0203
  282. $$*=0/
  283. $$$5=/7
  284. $&$$10//
  285. $)&$&07/
  286. $.&&&)12/0
  287. $&&&$)0</
  288. &)&.&&&2/0
  289. &)&)&$&1102J
  290. &--&&$$)1/03
  291. &&&).$&11/2
  292. B&--&&$$)1/03    
  293. &&-&&$$)$/00
  294. &*&*&&&&&$36/=
  295. &&&*$&)&$130/
  296. B**&&&&*&&.1600
  297. **-&-.*&&$&6000
  298. -*&&&&&-&&&&167/
  299. **-&-.&&&$&1000
  300. -*&&&&&-&&&&167/
  301. &&&&&.--&&&1777
  302. &&&&&&&-**&&&607
  303. &&&&&&&&-*&&&2607(
  304. -&-&&&&&&-*&-&106/
  305. -&&&-&-&&-*&&&-066
  306. &---&&*&)&)&--&)1600
  307. E&-&-&&*&)*)*&-))700$
  308. &&&&&**&&*$&&&&&&066
  309. &&&&&-****-&*&&&&176/
  310. *.&$$$*-&-*$.&&&&&2663
  311. '.*$$((
  312. &&&&&-***&-$*&&&&176/
  313. *.&$$$*-&-*$.&&&&&2663
  314. *)&&$$&-*-*&.&&&&&$667
  315. 5&$&$$$&&&**)&&&&.$<0000
  316. .$)((
  317. 5$$&)$.&-.*))&&&).&1030
  318. *&$&)-&&-)---&&..$$*2366
  319. *&@&&&&&-&.-&&&..$
  320. &&3/67
  321. &-&)&$*-)&)&)&&)$$$$*526A6
  322. $&&-&&&.-&-&..$$&&2/67
  323. &-&)&$*-)&)&)&&)$$$$*526A6
  324. -&$&&&-&&.&)&&&$$$$**2/77F
  325. *&&&&$$$.&$)$$$&)$
  326. *<I0AF
  327. 5&&&&$$$$.$.)$$$&)
  328. &*<10AF*
  329. B<*-&.$$$:$
  330. -*<36A
  331. **-&..$$@$
  332. $&<2666
  333. .<-&&.&&$$
  334. &<2367
  335. *<-&-&&$$
  336. :$$$:$-<=36(
  337. --**.-&&&$&$
  338. &2/07
  339. &-&*-&&&&&$$@
  340. $-/=70
  341. $-&&&&&&&&.&$$
  342. )22/3
  343. &-&*-&-&&&$&
  344. $-2=00
  345. $-&&&&&&&&.&$$
  346. )22/3
  347. --&-&&&&&$&.$
  348. $1223
  349. &-&&--&&&&&$:$$$
  350. *-*&-&&-&&&$
  351. $//2/
  352. ---*-&)---$$$$$
  353. $3//$
  354. .-*--&)&--&$$
  355. $$$10//
  356. &***&&.*&&$$)$$$100/
  357. .-*-*&&&--&$$:$$
  358. &***&&.*&&$$)$$$100/
  359. ***&-..-&$$$$$.133/
  360. .*--&&-).&
  361. $$$133/
  362. M*---&&-)$&$$$$10//
  363. *&*--&&.$:$$
  364.     M***---&.&
  365. $$J1//2
  366. .&&<*&$$$$$$133/
  367.     &&&<-&$$$$$$/33
  368. &&-*&$$
  369. $1//3N
  370. $&)*-)$$
  371. &//33!
  372. $$&)&.$$
  373. $0/=/
  374. $&)--)$$
  375. :&1//3
  376. $$&)&.$$
  377. $0/=/
  378. $$)&&$.@
  379. &&&&&$.&100/
  380. E-&&-&$.$300/    
  381. &&*.$)&000'    
  382. &&&-$$&2303
  383. &&&)$&2000
  384. &&&-.$)2303$    
  385. &&&)$&2000
  386. &&&$.2030
  387. .$&)2/03
  388. $$&&2/03
  389. :.&//0
  390. &1//0
  391. $-/2/
  392. $$///
  393. ;55K*
  394. $E2//
  395. )9*?5
  396. ')$($
  397. ($($$'
  398. (*.$$
  399. ($$$($
  400.