home *** CD-ROM | disk | FTP | other *** search
/ Freesoft 1999 March / Freesoft_1999-03_cd.bin / Minolta / TB40HYP.SBK (.txt) < prev    next >
Asymetrix ToolBook File  |  1995-11-12  |  71KB  |  797 lines

  1. F    8    8    K
  2. *ClassTbl*
  3. *ClassEntry*
  4. *PTABLE*
  5. *WINDOWSEG*
  6. *ICONRESTAB*
  7. *ICONRESSEG*
  8. *ICONRES*
  9. Background
  10. *OBJTABLE*
  11. *IDTABLE*
  12. *NAMETAB*
  13. Rectangle
  14. Ellipse
  15. RoundedRectangle
  16. Polygon
  17. IrregularPolygon
  18. AngledLine
  19. Curve
  20. PaintObject
  21. Picture
  22. Hotword
  23. *RHOTWORD*
  24. Group
  25. Stage
  26. Button
  27. Viewer
  28. ComboBox
  29. Field
  30. RecordField
  31. *TbxBase*
  32.     &    oup
  33.     8    UTOSEGMENT*
  34. UTOSEGMENT*
  35. <BookPath>
  36. :HDMEDIAPATH
  37. MS Sans Serif
  38. MS Sans Serif
  39. Arial
  40. ASYM_TempViewer
  41. Do not rename me 1
  42. Page id 1 of Book "D:\FOO.TBK"
  43. stbk_popViewers
  44. ASYM_itemOffset
  45. closeWindow
  46. closeWindow
  47.     SYSTEM stbk_popViewers
  48. ASYM_itemOffset(
  49. ASYM_TempViewer
  50. ASYM_CloseOnEsc
  51. Do not rename me 2
  52. ge id 82 of Book "G:\FRANKJR\TUTORIAL\CBTTOUR.TBK"
  53. stbk_popViewers
  54. ASYM_itemOffset
  55. closeWindow
  56. closeWindow
  57.     SYSTEM stbk_popViewers
  58. ASYM_itemOffset(
  59. ASYM_TempViewer
  60. ASYM_CloseOnEsc
  61. Do not rename me 3
  62. ge id 82 of Book "G:\FRANKJR\TUTORIAL\CBTTOUR.TBK"
  63. stbk_popViewers
  64. ASYM_itemOffset
  65. closeWindow
  66. closeWindow
  67.     SYSTEM stbk_popViewers
  68. ASYM_itemOffset(
  69. ASYM_TempViewer
  70. ASYM_CloseOnEsc
  71. Do not rename me 4
  72. ge id 82 of Book "G:\FRANKJR\TUTORIAL\CBTTOUR.TBK"
  73. stbk_popViewers
  74. ASYM_itemOffset
  75. closeWindow
  76. closeWindow
  77.     SYSTEM stbk_popViewers
  78. ASYM_itemOffset(
  79. ASYM_TempViewer
  80. ASYM_CloseOnEsc
  81. Do not rename me 5
  82. ge id 82 of Book "G:\FRANKJR\TUTORIAL\CBTTOUR.TBK"
  83. stbk_popViewers
  84. ASYM_itemOffset
  85. closeWindow
  86. closeWindow
  87.     SYSTEM stbk_popViewers
  88. ASYM_itemOffset(
  89. ASYM_TempViewer
  90. ASYM_CloseOnEsc
  91. Do not rename me 6
  92. ge id 82 of Book "G:\FRANKJR\TUTORIAL\CBTTOUR.TBK"
  93. stbk_popViewers
  94. ASYM_itemOffset
  95. closeWindow
  96. closeWindow
  97.     SYSTEM stbk_popViewers
  98. ASYM_itemOffset(
  99. ASYM_CloseOnEsc
  100. Do not rename me 7
  101. tbk_TempViewer
  102. tbk_CloseOnEsc
  103. stbk_popViewers
  104. ASYM_itemOffset
  105. closeWindow
  106. closeWindow
  107.     SYSTEM stbk_popViewers
  108. ASYM_itemOffset(
  109. ASYM_TempViewer
  110. ASYM_CloseOnEsc
  111. buttonclick
  112. buttonclick
  113. Script
  114. ToolBook 4.0 - Runtime HyperLink SysBookknk SysBookBook
  115. Copyright 
  116.  1995 Asymetrix Corporation
  117. &File
  118. &Open...    Ctrl+O
  119. &Save    Ctrl+S
  120. Save &As...
  121. saveas
  122. &Import...
  123. import
  124. &Export...
  125. export
  126. Print Set&up...
  127. printsetup
  128. &Print Pages...    Ctrl+P
  129. printpages
  130. Prin&t Report...
  131. printreport
  132. Send &Mail...
  133. sendmail
  134. &Run...
  135. E&xit    Alt+F4
  136. &Edit
  137. &Undo    Ctrl+Z
  138. Cu&t    Ctrl+X
  139. &Copy    Ctrl+C
  140. &Paste    Ctrl+V
  141. paste
  142. C&lear    Del
  143. clear
  144. Select &All    Shift+F9
  145. selectall
  146. Select Pa&ge    Shift+F12
  147. selectpage
  148. &Size to Page    F11
  149. sizetopage
  150. F&ind...    F5
  151. Re&place...
  152. replace
  153. Aut&hor    F3
  154. author
  155. &Text
  156. &Character...    F6
  157. character
  158. &Paragraph...    F7
  159. paragraph
  160. &Regular    Ctrl+Space
  161. regular
  162. &Bold    Ctrl+B
  163. &Italic    Ctrl+I
  164. italic
  165. &Underline    Ctrl+U
  166. underline
  167. Stri&keout    Ctrl+K
  168. strikeout
  169. Superscrip&t/Subscript
  170. superscriptSubscript
  171. &Normal Script
  172. normalscript
  173. Su&bscript    Ctrl+L
  174. subscript
  175. Su&perscript    Ctrl+Shift+L
  176. superscript
  177. &Show Hotwords    F9
  178. showhotwords
  179. &Page
  180. &Next    Alt+Right
  181. &Previous    Alt+Left
  182. previous
  183. &First    Alt+Up
  184. first
  185. &Last    Alt+Down
  186. &Back    Shift+F2
  187. &History...    Ctrl+F2
  188. history
  189. N&ew Page    Ctrl+N
  190. newpage
  191. &Help
  192. &Contents    F1
  193. contents
  194. Status &Bar    F12
  195. statusbar
  196. erlink"
  197.                             if "Add"
  198. buttonClick loc
  199.     LOCAL hyperlinks[][]
  200. candidates[]
  201. asym_addAnswerHyperlink(); -- test 
  202. CBT Edtion, NULL 
  203. xpresent
  204.         obj = 
  205. _tbk_hyperlinkCandidates(
  206. tbk_DoHyperlink(
  207. i], "
  208. , triggerName
  209. tbk_HasHyperlinks(
  210.  = _asym_hyperlinks 
  211. _tbk_ExecHyperlink(
  212. _tbk_HyperlinkCandidates obj, 
  213. Hreference
  214. WORD n
  215. n] = 
  216. _tbk_ExecHyperLink 
  217. , linkName
  218. _tbk_HyperlinkLinkInfo(
  219.         cursN = 
  220. isType("
  221. "> 0 
  222. *<= 44 
  223. tbk_PopupPage(
  224. tbk_GoToPage(
  225. asym_resetCursor 
  226. , resolv
  227.     i = _tbk_HyperlinkIRow(
  228. i = 0 
  229. i][2] & 
  230. i][3]) = 
  231. i][2]
  232. "<" -- keyword
  233. ~ <> 
  234.             pgRef = tbk_FindHyperPage (
  235. i][3],
  236. [i][4])
  237. i][3],
  238. [i][4])
  239. i][5],
  240. i][6],
  241. i][7],
  242. i][8],
  243. i][9]
  244. "OK",
  245. i][3],
  246. i][4] 
  247. "BAD",
  248. i][2],
  249. i][3],
  250. [i][4] 
  251. , popStyle, pos, captn, 
  252. _tbk_PopupPage(
  253. .tn, 
  254. _tbk_AddHyperlink 
  255. , transFx, linkType, 
  256.         i = 
  257. i = 0
  258.             i = 
  259. dimensions(
  260. ) + 1
  261.         i = 1
  262. i][1] = 
  263. _tbk_AddLinkToArray(hyperLinks, i, 
  264. tbk_getHyperlinks 
  265. LInfo
  266.         n = 
  267. i][9]
  268. i][7] 
  269. i][6] 
  270. i][4] 
  271. i][3] 
  272. i][2] 
  273. i][1] 
  274. hLInfo = 
  275. & CRLF 
  276. iRow, 
  277.     --** 
  278. HCO 940727
  279.     linkDLL "tb40dlg.dll"
  280.         INT tbk_itemOffset = 
  281. (STRING,
  282. .>") > 0
  283. ][2] = 
  284. ][3] = 
  285. ][4] = 
  286. ][2] = tbk_nameOrID(
  287. ][3] = tbk_altPgName(
  288.             thisBook = 
  289.         destBook = tbk_Container(
  290. ][4] = 
  291. fName = 
  292. destPath = pathOfFile(
  293. thisPath = 
  294. "c:\" 
  295. "c:\x\"
  296. relPath = tbk_MakeIntoRelPath(
  297. shortFileName(
  298. hyperPath = tbk_HyperPath(
  299. inPath = (tbk_FindPathFile(
  300. B) <> 
  301. "The destination 
  302. a directory"\
  303. && "that will be searched automatically. You can:"\
  304. && "A. Add the 
  305. current 
  306. 8's list 
  307. directories"\
  308. nThis 
  309. possible"\
  310. find 
  311. 8even 
  312. mbooks"\
  313. a different configuration 
  314. , simply 
  315. Hchanging"\
  316.  stored 
  317.  property"\
  318. & "B. Store 
  319. 8file 
  320. makes 
  321. faster but 
  322. && "won't be able 
  323.  around without breaking"\
  324. f"&A. 
  325. Directory 
  326. Search 
  327. "&B. 
  328. "Add" 
  329. _SetHyperPath 
  330. ][4] = 
  331. ][6] = 
  332. ][7] = 
  333. ][9] = 
  334. bk, what
  335. bk <> 
  336.         bk = 
  337. bk = 
  338.             bk = 
  339.     bkName = 
  340.         BookDir = 
  341. tbk_CurrentDirectory()
  342.     deftag = "<
  343.     tagLen = 
  344.     BookDirLen = 
  345.         dir = 
  346. <> "\" 
  347. @bookDir 
  348. +) = 1
  349. ) = 1
  350. taglen 
  351. thePath = tbk_RelativePath(
  352. *<> dir
  353. thepath
  354. _tbk_HyperPath 
  355. _tbk_BadLinksList 
  356.     --** 
  357. HCO 940727
  358. stack badLinks
  359. tbk_FindPage (
  360. [i][2],
  361. i,3], 
  362. i][4]) = 
  363. i][1] 
  364. _tbk_ClearHyperlinkFromArray 
  365. newLinks[][]
  366. ,i,j,k
  367.     n = 
  368.     i = 
  369.     IsAnsArray = (
  370. ) > 10)
  371. (i > 0 
  372. (n = 1 
  373. i = 1) -- special 
  374. Mbecause 
  375. array assignment bug
  376. i][j] = 
  377. i > 0
  378. j][k] = 
  379. j][k]
  380. n - 1
  381. j][k] = 
  382. j+1][k]
  383. = newlinks
  384. 1][2] <> 
  385. ) <= 10 
  386. ) = 1 
  387. 1][2] = 
  388. _AutoCloseCheck loc
  389.     v = 
  390. . = mousePosition 
  391. objectFromPoint(
  392. {oldPg
  393. oldCurs
  394. pos = 
  395.             maxPopups = 5 --** MAGIC NUMBER
  396.             magicName = "Do 
  397. xrename me"
  398.             myBk = 
  399.             ss = 
  400. (s_tbk_popViewers) >= 
  401. isOpen 
  402. = TRUE
  403. parentHandle 
  404. close v
  405. = ss; 
  406.             -- 
  407.  available 
  408. vtemp = 
  409. && i) 
  410. vTemp
  411. "There 
  412.             tbk_TempViewer 
  413.             style 
  414. v = "sysMenu"
  415.             imageBuffers 
  416. v = 1
  417.             alwaysReader 
  418.             captionBar 
  419.             tbk_CloseOnEsc 
  420. c"autoClose"
  421. c"shadow"
  422. c"thick"
  423. v = "thickFrame"
  424. c"thinCaption"
  425. v = "thinFrame"
  426. v = "
  427. v = "
  428. v = dialogFrame
  429.             ss = 
  430. --** DEBUG 
  431. X"TB40win.
  432.  ScreenFromPage(
  433. VerticalDisplayRes()
  434. HorizontalDisplayRes()
  435.             -- place 
  436. mouseclick 
  437. --defaultPosition 
  438. v = "
  439. pageUnitsToScreen(
  440. , targetWindow)
  441. windowHandle 
  442. ',pageScroll 
  443. =, pos)
  444.             defaultPage 
  445. x2 > 
  446. s() - x2,0
  447. y2 > 
  448. ) - y2
  449. x1 < 0
  450. H-x1,0
  451. y1 < 0
  452. H0,-y1
  453. --            
  454. sharedScript "
  455. tbk_container(
  456. , transfx, 
  457.     ss= 
  458.  = _tbk_sysCursor()
  459.  <> "
  460.         p = 
  461. p > 0
  462.             transPt = 
  463. Vp + 4 
  464.             transition 
  465. pgName, 
  466. logical ss
  467. , destbk
  468.  refString
  469. "<" -- 
  470.         pg = 
  471.         bk = 
  472.     ss = 
  473. bk <> 
  474. bk = 
  475. 8) & bk)
  476. bk = 
  477. bk = 
  478. "ID" 
  479. DWORD,
  480. " && 
  481. " && 
  482. isObject(
  483.             --
  484. "ID" 
  485. ) = 2
  486. AltPgName) 
  487.     n = 
  488. _"i][1] = 
  489. tbk_AltPgName 
  490. title 
  491. pgCaption 
  492. "ID" && 
  493. g!objType
  494. #nextObj
  495.     wCnt = 
  496. #"BOOK"
  497. WCnt 
  498. "groupfieldrecordfieldpagebackgroundbook"
  499.             p = 
  500. p > 0
  501. Vp+4 
  502.         Obj = 
  503. U(fn) 
  504.  rootPath,longPath
  505. ) = 1 
  506.         p1 = 1;p2 = p1
  507. cp2 < 
  508. p2 > 0
  509. dirlen = p2 - p1
  510. p2 - 1 
  511. p2 = p2 - 
  512. p1 = p2
  513. U(fn) 
  514. Vi + 1 
  515. U(fn) 
  516.  result, bkPath, 
  517. bk = 
  518.         bk = 
  519. bk <> 
  520.         bk = 
  521. bk <> 
  522. tbk_Trim(
  523. ) > 0
  524. "Hyperlinking" 
  525.     DOSPath = 
  526. c":\" 
  527. tbk_IsFile(
  528. TB40DOS.DLL"
  529.  GetDosEnvironmentString(
  530.  "PATH")
  531.             p = 
  532. ~("=",
  533. p > 0
  534.     p = 
  535. ~(";", 
  536. cp <> 0
  537.  = ","
  538.         p = 
  539. ~(";", 
  540. tbk_trim(
  541. <> "\"
  542. tbk_ExpandRelPath(
  543. <> ":" 
  544.         testName = 
  545. ! GetCurrentDrive()
  546. " GetCurrentDirectory(
  547.     drv = 
  548. "\" & 
  549. <> "\"
  550. <& ":" & 
  551. tbk_CurrentPath
  552.     ss = 
  553.  * obj
  554.     ss = 
  555. FileExists(
  556. #TB40dos.
  557. tbk_NameOrID 
  558. "ID" && 
  559. cs <> 
  560. s <= SPACE 
  561. cs <> 
  562. s <= 
  563. _tbk_SysCursor
  564. ;oldse=
  565. r;oldsen=sysErrorNumber
  566. *real",
  567. popup viewer
  568. J,C6f0
  569. N@\    #A
  570. asym_addAnswerHyperlink
  571. tbk_DoHyperlink
  572. _tbk_hyperlinkCandidates
  573. buttonClick
  574. buttonClick
  575. false
  576. _tbk_ExecHyperlink
  577. tbk_HasHyperlinks
  578. _asym_hyperlinks
  579. tbk_DoHyperlink
  580. _asym_hyperlinks
  581. _tbk_HyperlinkCandidates
  582. ,"J,"
  583. false
  584. Itbk_PopupPage
  585. asym_resetCursor
  586. cursN
  587. _tbk_HyperlinkLinkInfo
  588. <exit>
  589. tbk_GoToPage
  590. _tbk_ExecHyperLink
  591. tbk_FindHyperPage
  592. pgRef
  593. false
  594. C6_tbk_HyperlinkIRow
  595. _tbk_HyperlinkLinkInfo
  596. l_tbk_PopupPage
  597. tbk_PopupPage
  598. C6_tbk_HyperlinkIRow
  599. false
  600. A_tbk_AddLinkToArray
  601. tbk_HasHyperlinks
  602. _asym_hyperlinks
  603. _asym_hyperlinks
  604. _tbk_AddHyperlink
  605. tbk_HasHyperlinks
  606. _asym_hyperlinks
  607. tbk_getHyperlinks
  608. itemOffset
  609. tbk_itemOffset
  610. the list of directories stored in the tbk_HyperPath property
  611. &B. Store Directory in Hyperlink
  612. B. Store the directory with the book file name
  613. won't be able to move the books around without breaking
  614. >tbk_Container
  615. fName
  616. in the hyperlink. This makes the link faster but you
  617. that will be searched automatically. You can:
  618. to find the destination book even if you move the books
  619. false
  620. thisBook
  621. of this book.
  622. to a different configuration directory, simply by changing
  623. the link.
  624. destBook
  625. V_SetHyperPath
  626. Mtbk_MakeIntoRelPath
  627. <next>,<previous>,<last>,<first>,<back>
  628. HshortFileName
  629. Mtbk_HyperPath
  630. hyperPath
  631. 5tbk_altPgName
  632. relPath
  633. pathOfFile
  634. mqtbk_itemOffset
  635. The destination book is not in a directory
  636. to search automatically. This will make it possible
  637. A. Add the destination directory to the current book's list of directories
  638. tb40dlg.dll
  639. \    tbk_nameOrID
  640. &A. Add Directory to Search Path
  641. thisPath
  642. destPath
  643. tbk_FindPathFile
  644. _tbk_AddLinkToArray
  645. <BookDir>
  646. >tbk_Container
  647. bkName
  648. p_tbk_HyperPath
  649. tbk_CurrentDirectory
  650. deftag
  651. Mtbk_MakeIntoRelPath
  652. pathOfFile
  653. BookDir
  654. thePath
  655. tbk_RelativePath
  656. _SetHyperPath
  657. tbk_FindPage
  658. _tbk_BadLinksList
  659. C6_tbk_HyperlinkIRow
  660. _tbk_ClearHyperlinkFromArray
  661. false
  662. tbk_HasHyperlinks
  663. _asym_hyperlinks
  664. _asym_hyperlinks
  665. _tbk_ClearHyperlinkFromArray
  666. _tbk_ClearHyperlink
  667. >tbk_Container
  668. hotword button
  669. _AutoCloseCheck
  670. s_tbk_popViewers
  671. HorizontalDisplayRes
  672. >tbk_Container
  673. There are no Viewers available.
  674. false
  675. sysMenu
  676. lScreenFromPage
  677. 9VerticalDisplayRes
  678. TB40win.dll
  679. thinCaption
  680. asym_resetCursor
  681. magicName
  682. tbk_TempViewer
  683. vtemp
  684. jtbk_CloseOnEsc
  685. thick
  686. autoClose
  687. Do not rename me
  688. ScreenFromPage
  689. VerticalDisplayRes
  690. HorizontalDisplayRes
  691. shadow
  692. _tbk_PopupPage
  693. transPt
  694. false
  695. _tbk_sysCursor
  696. transPt
  697. oldPg
  698. pgRef
  699. false
  700. transfx
  701. oldCurs
  702. asym_resetCursor
  703. page id
  704. %sysMousePosition%
  705. tbk_GoToPage
  706. .'+    +F
  707. asym_resetCursor
  708. <back>
  709. <next>
  710. pathOfFile
  711. <last>
  712. <previous>
  713. Mtbk_HyperPath
  714. <exit>
  715. <first>
  716. tbk_FindPathFile
  717. tbk_FindHyperPage
  718. _tbk_HyperlinkIRow
  719. .',    #?
  720. pgCaption
  721. title
  722. tbk_AltPgName
  723. groupfieldrecordfieldpagebackgroundbook
  724.  of book 
  725. tbk_Container
  726. pathOfFile
  727. tbk_MakeIntoRelPath
  728. shortFileName
  729. >tbk_Container
  730. p_tbk_HyperPath
  731. jtbk_Trim
  732. tbk_CurrentDirectory
  733. pathOfFile
  734. itemOffset
  735. tbk_itemOffset
  736. ,    TH" 
  737. mqtbk_itemOffset
  738. tb40dlg.dll
  739. tbk_HyperPath
  740. V_SetHyperPath
  741. Hyperlinking
  742. tbk_HyperPath
  743. tbk_IsFile
  744. TB40DOS.DLL
  745. DOSPath
  746. false
  747. jtbk_trim
  748. GetDosEnvironmentString
  749. I4GetDosEnvironmentString
  750. pathOfFile
  751. tbk_ExpandRelPath
  752. testName
  753. bkPath
  754. tbk_FindPathFile
  755. w,    #>
  756. vGetCurrentDirectory
  757. GetCurrentDrive
  758. TB40DOS.dll
  759. GetCurrentDrive
  760. GetCurrentDirectory
  761. tbk_CurrentDirectory
  762. tbk_CurrentDirectory
  763. tbk_CurrentPath
  764. tbk_FindPage
  765. _asym_hyperlinks
  766. tbk_HasHyperlinks
  767. FileExists
  768. FileExists
  769. TB40dos.dll
  770. tbk_IsFile
  771. .',    #?
  772. tbk_NameOrID
  773. tbk_trim
  774. oldse
  775. _tbk_SysCursor
  776. false
  777. itemOffset
  778. tbk_itemOffset
  779. mqtbk_itemOffset
  780. tb40dlg.dll
  781. stbk_popViewers
  782. closeWindow
  783. closeWindow
  784.     SYSTEM stbk_popViewers
  785.     linkDLL "tb40dlg.dll"
  786.         INT tbk_itemOffset = 
  787. (STRING,
  788.                                         
  789. 8VF;y
  790. L>vmL
  791. 8?h\/Az
  792. i?.:+/e*
  793. %{%&6!
  794.  q%Ha~
  795. B?A?W0j~
  796. [P8tW
  797.