home *** CD-ROM | disk | FTP | other *** search
/ Windows Shareware GOLD / NuclearComputingVol3No1.cdr / _bbs4 / f1293.zip / SCRIPTPR.TBK (.txt) next >
Asymetrix ToolBook File  |  1990-07-19  |  73KB  |  1,456 lines

  1. Cover Page
  2. "Master Page"
  3. enterpage
  4. enterpage
  5. Master Page
  6. David Levine
  7. Script Printer
  8. for ToolBook
  9. Sony Corp. of America
  10. Cancel Page Graphic
  11. Cancelttt
  12. Quit Button
  13. "Cancel Page Graphic"
  14. = 60 
  15. "Master 
  16. buttonup
  17. buttonup
  18. Cancel Page Graphic
  19. Master Page
  20. Ok Page Graphic
  21. Quit Button
  22. "Ok Page Graphic"
  23. = 60 
  24. buttonup
  25. buttonup
  26. Ok Page Graphic
  27. Quit Graphic
  28. Quitttttt
  29. Quit Button
  30. "Quit Graphic"
  31. = 60 
  32. quitApp
  33. buttonup
  34. buttonup
  35. Quit Graphic
  36. MquitApp
  37. PageList
  38. 1    Title
  39. 2    TitlePage
  40. 3    FlippingPages
  41. 4    Stacks
  42. 5    BarCharts
  43. 6    LineCharts
  44. 7    PieCharts
  45. 8    funstuff
  46. # of Pages:
  47. NumberofPages
  48. rinter
  49. Cover Background
  50. Master Page
  51. Object Page
  52. Background
  53. Master Background
  54. Background Page
  55. Page Page
  56. WhereAmI 
  57. "Ok Page Graphic" 
  58. 4bookname
  59. NumberOfPages 
  60. PageList 
  61. "ALL"
  62. = "" 
  63. Bi+1 
  64. "pg " & i && 
  65. default
  66. enterpage
  67. leavepage
  68. enterpage
  69. Ok Page Graphic
  70. <null>
  71. default
  72. PageList
  73. NumberOfPages
  74. bookname
  75. WhereAmI
  76. leavepage
  77. PageList
  78. NumberOfPages
  79. Cancel Page Graphic
  80. Cancelttt
  81. Cancel Button
  82. "Cancel Page Graphic"
  83. = 60 
  84. "WhereAmI" 
  85. "Master 
  86. buttonup
  87. buttonup
  88. Cancel Page Graphic
  89. WhereAmI
  90. Master Page
  91. Ok Page Graphic
  92. Ok Button
  93. "Ok Page Graphic"
  94. = 60 
  95. (Script 
  96. "Master 
  97. QObject 
  98. "master 
  99. buttonup
  100. buttonup
  101. Ok Page Graphic
  102. Page Script Graphic
  103. Master Page
  104. Page Object Graphic
  105. master Page
  106. Master Page
  107. Quit Graphic
  108. Quitttttt
  109. Quit Button
  110. "Quit Graphic"
  111. = 60 
  112. quitApp
  113. buttonup
  114. buttonup
  115. Quit Graphic
  116. MquitApp
  117. PageList
  118. temptext1 
  119. = "ALL" 
  120. temptext2 
  121. I&& \ 
  122. V&& "-" && \
  123. WhereAmI 
  124. "Page: " & 
  125.  Graphic" 
  126. buttonUp
  127. buttonUp
  128. textFromPoint
  129. Page: 
  130. Ok Page Graphic
  131. WhereAmI
  132. temptext2
  133. temptext1
  134. # of Pages:
  135. NumberofPages
  136. PageList
  137. buttonUp
  138. buttonUp
  139. buttonUp
  140. PageList
  141. pg 1     Cover Page
  142. pg 2     Master Page
  143. pg 3     Page Page
  144. pg 4     Background Page
  145. pg 5     Object Page
  146. k Page Graphic"
  147. = 60 
  148. (Script 
  149. "Master 
  150. QObject 
  151. "master 
  152. buttonup
  153. buttonup
  154. Ok Page Graphic
  155. Page Script Graphic
  156. Master Page
  157. Page Object Graphic
  158. master Page
  159. Master Page
  160. WhereAmI
  161. Master Page
  162. pg 73    previousDBKey
  163. pg 74    previousDBRecord
  164. pg 75    printerFonts
  165. pg 76    reindexDBFile
  166. pg 77    removeDBRecords
  167. pg 78    removeDirectory
  168. pg 79    removeFile
  169. pg 80    RGBtoHLS
  170. pg 81    screenFromClient
  171. pg 82    screenFromPage
  172. pg 83    selectDBFile
  173. pg 84    selectDBIndexFile
  174. pg 85    setCurrentDirectory
  175. pg 86    setCurrentDrive
  176. pg 87    setDBDateFormat
  177. pg 88    setDBFieldTag
  178. pg 89    setDBFieldValue
  179. pg 90    setDBNavigateToDeleted
  180. pg 91    setDBRecordDeleted
  181. pg 92    setFileAttributes
  182. pg 93    setWinIniVar
  183. pg 94    verticalDisplayRes
  184. pg 95    verticalDisplaySize
  185. pg 96    writeDBRecord
  186. pg 97    xPixelsFromUnits
  187. pg 98    xUnitsFromPixels
  188. pg 99    yieldApp
  189. pg 100    yPixelsFromUnits
  190. pg 101    yUnitsFromPixels
  191. pg 102    TBKDB3.DLL Error Codes
  192. pg 103    ImportFListHelp
  193. Background
  194. Where am I:::
  195. WhereAmI
  196. texline2
  197. Book Script
  198. Book: calc.tbk
  199. Book: clipart.tbk
  200. Page: pg 8 - Buildings
  201. cript
  202. MquitApp
  203. PageList
  204. 1    Title
  205. 2    TitlePage
  206. 3    FlippingPages
  207. 4    Stacks
  208. 5    BarCharts
  209. 6    LineCharts
  210. 7    PieCharts
  211. 8    funstuff
  212. 4    Stacks
  213. 1    Title
  214. 2    TitlePage
  215. 3    FlippingPages
  216. 4    Stacks
  217. 5    BarCharts
  218. 6    LineCharts
  219. 7    PieCharts
  220. # of Pages:
  221. NumberofPages
  222. neous
  223. 19    Music
  224. 20    Nature
  225. 21    Office
  226. 22    People
  227. 23    People
  228. 24    Planets
  229. 25    Sports
  230. 26    Tools
  231. 27    Transportation
  232. 28    Transportation
  233. 29    Transportation
  234. 30    Weather
  235. Object
  236. Background Object  Button
  237. -- Verify that 
  238. can be clicked
  239. "Background Object Graphic"
  240. = 60 
  241. buttonup
  242. buttonu
  243. Master Background
  244. Where am I:::
  245. WhereAmI
  246. texline2
  247. Book Script
  248. Book: scriptpr.tbk
  249. riptpr.tbk
  250. buttonup
  251. buttonup
  252. Background Object Script Graphic
  253. Background
  254. Page1
  255. ript Printer
  256. System
  257. `D|D|
  258. rminal
  259. `D|D|
  260. System
  261. `D|D|
  262. ript Printer
  263. :PRINTLAYOUT
  264. System
  265. author
  266. enterBook
  267. reader
  268. leaveBook
  269. enterBook
  270. sizeToPage
  271. WhereAmI
  272. Print Graphic
  273. Book Script Graphic
  274. Page Graphic
  275. Page Script Graphic
  276. Page Object Graphic
  277. Page Object Script Graphic
  278. Background Graphic
  279. Background Script Graphic
  280. Background Object Graphic
  281. Background Object Script Graphic
  282. author
  283. reader
  284. leaveBook
  285. `D|D|
  286. `D|D|
  287. rminal
  288. `D|D|
  289. Tms Rmn
  290. `D|D|
  291. "WhereAmI" 
  292. /"Master Background" 
  293. "Print Graphic" 
  294. "Book Script 
  295. "Page 
  296. !Object 
  297. 4bookname
  298. quitApp
  299. -- the following code 
  300. Ideas 
  301. sorting a list
  302. quicksort fList
  303. 4svSortList
  304. quicksrt 1,
  305. fFirst,fLast
  306. vSplitPoint 
  307. split(
  308. vKey 
  309. w + 1 
  310. swap 
  311. fPoint1,fPoint2
  312. vTemp1 
  313. vTemp2 
  314. reader
  315. quitApp
  316. author
  317. quicksrt
  318. enterBook
  319. leaveBook
  320. quicksort
  321. split
  322. enterBook
  323. sizeToPage
  324. WhereAmI
  325. Master Background
  326. Print Graphic
  327. Book Script Graphic
  328. Page Graphic
  329. Page Script Graphic
  330. Page Object Graphic
  331. Background Graphic
  332. Background Script Graphic
  333. Background Object Graphic
  334. bookname
  335. author
  336. reader
  337. quitApp
  338. quicksort
  339. quicksrt
  340. svSortList
  341. fList
  342. quicksrt
  343. split
  344. quicksrt
  345. quicksrt
  346. vSplitPoint
  347. svSortList
  348. fLast
  349. fFirst
  350. split
  351. vSplitPoint
  352. svSortList
  353. fLast
  354. fFirst
  355. vTemp2
  356. vTemp1
  357. svSortList
  358. fPoint2
  359. fPoint1
  360. leaveBook
  361. ToolBook Script Printer
  362. FALSE
  363. "WhereAmI" 
  364. /"Master Background" 
  365. "Print Graphic" 
  366. .Page" 
  367. "Book Script 
  368. c Object 
  369. 4bookname
  370. quitApp
  371. -- the following code 
  372. Ideas 
  373. sorting a list
  374. quicksort fList
  375. 4svSortList
  376. quicksrt 1,
  377. fFirst,fLast
  378. vSplitPoint 
  379. split(
  380. vKey 
  381. w + 1 
  382. swap 
  383. fPoint1,fPoint2
  384. vTemp1 
  385. vTemp2 
  386. reader
  387. quitApp
  388. author
  389. leaveBook
  390. enterBook
  391. quicksrt
  392. quicksort
  393. split
  394. enterBook
  395. sizeToPage
  396. WhereAmI
  397. Master Background
  398. Print Graphic
  399. Master Page
  400. Book Script Graphic
  401. Master Page
  402. Page Graphic
  403. Master Page
  404. Page Script Graphic
  405. Master Page
  406. Page Object Graphic
  407. Master Page
  408. Background Graphic
  409. Master Page
  410. Background Script Graphic
  411. Master Page
  412. Background Object Graphic
  413. Master Page
  414. bookname
  415. author
  416. reader
  417. quitApp
  418. leaveBook
  419. quicksort
  420. quicksrt
  421. svSortList
  422. fList
  423. quicksrt
  424. split
  425. quicksrt
  426. quicksrt
  427. vSplitPoint
  428. svSortList
  429. fLast
  430. fFirst
  431. split
  432. vSplitPoint
  433. svSortList
  434. fLast
  435. fFirst
  436. vTemp2
  437. vTemp1
  438. svSortList
  439. fPoint2
  440. fPoint1
  441. tBNjzCtFAfz
  442. leaveBook
  443. Where am I:::
  444. WhereAmI
  445. texline2
  446. Book Script
  447. Book: scriptpr.tbk
  448. pg 2 - Master Page
  449. Background Page
  450. "Ok Background Graphic" 
  451. 4bookname
  452. NumberOfBackgrounds 
  453. BackgroundList 
  454. WhereAmI 
  455. "ALL"
  456. idlist 
  457. parentpage 
  458. = "" 
  459. newdata 
  460. foundit 
  461. k& ","
  462. -- Sort 
  463. output 
  464. listbox
  465. quicksort(
  466. Bk+1 
  467. 4backgroundIdList
  468. default
  469. enterpage
  470. leavepage
  471. enterpage
  472. Ok Background Graphic
  473. <null>
  474. quicksort
  475. default
  476. backgroundIdList
  477. j:to1
  478. foundit
  479. newdata
  480. parentpage
  481. idlist
  482. WhereAmI
  483. BackgroundList
  484. NumberOfBackgrounds
  485. bookname
  486. leavepage
  487. NumberOfBackgrounds
  488. BackgroundList
  489. Cancel Background Graphic
  490. Cancelttt
  491. Cancel Button
  492. "Cancel Background Graphic"
  493. = 60 
  494. "WhereAmI" 
  495. "Master Page"
  496. buttonup
  497. buttonup
  498. Cancel Background Graphic
  499. WhereAmI
  500. Master Page
  501. Ok Background Graphic
  502. Quit Button
  503. id 0     Master Background
  504. id 0     Master Background
  505. id 0     Master Background
  506. id 0     Master Background
  507. id 1     Cover Background
  508. iptions
  509. Background
  510. Quit Graphic
  511. Quitttttt
  512. Quit Button
  513. "Quit Graphic"
  514. = 60 
  515. quitApp
  516. buttonup
  517. buttonup
  518. Quit Graphic
  519. MquitApp
  520. BackgroundList
  521. temptext1 
  522. = "ALL" 
  523. temptext2 
  524. I&& \ 
  525. V&& "-" && \
  526. WhereAmI 
  527. "Background: " & 
  528.  Graphic" 
  529. buttonUp
  530. buttonUp
  531. textFromPoint
  532. Background: 
  533. Ok Background Graphic
  534. WhereAmI
  535. temptext2
  536. temptext1
  537. # of Backgrounds::
  538. NumberofBackgrounds
  539. BackgroundList
  540. buttonUp
  541. buttonUp
  542. buttonUp
  543. BackgroundList
  544. id 0     Master Background
  545. "Ok Background Graphic"
  546. = 60 
  547. .Script 
  548. "Master Page" 
  549. XObject 
  550. buttonup
  551. buttonup
  552. Ok Background Graphic
  553. Background Script Graphic
  554. Master Page
  555. Background Object Graphic
  556. Master Page
  557. Master Page
  558. Object Page
  559. "Ok Object Graphic" 
  560. 4bookname,objparent,objid
  561. ObjectList 
  562. WhereAmI 
  563. S = "
  564. idlist 
  565. NumberOfObjects 
  566. "ALL"
  567. ObjectType 
  568. ObjectId 
  569. ObjectPageId 
  570. namereq 
  571. e&& "
  572. " && 
  573. X&& \
  574. " && 
  575. S&& \
  576. 8""" & 
  577. " && 
  578. " && 
  579. 8""" & 
  580. = "" 
  581. objname 
  582. newdata 
  583. && "-" && \
  584. && "-" && 
  585. Bi+1 
  586. default
  587. enterpage
  588. leavepage
  589. enterpage
  590. Ok Object Graphic
  591. of page id
  592. of book "
  593. of background id
  594. of book "
  595. <null>
  596. default
  597. newdata
  598. objname
  599. namereq
  600. ObjectPageId
  601. ObjectId
  602. ObjectType
  603. NumberOfObjects
  604. idlist
  605. WhereAmI
  606. ObjectList
  607. bookname
  608. objparent
  609. objid
  610. leavepage
  611. NumberOfObjects
  612. ObjectList
  613. Cancel Background Graphic
  614. Cancelttt
  615. Cancel Button
  616. "Cancel Background Graphic"
  617. = 60 
  618. "WhereAmI" 
  619. "Master Page"
  620. buttonup
  621. buttonup
  622. Cancel Background Graphic
  623. WhereAmI
  624. Master Page
  625. Ok Object Graphic
  626. Ok Button
  627. "Ok Object Graphic"
  628. = 60 
  629. 4objparent
  630. WhereAmI 
  631. "Page 
  632. ZScript"
  633. "Background 
  634. "Master 
  635. buttonup
  636. buttonup
  637. Ok Object Graphic
  638. Page Object Script
  639. Background Object Script
  640. Master Page
  641. WhereAmI
  642. objparent
  643. Quit Graphic
  644. Quitttttt
  645. Quit Button
  646. "Quit Graphic"
  647. = 60 
  648. quitApp
  649. buttonup
  650. buttonup
  651. Quit Graphic
  652. MquitApp
  653. ObjectList
  654. temptext1 
  655. WhereAmI 
  656. "Object: " & 
  657.  Graphic" 
  658. buttonUp
  659. buttonUp
  660. textFromPoint
  661. Object: 
  662. Ok Object Graphic
  663. WhereAmI
  664. temptext1
  665. # of Objects:nds::
  666. NumberofObjects
  667. ObjectList
  668. buttonUp
  669. buttonUp
  670. buttonUp
  671. ObjectList
  672. Master Background
  673. Where am I:::
  674. WhereAmI
  675. texline2
  676. Book Script
  677. Ok Object Graphic
  678. Page Object Script
  679. Background Object Script
  680. Master Page
  681. WhereAmI
  682. objparent
  683. Master Background
  684. Where am I:::
  685. WhereAmI
  686. texline2
  687. Book Script
  688. Book: scriptpr.tbk
  689. Book: scriptpr.tbk
  690. bject Script
  691. Where am I:::
  692. WhereAmI
  693. texline2
  694. Book Script
  695. Page Page
  696. Cover Page
  697. Script
  698. Cover Background
  699. LR1YJk
  700. Master Page
  701. 4bookname
  702. WhereAmI 
  703. /= "" 
  704. "Book Script Graphic" 
  705. "Page 
  706. "Background 
  707. /= "" 
  708. VObject 
  709. default
  710. enterPage
  711. enterPage
  712. Book Script Graphic
  713. Page Graphic
  714. Background Graphic
  715. WhereAmI
  716. Page Script Graphic
  717. Page Object Graphic
  718. Background Script Graphic
  719. Background Object Graphic
  720. default
  721. WhereAmI
  722. bookname
  723. 1T2T3
  724. 4<9|9
  725. Print Graphic
  726. Print
  727. Print Button
  728. "Print Graphic" = 60 
  729. linkDLL "tbkfile.dll"
  730. STRING getCurrentDrive()
  731. irectory(
  732. LinkDLL
  733. currentdrive 
  734. getCurrentDirectory(
  735. currentdir 
  736. m Path: " & 
  737. P) & ":\" & 
  738. & CRLF & 
  739. "Enter 
  740. scripts 
  741. %..." \
  742. .txt"
  743. outFile 
  744. unlinkDLL "
  745. f"Yes" 
  746. "No" 
  747. "Cancel"
  748. printnull 
  749. 4bookname
  750. printallbook 
  751. --Determine # 
  752. lines 
  753. WhereAmI box
  754. /= "" 
  755. numLines 
  756. /= "" 
  757. /= "" 
  758. Book Script
  759. = 2) 
  760. = "T"))
  761. holdtext 
  762. = "T") 
  763. = "F") 
  764. 1<> ""))
  765. prtHeader(
  766. prtScript(
  767. a single Page 
  768. = 3) 
  769. /<> \
  770. Q: ALL"))
  771. tempnum 
  772. = "T") 
  773. = "F") 
  774. <> ""))
  775. : " & 
  776. t&& "Name: " \
  777. Background 
  778. = 3) 
  779. /<> \
  780. = "T") 
  781. = "F") 
  782. <> ""))
  783. : " & 
  784. Object 
  785. = 4) 
  786. /<> \
  787. objtype 
  788. objid 
  789. objpage 
  790. objname 
  791. scriptreq 
  792. {&& "
  793. " && 
  794. e&& \
  795. 8""" & 
  796. = "T") 
  797. = "F") 
  798. <> ""))
  799. : " & 
  800. && " Type: " & 
  801. && " 
  802. Scripts
  803. = 3) 
  804. = "T"))
  805. = "T") 
  806. = "F") 
  807. <> ""))
  808. : " & i && "
  809. = 3) 
  810. = "T"))
  811. = "T" 
  812. -- need 
  813. create backgroundIdList
  814. idlist 
  815. parentpage 
  816. = "" 
  817. newdata 
  818. foundit 
  819. r& ","
  820. quicksort(
  821. =    = "T") 
  822. K    = "F") 
  823. <> ""))
  824. : " & \
  825.  && "
  826. 5    = 4) 
  827. namereq 
  828. " && \
  829. 8""" & 
  830. = "T") 
  831. = "F") 
  832.     <> ""))
  833. : " & 
  834. && " 
  835. && " 
  836. = 4) 
  837. " && \
  838. 8""" & 
  839. = "" 
  840. = "T") 
  841. = "F") 
  842. <> ""))
  843. : " & 
  844. && " 
  845. && " 
  846. = 3) 
  847. = "T"))
  848.     && "
  849. " && \
  850.     && "
  851. 8""" & 
  852.     = ""
  853. = "T") 
  854. = "F") 
  855. <> ""))
  856. : " & 
  857. : " & 
  858. && " 
  859. = 4) 
  860. = "T")) 
  861. = "T" 
  862. = "" 
  863. & ","
  864. " && \
  865. 8""" & 
  866. = "" 
  867. = "T") 
  868. = "F") 
  869. <> ""))
  870. : " & \
  871. && " 
  872. default
  873.  prtBook, prtInfo
  874. temptext 
  875. -/" \
  876. prtbook
  877. "-- ToolBook 
  878.  Printer 
  879. HDavid Levine" & 
  880. {: " & 
  881. "-- " & 
  882. -/" & \
  883.  = "" 
  884. " NO SCRIPT EXISTS FOR THIS OBJECT."
  885. buttonup
  886. prtHeader
  887. prtScript
  888. <buttonup
  889. Print Graphic
  890. tbkfile.dll
  891. getCurrentDrive
  892. getCurrentDirectory
  893. getCurrentDrive
  894. getCurrentDirectory
  895. Current Path: 
  896. Enter file name to save scripts as...
  897. script.txt
  898. cancel
  899. script.txt
  900. tbkfile.dll
  901. Print null scripts?
  902. Cancel
  903. Cancel
  904. cancel
  905. Book Script
  906. Script: Book Script
  907. prtHeader
  908. prtScript
  909. Page Script
  910. Page: ALL
  911. Script: Page: 
  912. Name: 
  913. prtHeader
  914. prtScript
  915. Background Script
  916. Background: ALL
  917. Script: Background: 
  918. Name: 
  919. prtHeader
  920. prtScript
  921. Page Object Script
  922. Object: ALL
  923. of page
  924. of book "
  925. Script: Object id: 
  926.  Type: 
  927.  Name: 
  928. prtHeader
  929. prtScript
  930. Page Script
  931. Page: ALL
  932. Script: Page: 
  933. Name: 
  934. prtHeader
  935. prtScript
  936. Background Script
  937. Background: ALL
  938. <null>
  939. quicksort
  940. Script: Background id: 
  941. Name: 
  942. prtHeader
  943. prtScript
  944. Page Object Script
  945. Object: ALL
  946. of page id
  947. of book "
  948. <null>
  949. Script: Object id: 
  950.  Type: 
  951.  Name: 
  952. prtHeader
  953. prtScript
  954. Background Object Script
  955. Object: ALL
  956. of background id
  957. of book "
  958. <null>
  959. Script: Object id: 
  960.  Type: 
  961.  Name: 
  962. prtHeader
  963. prtScript
  964. Page Object Script
  965. Page: ALL
  966. of page
  967. of book "
  968. <null>
  969. Script: Page: 
  970.  Object id: 
  971.  Type: 
  972.  Name: 
  973. prtHeader
  974. prtScript
  975. Background Object Script
  976. Object: ALL
  977. <null>
  978. quicksort
  979. of background id
  980. of book "
  981. <null>
  982. Script: Object id: 
  983.  Type: 
  984.  Name: 
  985. prtHeader
  986. prtScript
  987. default
  988. i:to1
  989. objpage:to
  990. namereq
  991. backgroundId
  992. backgroundIdList
  993. j:to1
  994. foundit
  995. newdata
  996. parentpage
  997. idlist
  998. scriptreq
  999. objname
  1000. objpage
  1001. objid
  1002. objtype
  1003. tempnum
  1004. holdtext
  1005. numLines
  1006. WhereAmI
  1007. printallbook
  1008. bookname
  1009. printnull
  1010. outFile
  1011. currentdir
  1012. currentdrive
  1013. prtHeader
  1014. ------------------------------------------------
  1015. prtbook
  1016. -- ToolBook Script Printer by David Levine
  1017. prtbook
  1018. -- Book: 
  1019. prtbook
  1020. prtbook
  1021. ------------------------------------------------
  1022. prtbook
  1023. temptext
  1024. bookname
  1025. prtInfo
  1026. prtBook
  1027. prtScript
  1028.  NO SCRIPT EXISTS FOR THIS OBJECT.
  1029. prtInfo
  1030. prtBook
  1031. prtInfo
  1032. prtBook
  1033. Quit Graphic
  1034. Quitttttt
  1035. Quit Button
  1036. "Quit Graphic"
  1037. = 60 
  1038. quitApp
  1039. buttonup
  1040. buttonup
  1041. Quit Graphic
  1042. MquitApp
  1043. Book Graphic
  1044. Book Button
  1045. -- Verify that 
  1046. can be clicked
  1047. "Book Graphic"
  1048. = 60 
  1049. -- Get 
  1050. process
  1051. linkDLL "tbkopen.dll"
  1052. STRING OpenDlg(
  1053. 4bookname
  1054. !"","*.
  1055. =","Enter ToolBook 
  1056. ...")
  1057. <> "" 
  1058. -- A 
  1059. 8has been selected
  1060. c"\" 
  1061. unlinkDLL "
  1062. -- Add 
  1063. WhereAmI
  1064. : " & 
  1065. -- Allow Print & 
  1066. tlevel buttons 
  1067. Script 
  1068. "Page 
  1069. "Background 
  1070. ?Object 
  1071. default
  1072. -- User did 
  1073. buttonup
  1074. buttonup
  1075. Book Graphic
  1076. tbkopen.dll
  1077. OpenDlg
  1078.                 ~
  1079. *.tbk
  1080. Enter ToolBook to open...
  1081. OpenDlg
  1082. tbkopen.dll
  1083. Book: 
  1084. Print Graphic
  1085. Book Script Graphic
  1086. Page Graphic
  1087. Background Graphic
  1088. Page Script Graphic
  1089. Page Object Graphic
  1090. Background Script Graphic
  1091. Background Object Graphic
  1092. tbkopen.dll
  1093. default
  1094. WhereAmI
  1095. bookname
  1096. Book Script Graphic
  1097. Script
  1098. Book Script Button
  1099. -- Verify that 
  1100. can be clicked
  1101. "Book Script Graphic"
  1102. = 60 
  1103. -- Exit 
  1104. Ghandler
  1105. "WhereAmI" \
  1106. "Page 
  1107. Object 
  1108. "Background 
  1109. buttonup
  1110. buttonup
  1111. Book Script Graphic
  1112. WhereAmI
  1113. Book Script
  1114. WhereAmI
  1115. WhereAmI
  1116. Page Script Graphic
  1117. Page Object Graphic
  1118. Background Script Graphic
  1119. Background Object Graphic
  1120. Page Graphic
  1121. L=$=I=
  1122. Pages
  1123. Page Button
  1124. -- Verify that 
  1125. can be clicked
  1126. "Page Graphic"
  1127. = 60 
  1128. -- Exit 
  1129. Ghandler
  1130. "Background Script 
  1131. Object 
  1132. buttonup
  1133. buttonup
  1134. Page Graphic
  1135. Background Script Graphic
  1136. Background Object Graphic
  1137. Page Page
  1138. Background Graphic
  1139. Background
  1140. Background Button
  1141. 6!=Xo
  1142. -- Verify that 
  1143. can be clicked
  1144. "Background Graphic"
  1145. = 60 
  1146. -- Exit 
  1147. Ghandler
  1148. "Page Script 
  1149. Object 
  1150. buttonup
  1151. buttonup
  1152. Background Graphic
  1153. Page Script Graphic
  1154. Page Object Graphic
  1155. Background Page
  1156. Page Script Graphic
  1157. Script
  1158. Page Script Button
  1159. -- Verify that 
  1160. can be clicked
  1161. "Page Script Graphic"
  1162. = 60 
  1163. "WhereAmI" \
  1164. buttonup
  1165. buttonup
  1166. Page Script Graphic
  1167. WhereAmI
  1168. Page Script
  1169. WhereAmI
  1170. Page Object Graphic
  1171. Objects
  1172. Page Object Button
  1173. -- Verify that 
  1174. can be clicked
  1175. "Page Object Graphic"
  1176. = 60 
  1177. WhereAmI 
  1178.  "ALL" 
  1179. hScript"
  1180. 4objparent, objid
  1181. buttonup
  1182. buttonup
  1183. Page Object Graphic
  1184. Page Object Script
  1185. Object Page
  1186. objparent
  1187. objid
  1188. WhereAmI
  1189. Background Script Graphic
  1190. Script
  1191. Background Script Button
  1192. -- Verify that 
  1193. can be clicked
  1194. "Background Script Graphic"
  1195. = 60 
  1196. "WhereAmI" \
  1197. buttonup
  1198. buttonup
  1199. Background Script Graphic
  1200. WhereAmI
  1201. Background Script
  1202. WhereAmI
  1203. Background Object Graphic
  1204. Objects
  1205. Background Object  Button
  1206. -- Verify that 
  1207. can be clicked
  1208. "Background Object Graphic"
  1209. = 60 
  1210. WhereAmI 
  1211.  "ALL" 
  1212.  "Bacground 
  1213. mScript"
  1214. 4objparent, objid
  1215. Page"
  1216. buttonup
  1217. buttonup
  1218. Background Object Graphic
  1219. Bacground Object Script
  1220. background
  1221. Object Page
  1222. objparent
  1223. objid
  1224. WhereAmI
  1225.  NO SCRIPT EXISTS FOR THIS OBJECT.
  1226. prtInfo
  1227. prtBook
  1228. Quit Graphic
  1229. Quitttttt
  1230. Quit Button
  1231. "Quit Graphic"
  1232. = 60 
  1233. quitApp
  1234. buttonup
  1235. buttonup
  1236. Quit Graphic
  1237. MquitApp
  1238. Book Graphic
  1239. Book Button
  1240. -- Verify that 
  1241. can be clicked
  1242. "Book Graphic"
  1243. = 60 
  1244. -- Get 
  1245. process
  1246. linkDLL "tbkopen.dll"
  1247. STRING OpenDlg(
  1248. 4bookname
  1249. !"","*.
  1250. =","Enter ToolBook 
  1251. ...")
  1252. <> "" 
  1253. -- A 
  1254. 8has been selected
  1255. c"\" 
  1256. unlinkDLL "
  1257. -- Add 
  1258. WhereAmI
  1259. : " & 
  1260. -- Allow Print & 
  1261. tlevel buttons 
  1262. Script 
  1263. "Page 
  1264. "Background 
  1265. ?Object 
  1266. default
  1267. -- User did 
  1268. buttonup
  1269. buttonup
  1270. Book Graphic
  1271. tbkopen.dll
  1272. OpenDlg
  1273.                 ~
  1274. *.tbk
  1275. Enter ToolBook to open...
  1276. OpenDlg
  1277. tbkopen.dll
  1278. Book: 
  1279. Print Graphic
  1280. Book Script Graphic
  1281. Page Graphic
  1282. Background Graphic
  1283. Page Script Graphic
  1284. Page Object Graphic
  1285. Background Script Graphic
  1286. Background Object Graphic
  1287. tbkopen.dll
  1288. default
  1289. WhereAmI
  1290. bookname
  1291. Book Script Graphic
  1292. Script
  1293. Book Script Button
  1294. -- Verify that 
  1295. can be clicked
  1296. "Book Script Graphic"
  1297. = 60 
  1298. -- Exit 
  1299. Ghandler
  1300. "WhereAmI" \
  1301. "Page 
  1302. Object 
  1303. "Background 
  1304. buttonup
  1305. buttonup
  1306. Book Script Graphic
  1307. WhereAmI
  1308. Book Script
  1309. WhereAmI
  1310. WhereAmI
  1311. Page Script Graphic
  1312. Page Object Graphic
  1313. Background Script Graphic
  1314. Background Object Graphic
  1315. Page Graphic
  1316. h(@(e(
  1317. Pages
  1318. Page Button
  1319. -- Verify that 
  1320. can be clicked
  1321. "Page Graphic"
  1322. = 60 
  1323. -- Exit 
  1324. Ghandler
  1325. "Background Script 
  1326. Object 
  1327. buttonup
  1328. buttonup
  1329. Page Graphic
  1330. Background Script Graphic
  1331. Background Object Graphic
  1332. Page Page
  1333. Background Graphic
  1334. Background
  1335. Background Button
  1336. 6!=Xo
  1337. -- Verify that 
  1338. can be clicked
  1339. "Background Graphic"
  1340. = 60 
  1341. -- Exit 
  1342. Ghandler
  1343. "Page Script 
  1344. Object 
  1345. buttonup
  1346. buttonup
  1347. Background Graphic
  1348. Page Script Graphic
  1349. Page Object Graphic
  1350. Background Page
  1351. Page Script Graphic
  1352. X-0-U-
  1353. Script
  1354. Page Script Button
  1355. -- Verify that 
  1356. can be clicked
  1357. "Page Script Graphic"
  1358. = 60 
  1359. "WhereAmI" \
  1360. buttonup
  1361. buttonup
  1362. Page Script Graphic
  1363. WhereAmI
  1364. Page Script
  1365. Page Object Graphic
  1366. z/R/w/
  1367. Objects
  1368. Page Object Button
  1369. -- Verify that 
  1370. can be clicked
  1371. "Page Object Graphic"
  1372. = 60 
  1373. 4objparent, objid
  1374. WhereAmI 
  1375. buttonup
  1376. buttonup
  1377. Page Object Graphic
  1378. Object Page
  1379. WhereAmI
  1380. objparent
  1381. objid
  1382. Background Script Graphic
  1383. Script
  1384. Background Script Button
  1385. 66;Xp
  1386. -- Verify that 
  1387. can be clicked
  1388. "Background Script Graphic"
  1389. = 60 
  1390. "WhereAmI" \
  1391. buttonup
  1392. buttonup
  1393. Background Script Graphic
  1394. WhereAmI
  1395. Background Script
  1396. Background Object Graphic
  1397. Objects
  1398. Background Object  Button
  1399. -- Verify that 
  1400. can be clicked
  1401. "Background Object Graphic"
  1402. = 60 
  1403. buttonup
  1404. buttonup
  1405. Background Object Graphic
  1406. d 118 of page id 0,field id 119 of page id 0,button id 120 of page id 0,rectangle id 121 of page id 0,field id 122 of page id 0,button id 123 of page id 0,rectangle id 124 of page id 0,field id 125 of page id 0,button id 126 of page id 0
  1407. id 138 - line - line id 130 of page id 0,line id 131 of page id 0,line id 132 of page id 0,line id 133 of page id 0,line id 136 of page id 0,line id 137 of page id 0,line id 138 of page id 0,line id 139 of page id 0,line id 140 of page id 0,line id 141 of page id 0,line id 142 of page id 0,line id 143 of page id 0,rectangle id 83 of page id 0,field id 84 of page id 0,button id 86 of page id 0,rectangle id 88 of page id 0,field id 89 of page id 0,button id 90 of page id 0,rectangle id 94 of page id 0,field id 95 of page id 0,button id 96 of page id 0,rectangle id 97 of page id 0,field id 98 of page id 0,button id 99 of page id 0,rectangle id 100 of page id 0,field id 101 of page id 0,button id 102 of page id 0,rectangle id 103 of page id 0,field id 104 of page id 0,button id 105 of page id 0,rectangle id 106 of page id 0,field id 107 of page id 0,button id 108 of page id 0,rectangle id 109 of page id 0,field id 110 of page id 0,button id 111 of page id 0,rectangle id 115 of page id 0,field id 116 of page id 0,button id 117 of page id 0,rectangle id 118 of page id 0,field id 119 of page id 0,button id 120 of page id 0,rectangle id 121 of page id 0,field id 122 of page id 0,button id 123 of page id 0,rectangle id 124 of page id 0,field id 125 of page id 0,button id 126 of page id 0
  1408. id 139 - line - line id 130 of page id 0,line id 131 of page id 0,line id 132 of page id 0,line id 133 of page id 0,line id 136 of page id 0,line id 137 of page id 0,line id 138 of page id 0,line id 139 of page id 0,line id 140 of page id 0,line id 141 of page id 0,line id 142 of page id 0,line id 143 of page id 0,rectangle id 83 of page id 0,field id 84 of page id 0,button id 86 of page id 0,rectangle id 88 of page id 0,field id 89 of page id 0,button id 90 of page id 0,rectangle id 94 of page id 0,field id 95 of page id 0,button id 96 of page id 0,rectangle id 97 of page id 0,field id 98 of page id 0,button id 99 of page id 0,rectangle id 100 of page id 0,field id 101 of page id 0,button id 102 of page id 0,rectangle id 103 of page id 0,field id 104 of page id 0,button id 105 of page id 0,rectangle id 106 of page id 0,field id 107 of page id 0,button id 108 of page id 0,rectangle id 109 of page id 0,field id 110 of page id 0,button id 111 of page id 0,rectangle id 115 of page id 0,field id 116 of page id 0,button id 117 of page id 0,rectangle id 118 of page id 0,field id 119 of page id 0,button id 120 of page id 0,rectangle id 121 of page id 0,field id 122 of page id 0,button id 123 of page id 0,rectangle id 124 of page id 0,field id 125 of page id 0,button id 126 of page id 0
  1409. id 140 - line - line id 130 of page id 0,line id 131 of page id 0,line id 132 of page id 0,line id 133 of page id 0,line id 136 of page id 0,line id 137 of page id 0,line id 138 of page id 0,line id 139 of page id 0,line id 140 of page id 0,line id 141 of page id 0,line id 142 of page id 0,line id 143 of page id 0,rectangle id 83 of page id 0,field id 84 of page id 0,button id 86 of page id 0,rectangle id 88 of page id 0,field id 89 of page id 0,button id 90 of page id 0,rectangle id 94 of page id 0,field id 95 of page id 0,button id 96 of page id 0,rectangle id 97 of page id 0,field id 98 of page id 0,button id 99 of page id 0,rectangle id 100 of page id 0,field id 101 of page id 0,button id 102 of page id 0,rectangle id 103 of page id 0,field id 104 of page id 0,button id 105 of page id 0,rectangle id 106 of page id 0,field id 107 of page id 0,button id 108 of page id 0,rectangle id 109 of page id 0,field id 110 of page id 0,button id 111 of page id 0,rectangle id 115 of page id 0,field id 116 of page id 0,button id 117 of page id 0,rectangle id 118 of page id 0,field id 119 of page id 0,button id 120 of page id 0,rectangle id 121 of page id 0,field id 122 of page id 0,button id 123 of page id 0,rectangle id 124 of page id 0,field id 125 of page id 0,button id 126 of page id 0
  1410. id 141 - line - line id 130 of page id 0,line id 131 of page id 0,line id 132 of page id 0,line id 133 of page id 0,line id 136 of page id 0,line id 137 of page id 0,line id 138 of page id 0,line id 139 of page id 0,line id 140 of page id 0,line id 141 of page id 0,line id 142 of page id 0,line id 143 of page id 0,rectangle id 83 of page id 0,field id 84 of page id 0,button id 86 of page id 0,rectangle id 88 of page id 0,field id 89 of page id 0,button id 90 of page id 0,rectangle id 94 of page id 0,field id 95 of page id 0,button id 96 of page id 0,rectangle id 97 of page id 0,field id 98 of page id 0,button id 99 of page id 0,rectangle id 100 of page id 0,field id 101 of page id 0,button id 102 of page id 0,rectangle id 103 of page id 0,field id 104 of page id 0,button id 105 of page id 0,rectangle id 106 of page id 0,field id 107 of page id 0,button id 108 of page id 0,rectangle id 109 of page id 0,field id 110 of page id 0,button id 111 of page id 0,rectangle id 115 of page id 0,field id 116 of page id 0,button id 117 of page id 0,rectangle id 118 of page id 0,field id 119 of page id 0,button id 120 of page id 0,rectangle id 121 of page id 0,field id 122 of page id 0,button id 123 of page id 0,rectangle id 124 of page id 0,field id 125 of page id 0,button id 126 of page id 0
  1411. id 142 - line - line id 130 of page id 0,line id 131 of page id 0,line id 132 of page id 0,line id 133 of page id 0,line id 136 of page id 0,line id 137 of page id 0,line id 138 of page id 0,line id 139 of page id 0,line id 140 of page id 0,line id 141 of page id 0,line id 142 of page id 0,line id 143 of page id 0,rectangle id 83 of page id 0,field id 84 of page id 0,button id 86 of page id 0,rectangle id 88 of page id 0,field id 89 of page id 0,button id 90 of page id 0,rectangle id 94 of page id 0,field id 95 of page id 0,button id 96 of page id 0,rectangle id 97 of page id 0,field id 98 of page id 0,button id 99 of page id 0,rectangle id 100 of page id 0,field id 101 of page id 0,button id 102 of page id 0,rectangle id 103 of page id 0,field id 104 of page id 0,button id 105 of page id 0,rectangle id 106 of page id 0,field id 107 of page id 0,button id 108 of page id 0,rectangle id 109 of page id 0,field id 110 of page id 0,button id 111 of page id 0,rectangle id 115 of page id 0,field id 116 of page id 0,button id 117 of page id 0,rectangle id 118 of page id 0,field id 119 of page id 0,button id 120 of page id 0,rectangle id 121 of page id 0,field id 122 of page id 0,button id 123 of page id 0,rectangle id 124 of page id 0,field id 125 of page id 0,button id 126 of page id 0
  1412. id 143 - line - line id 130 of page id 0,line id 131 of page id 0,line id 132 of page id 0,line id 133 of page id 0,line id 136 of page id 0,line id 137 of page id 0,line id 138 of page id 0,line id 139 of page id 0,line id 140 of page id 0,line id 141 of page id 0,line id 142 of page id 0,line id 143 of page id 0,rectangle id 83 of page id 0,field id 84 of page id 0,button id 86 of page id 0,rectangle id 88 of page id 0,field id 89 of page id 0,button id 90 of page id 0,rectangle id 94 of page id 0,field id 95 of page id 0,button id 96 of page id 0,rectangle id 97 of page id 0,field id 98 of page id 0,button id 99 of page id 0,rectangle id 100 of page id 0,field id 101 of page id 0,button id 102 of page id 0,rectangle id 103 of page id 0,field id 104 of page id 0,button id 105 of page id 0,rectangle id 106 of page id 0,field id 107 of page id 0,button id 108 of page id 0,rectangle id 109 of page id 0,field id 110 of page id 0,button id 111 of page id 0,rectangle id 115 of page id 0,field id 116 of page id 0,button id 117 of page id 0,rectangle id 118 of page id 0,field id 119 of page id 0,button id 120 of page id 0,rectangle id 121 of page id 0,field id 122 of page id 0,button id 123 of page id 0,rectangle id 124 of page id 0,field id 125 of page id 0,button id 126 of page id 0
  1413. id 83 - rectangle - line id 130 of page id 0,line id 131 of page id 0,line id 132 of page id 0,line id 133 of page id 0,line id 136 of page id 0,line id 137 of page id 0,line id 138 of page id 0,line id 139 of page id 0,line id 140 of page id 0,line id 141 of page id 0,line id 142 of page id 0,line id 143 of page id 0,rectangle id 83 of page id 0,field id 84 of page id 0,button id 86 of page id 0,rectangle id 88 of page id 0,field id 89 of page id 0,button id 90 of page id 0,rectangle id 94 of page id 0,field id 95 of page id 0,button id 96 of page id 0,rectangle id 97 of page id 0,field id 98 of page id 0,button id 99 of page id 0,rectangle id 100 of page id 0,field id 101 of page id 0,button id 102 of page id 0,rectangle id 103 of page id 0,field id 104 of page id 0,button id 105 of page id 0,rectangle id 106 of page id 0,field id 107 of page id 0,button id 108 of page id 0,rectangle id 109 of page id 0,field id 110 of page id 0,button id 111 of page id 0,rectangle id 115 of page id 0,field id 116 of page id 0,button id 117 of page id 0,rectangle id 118 of page id 0,field id 119 of page id 0,button id 120 of page id 0,rectangle id 121 of page id 0,field id 122 of page id 0,button id 123 of page id 0,rectangle id 124 of page id 0,field id 125 of page id 0,button id 126 of page id 0
  1414. id 84 - field - <null>
  1415. id 86 - button - Print Button
  1416. id 88 - rectangle - Print Button
  1417. id 89 - field - <null>
  1418. id 90 - button - Quit Button
  1419. id 94 - rectangle - Quit Button
  1420. id 95 - field - <null>
  1421. id 96 - button - Book Button
  1422. id 97 - rectangle - Book Button
  1423. id 98 - field - <null>
  1424. id 99 - button - Book Script Button
  1425. id 100 - rectangle - Book Script Button
  1426. id 101 - field - <null>
  1427. id 102 - button - Page Button
  1428. id 103 - rectangle - Page Button
  1429. id 104 - field - <null>
  1430. id 105 - button - Background Button
  1431. id 106 - rectangle - Background Button
  1432. id 107 - field - <null>
  1433. id 108 - button - Page Script Button
  1434. id 109 - rectangle - Page Script Button
  1435. id 110 - field - <null>
  1436. id 111 - button - Page Object Button
  1437. id 115 - rectangle - Page Object Button
  1438. id 116 - field - <null>
  1439. id 117 - button - Page Object Script Button
  1440. id 118 - rectangle - Page Object Script Button
  1441. id 119 - field - <null>
  1442. id 120 - button - Background Script Button
  1443. id 121 - rectangle - Background Script Button
  1444. id 122 - field - <null>
  1445. id 123 - button - Background Object  Button
  1446. id 124 - rectangle - Background Object  Button
  1447. id 125 - field - <null>
  1448. id 126 - button - Background Object Script Button
  1449. # of Objects:nds::
  1450. NumberofObjects
  1451. BackgroundList
  1452. buttonUp
  1453. buttonUp
  1454. buttonUp
  1455. BackgroundList
  1456.