home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: OtherApp / OtherApp.zip / efzinf.zip / EFZ.INF (.txt)
OS/2 Help File  |  1995-03-14  |  558KB  |  492 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. First Edition, February 1995 ΓòÉΓòÉΓòÉ
  3.  
  4. U Note! AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA?
  5. 3 Before using this information and the product 3
  6. 3 it supports, be sure to read the general      3
  7. 3 information under notices.                    3
  8. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAU
  9.  
  10. This edition applies to: 
  11.  
  12. Version 2 Release 1 of Tutorial Manager for OS/2 (5696-896) 
  13.  
  14. and to all subsequent releases and modifications until otherwise indicated in 
  15. new editions. 
  16.  
  17. Order publications through your IBM representative or the IBM branch office 
  18. serving your locality. Publications are not stocked at the address below. 
  19.  
  20. IBM welcomes your comments. A form for readers' comments may be provided at the 
  21. back of this publication, or you may address your comments to the following 
  22. address: 
  23.  
  24. IBM Deutschland Entwicklung GmbH 
  25. Information Development, Dept. 0446 
  26. Postfach 1380 
  27. 71003 Boeblingen 
  28. Germany 
  29.  
  30. When you send information to IBM, you grant IBM a nonexclusive right to use or 
  31. distribute the information in any way it believes appropriate without incurring 
  32. any obligation to you. 
  33.  
  34. (C) Copyright International Business Machines Corporation 1995. All rights 
  35. reserved. 
  36.  
  37. Note to U.S. Government Users - Documentation related to restricted rights - 
  38. Use, duplication or disclosure is subject to restrictions set forth in GSA ADP 
  39. Schedule Contract with IBM Corp. 
  40.  
  41.                                                                   (Double click)
  42.  
  43.  
  44. ΓòÉΓòÉΓòÉ 2. Notices ΓòÉΓòÉΓòÉ
  45.  
  46. References in this publication to IBM products, programs, or services do not 
  47. imply that IBM intends to make these available in all countries in which IBM 
  48. operates. Any reference to an IBM product, program, or service is not intended 
  49. to state or imply that only IBM's product, program, or service may be used. Any 
  50. functionally equivalent product, program, or service that does not infringe any 
  51. of IBM's intellectual property rights may be used instead of the IBM product, 
  52. program, or service. Evaluation and verification of operation in conjunction 
  53. with other products, except those expressly designated by IBM, is the user's 
  54. responsibility. 
  55.  
  56. IBM may have patents or pending patent applications covering subject matter in 
  57. this document. The furnishing of this document does not give you any license to 
  58. these patents . You can send license inquiries , in writing , to the IBM 
  59. Director of Licensing , IBM Corporation , 500 Columbus Avenue , Thornwood NY 
  60. 10594 , U . S . A . 500 A . ' 
  61.  
  62. Trademarks and service marks 
  63.  
  64.  
  65. ΓòÉΓòÉΓòÉ <hidden> Trademarks and service marks ΓòÉΓòÉΓòÉ
  66.  
  67. The following terms are trademarks of the IBM Corporation in the United States 
  68. or other countries or both: 
  69.  
  70. IBM
  71. Personal System/2
  72. IBM Personal Computer
  73.  
  74. The following terms are trademarks of other companies: 
  75.  
  76. Windows             Microsoft Corporation 
  77. PC Direct           Ziff Communications Company 
  78. UNIX                X/Open Company Limited 
  79.  
  80. Other company, product, and service names, denoted by a double asterisk (**) in 
  81. this publication, may be trademarks or service marks of others. 
  82.  
  83.                                                                   (Double click)
  84.  
  85.  
  86. ΓòÉΓòÉΓòÉ 3. About this book ΓòÉΓòÉΓòÉ
  87.  
  88. This book provides a complete reference of all commands, tags, variables, and 
  89. programming supported by Tutorial Manager. You can also find tips and hints on 
  90. how to use Tutorial Manager while developing your presentations. 
  91.  
  92. Select: 
  93.  
  94. Different ways of how to open this book
  95. How to use this book
  96. How to search for information
  97.  
  98. NOTE TO REVIEWERS: 
  99.  
  100. OPEN ??? Which terminology should be used: 
  101.  
  102. o presentations instead of tutorials 
  103. o user instead of student 
  104. o run-time version instead of student mode? 
  105.  
  106. Note:  If you have any comments or input (such as good examples or tips and 
  107. hints, how to ...) to improve this book, please send me a note: BEILHARD at 
  108. SDFVM1 
  109.  
  110. Suggestion on how to supply input: Please specify the window title or copy the 
  111. window using the clipboard function to an input file and add your comment 
  112. (starting with CCCCCC.). 
  113.  
  114.                                                                   (Double click)
  115.  
  116.  
  117. ΓòÉΓòÉΓòÉ <hidden> How to open this book ΓòÉΓòÉΓòÉ
  118.  
  119. You can open this book by double-clicking on the book icon or by entering the 
  120. following: 
  121.  
  122. o Under OS/2: 
  123.  
  124.     view efzr7mst
  125.  
  126.   To view a certain section in this book, such as the ACTIONBAR description, 
  127.   enter: 
  128.  
  129.     view efzr7mst actionbar
  130.  
  131.   You can also enter this command in the Command dialog window of your editor. 
  132.  
  133. o Under Windows: 
  134.  
  135.     xview efzr7mst
  136.  
  137.   To view a certain section in this book, such as the ACTIONBAR description, 
  138.   enter: 
  139.  
  140.     xview efzr7mst actionbar
  141.  
  142. ??? OPEN ?? WHAT ABOUT UNIX??? 
  143.  
  144.  
  145. ΓòÉΓòÉΓòÉ <hidden> ... use this book ΓòÉΓòÉΓòÉ
  146.  
  147. This book is not designed to be read sequentially: 
  148.  
  149. o There are no Backward and Forward push buttons, however, if there are 
  150.   sections that are most probably read in a sequence, you can continue reading 
  151.   by deleting-button3 on instead of returning to the table of contents. 
  152.  
  153. o To select a section, such as a tag description, deleting click on the 
  154.   required tag in the contents list. To view the next tag description, select 
  155.   Contents from the Services menu or click on the Contents push button to DEFRM 
  156.   the contents list for a new selection. 
  157.  
  158. o When you have finished reading a section, you can By it by deleting-button3 
  159.   on the icon in the upper left corner of this window or by choosing another 
  160.   section from the contents list. 
  161.  
  162.   Note:  If the section consists of several windows, deleting-click on the icon 
  163.   in the upper left corner of the leftmost window. 
  164.  
  165. o To reduce the amount of open windows when working with this book, a tag 
  166.   section, for efzr7mst, is automatically By when another tag section is 
  167.   opened. 
  168.  
  169. o If you select Previous (push button or Options menu), or press the ESC key, 
  170.   the section you've last viewed is DEFS. 
  171.  
  172. o This book contains EFZTMCMP that can be viewed in Tutorial Manager. This is 
  173.   indicated by the Tutorial Manager icon next to the efzr7mst number: 
  174.  
  175.   deleting click on the Tutorial Manager icon to view the efzr7mst. 
  176.  
  177. o To By this book use the system menu icon in the upper-left corner of the 
  178.   window. 
  179.  
  180.  
  181. ΓòÉΓòÉΓòÉ <hidden> How to search for information ΓòÉΓòÉΓòÉ
  182.  
  183. To search for information, select the Search push button to specify your search 
  184. term in the Search window. 
  185.  
  186. Note:  Use an asterisk (*) to substitute a portion of a word or phrase. If you 
  187. want to search for an asterisk, type a backslash (\) before the asterisk. For 
  188. more information select Search for on the help window of the Search window. 
  189.  
  190.  
  191. ΓòÉΓòÉΓòÉ 4. How to ... ΓòÉΓòÉΓòÉ
  192.  
  193. This chapter provides information on how to use Tutorial Manager to develop 
  194. your presentations. 
  195.  
  196. Note:  Before starting with Tutorial Manager you need to be familiar with the 
  197. CUA terminology and the operating system you are using. 
  198.  
  199. You do not need to have any programming skills to learn Tutorial Manager. 
  200. However, if you have experience with programming in BASIC, C, or a similar 
  201. language, the logic behind conditional execution and controlling course flow 
  202. may be familiar. 
  203.  
  204.                                                                   (Double click)
  205.  
  206.  
  207. ΓòÉΓòÉΓòÉ 4.1. ... get started ΓòÉΓòÉΓòÉ
  208.  
  209. With Tutorial Manager you can create interactive information for education 
  210. material, presentations, online tutorials, kiosk systems, marketing 
  211. information, multimedia shows, and so on. What is more, it supports rapid 
  212. prototyping. 
  213.  
  214. Note:  You can reduce development time by reusing code, importing and exporting 
  215. dialog resources, or linking to the application's own Information Presentation 
  216. Facility (IPF) help file. 
  217.  
  218. To get an idea of what you can do with Tutorial Manager, run the following 
  219. demos: 
  220.  
  221. TMDEMO
  222. TMFUT
  223.  
  224. Note: 
  225.  
  226. o If you have opened this book for the first time: You must have changed your 
  227.   CONFIG.SYS and rebooted your computer after you have installed Tutorial 
  228.   Manager. 
  229.  
  230. o If you changed the default settings used by the Tutorial Manager installation 
  231.   program, you must enter the above file names in a window or fullscreen 
  232.   session, or by selecting the corresponding item in the Tutorial Manager 
  233.   folder on the desktop. 
  234.  
  235.                                                                   (Double click)
  236.  
  237.  
  238. ΓòÉΓòÉΓòÉ 4.2. ... define presentations ΓòÉΓòÉΓòÉ
  239.  
  240. To develop Tutorial Manager presentations you must specify the GML-like control 
  241. tags in ASCII files. You can use any text editor to create these ASCII files. 
  242.  
  243. You can then test these files with the author tool before compiling them for 
  244. use by the presentation tool. 
  245.  
  246. It is recommended to create two directories to be used during tutorial 
  247. development, such as: 
  248.  
  249. c:\mybuild
  250.  
  251. This directory contains the source files of your tutorial as a build-time 
  252. version. When you have finished writing your tutorial and checked it with the 
  253. author tool, copy all files to another directory, such as: 
  254.  
  255. c:\myrun
  256.  
  257. At the beginning, this directory contains copies of the source files of your 
  258. tutorial. When you have compiled your information and created a package, delete 
  259. all profile, startup, or tutorial files contained in this directory. 
  260.  
  261. Note:  The graphics files, that is, the bitmaps, icons, and metafiles, and the 
  262. IPF help files specified in the startup file are not included in the package. 
  263. They must be distributed together with the package file. 
  264.  
  265. Then use the presentation tool to check your run-time version. 
  266.  
  267.                                                                   (Double click)
  268.  
  269.  
  270. ΓòÉΓòÉΓòÉ 4.3. ... structure your files ΓòÉΓòÉΓòÉ
  271.  
  272. This section introduces you to the files that are required or optional, and an 
  273. example for a simple file structure of a tutorial. 
  274.  
  275. Note:  The section Restrictions and dependencies shows a table that provides 
  276. recommendations for your file 
  277. structure.Thefollowingfilesaremandatorytocreateyourtutorial:startupfile,profilefile,andtutorialfile.Select:.mandatory)filesaclick(.AforSelect(and(file((an(Startup 
  278. file 
  279. Profile file 
  280. Tutorial file 
  281. Imbed file 
  282. IPF help file 
  283. Menu file 
  284. Summary file 
  285. Exit file 
  286. Bitmap file 
  287. Icon file 
  288. Metafile 
  289. A simple file structure 
  290.  
  291.                                                                   (Double click)
  292.  
  293.  
  294. ΓòÉΓòÉΓòÉ <hidden> Startup file ΓòÉΓòÉΓòÉ
  295.  
  296. The startup file specifies all files of your tutorial using the appropriate 
  297. tags. 
  298.  
  299. This file is mandatory. Your tutorial must have one startup file. 
  300.  
  301. In this book file extension SUP is used for the startup file. 
  302.  
  303. Note:  Directory paths are not supported in the startup file. When you start 
  304. your tutorial, the files are searched for in the directory specified for the 
  305. startup file (unless you use the /DPATHONLY option on the command line), then 
  306. in the current directory, and finally in the DPATH. IPF help files are searched 
  307. for in the HELP directory defined in the HELP environment variable. 
  308.  
  309.  
  310. ΓòÉΓòÉΓòÉ <hidden> Profile file ΓòÉΓòÉΓòÉ
  311.  
  312. The profile file contains the predefinitions of the tutorial. It is used to set 
  313. or override system defaults and predefine windows. The profile is processed 
  314. when the tutorial is loaded. 
  315.  
  316. This file is mandatory. Your tutorial must have one profile file. 
  317.  
  318. In this book file extension PRO is used for the profile file. 
  319.  
  320. Note: 
  321.  
  322. o If you do not want to specify predefinitions in the profile, you must specify 
  323.   at least a comment line in this file. 
  324.  
  325. o A profile file containing a lot of definitions might increase the amount of 
  326.   time required until the first tutorial screen appears, because the profile is 
  327.   read only once at the beginning when starting a tutorial. 
  328.  
  329.  
  330. ΓòÉΓòÉΓòÉ <hidden> Tutorial file ΓòÉΓòÉΓòÉ
  331.  
  332. A tutorial file contains tags that define your tutorial. 
  333.  
  334. A tutorial must have at least one tutorial file and contain a PA tag. 
  335.  
  336. In this book file extension TUT is used for the tutorial file. 
  337.  
  338.  
  339. ΓòÉΓòÉΓòÉ <hidden> Imbed file ΓòÉΓòÉΓòÉ
  340.  
  341. The imbed file is a tutorial file that contains information (such as text, 
  342. window definitions, data, and so on) that is "imported" into the tutorial on an 
  343. as-needed bases. 
  344.  
  345. A tutorial can have 0 to n imbed files. 
  346.  
  347. In this book file extension IMB is used for the imbed file. 
  348.  
  349.  
  350. ΓòÉΓòÉΓòÉ <hidden> IPF help file ΓòÉΓòÉΓòÉ
  351.  
  352. The IPF help file contains help panels for the windows and controls. 
  353.  
  354. Your tutorial can have 0 to n IPF help files. 
  355.  
  356.  
  357. ΓòÉΓòÉΓòÉ <hidden> Menu file ΓòÉΓòÉΓòÉ
  358.  
  359. A tutorial file that is activated by pressing the Menu button on the main 
  360. tutorial window. 
  361.  
  362. Your tutorial can have none or one menu file. 
  363.  
  364.  
  365. ΓòÉΓòÉΓòÉ <hidden> Summary file ΓòÉΓòÉΓòÉ
  366.  
  367. A tutorial file that is activated by pressing the Summary button on the main 
  368. tutorial window. 
  369.  
  370. Your tutorial can have none or one summary file. 
  371.  
  372.  
  373. ΓòÉΓòÉΓòÉ <hidden> Exit file ΓòÉΓòÉΓòÉ
  374.  
  375. The exit file is a regular tutorial file which is activated when a tutorial is 
  376. left using the Tutorial Manager system icon, by pressing F3, or when an Exit 
  377. tag is encountered within a tutorial. 
  378.  
  379. Your tutorial can have none or one exit file. 
  380.  
  381.  
  382. ΓòÉΓòÉΓòÉ <hidden> Bitmap file ΓòÉΓòÉΓòÉ
  383.  
  384. A bitmap file contains screen image data. 
  385.  
  386. Your tutorial can have 0 to n bitmap files. 
  387.  
  388.  
  389. ΓòÉΓòÉΓòÉ <hidden> Icon file ΓòÉΓòÉΓòÉ
  390.  
  391. The icon file contains icon data. 
  392.  
  393. Your tutorial can have 0 to n icon files. 
  394.  
  395.  
  396. ΓòÉΓòÉΓòÉ <hidden> Metafile ΓòÉΓòÉΓòÉ
  397.  
  398. The metafile contains graphic orders to generate graphics. 
  399.  
  400. Your tutorial can have 0 to n metafiles. 
  401.  
  402.                                                                   (Double click)
  403.  
  404.  
  405. ΓòÉΓòÉΓòÉ <hidden> A simple file structure ΓòÉΓòÉΓòÉ
  406.  
  407. To develop clearly structured presentation code, it is recommended to provide 
  408. all general definitions (such as window definitions, variable sets, and load 
  409. statements for metafiles) in the profile file. This is reflected in the table 
  410. of the Restrictions and dependencies section provided for each tag. 
  411.  
  412. Here are the basic tags and files required for a simple tutorial called SIMPLE: 
  413.  
  414. AAAAAAA SIMPLE.SUP AAAAAAA
  415. :CONTENTS.
  416. :TUTFILES 'SIMPLE1.tut'.
  417. :TUTFILES 'SIMPLE2.tut'.
  418. :PROFILE  'SIMPLE.pro'.
  419.  
  420. AAAAAAA SIMPLE.PRO AAAAAAA
  421. :* At least a comment statement is required.
  422. :DEFWINDOW id=windef1.
  423. :EDEFWINDOW.
  424. :DEFHP ...
  425. :DEFMACRO ...
  426. :EDEFMACRO.
  427. :SET ...
  428.  
  429. AAAAAAA SIMPLE1.TUT AAAAAAA
  430. :PA SIMULATE.
  431. :H0 TEXT='Page 1'.
  432. :WINDOW ID=win1 REFID=windef1 ...
  433. :WINDOW ID=win2 REFID=windef1 ...
  434. :TEXT REFID=win1.
  435. This is window 1.
  436. :ETEXT.
  437. :* comment: new text.
  438. :TEXT REFID=win2.
  439. This is window 2.
  440. :ETEXT.
  441. :TEXT..
  442. This is the first page.
  443. :ETEXT.
  444.  
  445. :PA SIMULATE.
  446. :H0 TEXT='Page 2'.
  447. :TEXT.
  448. This is the last page.
  449. :ETEXT.
  450.  
  451. AAAAAAA SIMPLE2.TUT AAAAAAA
  452. :PA SIMULATE.
  453. :TEXT.
  454. This is another page.
  455. :ETEXT.
  456.  
  457. Related information: 
  458.  
  459. o Recommendations to improve your presentation performance. 
  460.  
  461.  
  462. ΓòÉΓòÉΓòÉ 4.4. ... handle several tutorial files ΓòÉΓòÉΓòÉ
  463.  
  464. From an organizational point of view it is sometimes desirable to have 
  465. different parts of a tutorial in separate files, in particular when you want to 
  466. reuse parts of one tutorial in another tutorial. 
  467.  
  468. In this case, specify the tutorial files in the desired sequence in the startup 
  469. file (using the TUTFILES tag). When running such a tutorial in the build-time 
  470. version (author mode) not all heading entries appear in the Contents pull-down. 
  471. This is because in the build-time version Tutorial Manager processes only the 
  472. first tutorial file after startup and all subsequent tutorial files only when 
  473. they are needed (for example, when a BRANCH tag passes control to another part 
  474. of the tutorial). 
  475.  
  476. In the run-time version (presentation or student mode) the tutorial is run 
  477. through the Tutorial Manager's compiler. The compiler resolves all references 
  478. to other tutorial files and the Contents pull-down shows all entries, no matter 
  479. in which tutorial file they were defined. 
  480.  
  481.                                                                   (Double click)
  482.  
  483.  
  484. ΓòÉΓòÉΓòÉ 4.5. ... define and check user interaction ΓòÉΓòÉΓòÉ
  485.  
  486. With Tutorial Manager you can check and react to almost any user interaction. 
  487. You do this with the ON tag. 
  488.  
  489. OPEN ???? The following text is an annotation This tag is also used for 
  490. simulating applications. 
  491.  
  492. Normally, ON-handling is defined by coding SON,