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

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