home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 14 / 14.iso / s / s005 / 52.ddi / SMM.LIB / AMISKDW4.SMM < prev    next >
Encoding:
INI File  |  1993-11-03  |  62.8 KB  |  4,051 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     _macro.sty
  5. [charset]
  6.     82
  7.     ANSI (Windows, IBM CP 1252)
  8. [PanoseFontTable]
  9.     3
  10.     5
  11.     Helvetica
  12.     2818
  13.     1029
  14.     514
  15.     514
  16.     1026
  17.     Helv
  18.     2818
  19.     1029
  20.     514
  21.     770
  22.     1026
  23.     Times New Roman
  24.     514
  25.     774
  26.     1029
  27.     517
  28.     1027
  29. [revisions]
  30.     0
  31. [recfile]
  32.     
  33.     *
  34.     1
  35.     1
  36.     3
  37.     8
  38.     0
  39.     0
  40. [lang]
  41.     1
  42. [desc]
  43.     Ami Pro Switchkit for DisplayWrite 4 users
  44.     
  45.     
  46.     
  47.     
  48.     752348659
  49.     168
  50.     718998225
  51.     14769
  52.     15
  53.     2227
  54.     18460
  55.     60
  56.     65
  57.     
  58.     
  59.     
  60.     
  61.     
  62.     
  63.     0
  64. [prn]
  65.     QMS-PS 810
  66. [port]
  67.     LPT1.OS2
  68. [fopts]
  69.     0
  70.     1
  71.     0
  72.     0
  73. [lnopts]
  74.     2
  75.     Body Text
  76.     1
  77. [docopts]
  78.     5
  79.     2
  80. [GramStyle]
  81.     
  82. [tag]
  83.     Function
  84.     4
  85.     [fnt]
  86.         Helvetica
  87.         240
  88.         16727905
  89.         49153
  90.     [algn]
  91.         1
  92.         1
  93.         0
  94.         0
  95.         0
  96.     [spc]
  97.         33
  98.         0
  99.         1
  100.         0
  101.         0
  102.         1
  103.         100
  104.     [brk]
  105.         68
  106.     [line]
  107.         8
  108.         0
  109.         1
  110.         0
  111.         0
  112.         1
  113.         1
  114.         144
  115.         144
  116.         1
  117.     [spec]
  118.         0
  119.         1
  120.         
  121.         0
  122.         1
  123.         1
  124.         0
  125.         0
  126.         0
  127.         0
  128.     [nfmt]
  129.         272
  130.         1
  131.         3
  132.         .
  133.         ,
  134.         $
  135.     Body Text
  136.     0
  137.     0
  138. [tag]
  139.     Body Text
  140.     2
  141.     [fnt]
  142.         Helvetica
  143.         240
  144.         0
  145.         49152
  146.     [algn]
  147.         1
  148.         1
  149.         216
  150.         0
  151.         0
  152.     [spc]
  153.         33
  154.         0
  155.         1
  156.         0
  157.         0
  158.         1
  159.         100
  160.     [brk]
  161.         4
  162.     [line]
  163.         8
  164.         0
  165.         1
  166.         0
  167.         0
  168.         1
  169.         1
  170.         144
  171.         144
  172.         1
  173.     [spec]
  174.         0
  175.         0
  176.         
  177.         0
  178.         1
  179.         1
  180.         0
  181.         16
  182.         0
  183.         0
  184.     [nfmt]
  185.         272
  186.         1
  187.         3
  188.         .
  189.         ,
  190.         $
  191.     Body Text
  192.     0
  193.     0
  194. [lay]
  195.     Standard
  196.     513
  197.     [rght]
  198.         15840
  199.         12240
  200.         1
  201.         1440
  202.         1440
  203.         1
  204.         1440
  205.         1440
  206.         0
  207.         0
  208.         0
  209.         0
  210.         0
  211.         1
  212.         1
  213.         1440
  214.         10800
  215.         0
  216.     [frght]
  217.     [lyfrm]
  218.         0
  219.         13184
  220.         0
  221.         14400
  222.         12240
  223.         15840
  224.         0
  225.         1
  226.         1
  227.         0 0 0 0 0 0 0
  228.         0
  229.         16777215
  230.         0
  231.     [frmlay]
  232.         15840
  233.         12240
  234.         1
  235.         1440
  236.         648
  237.         1
  238.         14472
  239.         1440
  240.         0
  241.         0
  242.         16777215
  243.         0
  244.         0
  245.         0
  246.         1
  247.         1440
  248.         10800
  249.         0
  250.     [txt]
  251. <:s>
  252.  
  253. >
  254.     [hrght]
  255.     [lyfrm]
  256.         0
  257.         11136
  258.         0
  259.         0
  260.         12240
  261.         1440
  262.         0
  263.         1
  264.         1
  265.         0 0 0 0 0 0 0
  266.         0
  267.         16777215
  268.         0
  269.     [frmlay]
  270.         1440
  271.         12240
  272.         1
  273.         1440
  274.         72
  275.         1
  276.         648
  277.         1440
  278.         0
  279.         0
  280.         16777215
  281.         0
  282.         0
  283.         0
  284.         1
  285.         1440
  286.         10800
  287.         0
  288.     [txt]
  289. <:s>
  290.  
  291. >
  292. [elay]
  293. [lay]
  294.     1
  295.     513
  296.     [rght]
  297.         15840
  298.         12240
  299.         1
  300.         576
  301.         720
  302.         1
  303.         892
  304.         576
  305.         0
  306.         0
  307.         0
  308.         1
  309.         0
  310.         2
  311.         1
  312.         576
  313.         11664
  314.         12
  315.         1
  316.         990
  317.         1
  318.         1440
  319.         1
  320.         2160
  321.         1
  322.         2880
  323.         1
  324.         3600
  325.         1
  326.         4320
  327.         1
  328.         5040
  329.         1
  330.         5760
  331.         1
  332.         6480
  333.         1
  334.         7200
  335.         1
  336.         7920
  337.         1
  338.         8640
  339.     [frght]
  340.     [lyfrm]
  341.         0
  342.         13184
  343.         0
  344.         15120
  345.         12240
  346.         15840
  347.         0
  348.         1
  349.         1
  350.         0 0 0 0 0 0 0
  351.         0
  352.         16777215
  353.         0
  354.     [frmlay]
  355.         15840
  356.         12240
  357.         1
  358.         1440
  359.         792
  360.         1
  361.         15192
  362.         1440
  363.         0
  364.         0
  365.         16777215
  366.         0
  367.         0
  368.         0
  369.         1
  370.         1440
  371.         10800
  372.         2
  373.         2
  374.         4680
  375.         3
  376.         9360
  377.     [txt]
  378. <:s><:#P30670848,P969933>
  379.  
  380. >
  381.     [hrght]
  382.     [lyfrm]
  383.         0
  384.         11136
  385.         0
  386.         0
  387.         12240
  388.         892
  389.         0
  390.         1
  391.         1
  392.         0 0 0 0 0 0 0
  393.         0
  394.         16777215
  395.         0
  396.     [frmlay]
  397.         892
  398.         12240
  399.         1
  400.         720
  401.         72
  402.         1
  403.         360
  404.         720
  405.         0
  406.         0
  407.         16777215
  408.         0
  409.         0
  410.         0
  411.         1
  412.         720
  413.         11520
  414.         2
  415.         2
  416.         4680
  417.         3
  418.         9360
  419.     [txt]
  420. <:s><:#P35389440,P969933><+@><:I0,0,0,0><:R1,3,2,5040,1,8375,3,10800,>    
  421.  
  422. >
  423. [elay]
  424. [l1]
  425.     1
  426. [edoc]
  427. <:s><:#P36333158,P969933>' By Mark Osborne, Mark Eagle & Charlie Pappas
  428.  
  429. <:s><:#P36333158,P969933>
  430.  
  431. <:s><:#P36333158,P969933>DECLARE DlgKeyProc(hDlg,key)
  432.  
  433. <:s><:#P36333158,P969933>DECLARE FillBox(id,array)
  434.  
  435. <:s><:#P36333158,P969933>DECALRE GetId(key)
  436.  
  437. <:s><:#P36333158,P969933>DECLARE GetOnkeyEquiv(keysc)
  438.  
  439. <:s><:#P36333158,P969933>DECLARE GetTitle()
  440.  
  441. <:s><:#P36333158,P969933>DECLARE Init()
  442.  
  443. <:s><:#P36333158,P969933>DECLARE Initialize(hDlg,id,val)    
  444.  
  445. <:s><:#P36333158,P969933>DECLARE LoadDlgKeyInterupts(Array)
  446.  
  447. <:s><:#P36333158,P969933>DECLARE LoadKS(hdlg,section)
  448.  
  449. <:s><:#P36333158,P969933>DECLARE LoadMenu()
  450.  
  451. <:s><:#P36333158,P969933>DECLARE LoadOnKeyKS()
  452.  
  453. <:s><:#P36333158,P969933>DECLARE LoadOnKeys()
  454.  
  455. <:s><:#P36333158,P969933>DECLARE LoadText(id,data)
  456.  
  457. <:s><:#P36333158,P969933>DECLARE Off()
  458.  
  459. <:s><:#P36333158,P969933>DECLARE Packstr(text)
  460.  
  461. <:s><:#P36333158,P969933>DECLARE ReadTopLevel(key)
  462.  
  463. <:s><:#P36333158,P969933>DECLARE SkAbout()
  464.  
  465. <:s><:#P36333158,P969933>DECLARE StripIt(text)
  466.  
  467. <:s><:#P36333158,P969933>DECLARE Test(param)
  468.  
  469. <:s><:#P36333158,P969933>DECLARE Test2(hDlg,id,val)
  470.  
  471. <:s><:#P36333158,P969933>DECLARE UnLoadMenu()
  472.  
  473. <:s><:#P36333158,P969933>DECLARE UnLoadOnKeys()
  474.  
  475. <:s><:#P36333158,P969933>DECLARE UnpackStr(text)
  476.  
  477. <:s><:#P36333158,P969933>DECLARE WriteToBox(hDlg,id,section)
  478.  
  479. <:s><:#P36333158,P969933>declare getprofile(section, item);    
  480.  
  481. <:s><:#P36333158,P969933>define filename "amiskdw4.sam"
  482.  
  483. <:s><:#P36333158,P969933>define dlgbox "amiskdw4.dlg"
  484.  
  485. <:s><:#P36333158,P969933>
  486.  
  487. @Function@<:s><:#P36333158,P969933>function LoadMenu()
  488.  
  489. <:s><:#P36333158,P969933>hourglass(1)
  490.  
  491. <:s><:#P36333158,P969933>g_hgloss = strcat$("hgloss", filename)
  492.  
  493. <:s><:#P36333158,P969933>allocglobalvar(g_hgloss, 1)
  494.  
  495. <:s><:#P36333158,P969933>if getglobalvar$(g_hgloss) = ""
  496.  
  497. <:s><:#P36333158,P969933>    hgloss = glossaryopen(strcat$(getamidirectory$(), filename))
  498.  
  499. <:s><:#P36333158,P969933>    setglobalvar(g_hgloss, hgloss)
  500.  
  501. <:s><:#P36333158,P969933>endif
  502.  
  503. <:s><:#P36333158,P969933>menu = getprofile("Menus", "Menu") ' &Help
  504.  
  505. <:s><:#P36333158,P969933>item = getprofile("Menus", "Menuitem") ' For &DisplayWrite Users"
  506.  
  507. <:s><:#P36333158,P969933>item1 = getprofile("Menus", "Item1") ' &On
  508.  
  509. <:s><:#P36333158,P969933>item2 = getprofile("Menus", "Item2") ' O&ff
  510.  
  511. <:s><:#P36333158,P969933>item3 = getprofile("Menus", "Item3") ' &Main Menu...
  512.  
  513. <:s><:#P36333158,P969933>item4 = getprofile("Menus", "Item4") ' &About SwitchKit...
  514.  
  515. <:s><:#P36333158,P969933>
  516.  
  517. <:s><:#P36333158,P969933>AllocGlobalVar("SKON",1)
  518.  
  519. <:s><:#P36333158,P969933>macfile = GetRunningMacroFile$()
  520.  
  521. <:s><:#P36333158,P969933>DeleteMenuItem(1,menu,item)
  522.  
  523. <:s><:#P36333158,P969933>InsertCascadeMenu(1,  menu , 7, item)
  524.  
  525. <:s><:#P36333158,P969933>
  526.  
  527. <:s><:#P36333158,P969933>AddCascadeMenuItem(1, menu,item,item1, "{macfile}!SKMain()","")
  528.  
  529. <:s><:#P36333158,P969933>AddCascadeMenuItem(1, menu, item,item2, "{macfile}!Off()","")
  530.  
  531. <:s><:#P36333158,P969933>AddCascadeMenuItem(1,menu, item, "-", "", "")
  532.  
  533. <:s><:#P36333158,P969933>AddCascadeMenuItem(1,menu, item, item4, "{macfile}!MainMenu", "")
  534.  
  535. <:s><:#P36333158,P969933>AddCascadeMenuItem(1, menu,item,"-", "","")
  536.  
  537. <:s><:#P36333158,P969933>AddCascadeMenuItem(1,menu,item,"&About SwitchKit...", "{macfile}!aboutsk","")
  538.  
  539. <:s><:#P36333158,P969933>CheckMenuItem(1, Menu,Item, item2,1)
  540.  
  541. <:s><:#P36333158,P969933>hourglass(0)
  542.  
  543. <:s><:#P36333158,P969933>end function
  544.  
  545. <:s><:#P36333158,P969933>
  546.  
  547. @Function@<:s><:#P36333158,P969933>function getprofile(section, key)
  548.  
  549. <:s><:#P36333158,P969933>data = glossarylookup(getglobalvar$(strcat$("hgloss", filename)), strcat$(section, key))
  550.  
  551. <:s><:#P36333158,P969933>q = left$("""", 1)
  552.  
  553. <:s><:#P36333158,P969933>if left$(data, 1) = q
  554.  
  555. <:s><:#P36333158,P969933>    data = strfield$(data, 2, q)
  556.  
  557. <:s><:#P36333158,P969933>endif
  558.  
  559. <:s><:#P36333158,P969933>if right$(data, 1) = q
  560.  
  561. <:s><:#P36333158,P969933>    data = strfield$(data, 1, q)
  562.  
  563. <:s><:#P36333158,P969933>endif
  564.  
  565. <:s><:#P36333158,P969933>return data
  566.  
  567. <:s><:#P36333158,P969933>end function
  568.  
  569. <:s><:#P36333158,P969933>
  570.  
  571. @Function@<:s><:#P36333158,P969933>function LoadOnKeys()    'need to change this for other switch            
  572.  
  573. <:s><:#P36333158,P969933>hourglass(1)
  574.  
  575. <:s><:#P36333158,P969933>macfile = GetRunningMacroFile$()
  576.  
  577. <:s><:#P36333158,P969933>OnKey(<[>F2],0, "{macfile}!ReadTopLevel(F2)")
  578.  
  579. <:s><:#P36333158,P969933>OnKey(<[>F3],0, "{macfile}!ReadTopLevel(F3)")
  580.  
  581. <:s><:#P36333158,P969933>OnKey(<[>F4],0, "{macfile}!ReadTopLevel(F4)")
  582.  
  583. <:s><:#P36333158,P969933>OnKey(<[>F5],0, "{macfile}!ReadTopLevel(F5)")
  584.  
  585. <:s><:#P36333158,P969933>OnKey(<[>F6],0, "{macfile}!ReadTopLevel(F6)")
  586.  
  587. <:s><:#P36333158,P969933>OnKey(<[>F7],0, "{macfile}!ReadTopLevel(F7)")
  588.  
  589. <:s><:#P36333158,P969933>OnKey(<[>F8],0, "{macfile}!ReadTopLevel(F8)")
  590.  
  591. <:s><:#P36333158,P969933>OnKey(<[>F9],0, "{macfile}!ReadTopLevel(F9)")
  592.  
  593. <:s><:#P36333158,P969933>OnKey(<[>F10],0, "{macfile}!ReadTopLevel(F10)")
  594.  
  595. <:s><:#P36333158,P969933>OnKey(<[>F11],0, "{macfile}!ReadTopLevel(F11)")
  596.  
  597. <:s><:#P36333158,P969933>OnKey(<[>F12],0, "{macfile}!ReadTopLevel(F12)")
  598.  
  599. <:s><:#P36333158,P969933>hourglass(0)
  600.  
  601. <:s><:#P36333158,P969933>end function
  602.  
  603. <:s><:#P36333158,P969933>
  604.  
  605. @Function@<:s><:#P36333158,P969933>function skmain()                        'This is the main function
  606.  
  607. <:s><:#P36333158,P969933>hourglass(1)
  608.  
  609. <:s><:#P36333158,P969933>if GetOpenFileCount() << 1
  610.  
  611. <:s><:#P36333158,P969933>    message(getprofile("Msg", "msg1"))    
  612.  
  613. <:s><:#P36333158,P969933>    exit function
  614.  
  615. <:s><:#P36333158,P969933>endif
  616.  
  617. <:s><:#P36333158,P969933>
  618.  
  619. <:s><:#P36333158,P969933>SetGlobalVar("SKON",1)                'Flag for future switchkits to see it this one running
  620.  
  621. <:s><:#P36333158,P969933>
  622.  
  623. <:s><:#P36333158,P969933>menu = getprofile("Menus", "Menu") ' &Help
  624.  
  625. <:s><:#P36333158,P969933>item = getprofile("Menus", "Menuitem") ' For &DisplayWrite Users"
  626.  
  627. <:s><:#P36333158,P969933>item1 = getprofile("Menus", "Item1") ' &On
  628.  
  629. <:s><:#P36333158,P969933>item2 = getprofile("Menus", "Item2") ' O&ff
  630.  
  631. <:s><:#P36333158,P969933>
  632.  
  633. <:s><:#P36333158,P969933>CheckMenuItem(1, Menu,Item, item1,1)
  634.  
  635. <:s><:#P36333158,P969933>CheckMenuItem(1, Menu,Item, item2,0)
  636.  
  637. <:s><:#P36333158,P969933>AllocGlobalVar("AccKeys",30)
  638.  
  639. <:s><:#P36333158,P969933>AllocGlobalVar("levelflag",1)
  640.  
  641. <:s><:#P36333158,P969933>SetGlobalVar("levelflag",1)
  642.  
  643. <:s><:#P36333158,P969933>macfile = GetRunningMacroFile$()
  644.  
  645. <:s><:#P36333158,P969933>SetDlgCallBack(0, "{macfile}!Initialize")
  646.  
  647. <:s><:#P36333158,P969933>SetDlgCallBack(25,"{macfile}!EnterKeyProc")
  648.  
  649. <:s><:#P36333158,P969933>SetDlgCallBack(9000, "{macfile}!L9000")
  650.  
  651. <:s><:#P36333158,P969933>SetDlgCallBack(9003, "{macfile}!L9003")
  652.  
  653. <:s><:#P36333158,P969933>LoadOnKeys()
  654.  
  655. <:s><:#P36333158,P969933>LoadOnKeyKS()
  656.  
  657. <:s><:#P36333158,P969933>FreeGlobalVar("hDlg")
  658.  
  659. <:s><:#P36333158,P969933>hourglass(0)
  660.  
  661. <:s><:#P36333158,P969933>end function 
  662.  
  663. <:s><:#P36333158,P969933>
  664.  
  665. @Function@<:s><:#P36333158,P969933>function Initialize(hDlg,id,val)        
  666.  
  667. <:s><:#P36333158,P969933>hourglass(1)
  668.  
  669. <:s><:#P36333158,P969933>allocglobalvar("hDlg",1)
  670.  
  671. <:s><:#P36333158,P969933>SetGlobalVar("hDlg",hDlg)
  672.  
  673. <:s><:#P36333158,P969933>'hctrl = GetDlgItem(hDlg,9003 )         'disable the number list box
  674.  
  675. <:s><:#P36333158,P969933>'EnableWindow(hdlg, hctrl, 0)
  676.  
  677. <:s><:#P36333158,P969933><+!>DlgEnableControl(hdlg, 9003, 0)
  678.  
  679. <:s><:#P36333158,P969933><-!>hourglass(0)
  680.  
  681. <:s><:#P36333158,P969933>end function
  682.  
  683. <:s><:#P36333158,P969933>
  684.  
  685. @Function@<:s><:#P36333158,P969933>function LoadOnKeyKS()
  686.  
  687. <:s><:#P36333158,P969933>hourglass(1)
  688.  
  689. <:s><:#P36333158,P969933>macfile=getrunningmacrofile$()
  690.  
  691. <:s><:#P36333158,P969933>defstr stat;
  692.  
  693. <:s><:#P36333158,P969933>ct = 1
  694.  
  695. <:s><:#P36333158,P969933>ignorekeyboard(1)
  696.  
  697. <:s><:#P36333158,P969933>while "" != Assign(&stat,Getprofile("KeyboardShortcuts",ct))
  698.  
  699. <:s><:#P36333158,P969933>    keysc = StrField$(stat,1,"~")            'this gets CTRL+F4
  700.  
  701. <:s><:#P36333158,P969933>    section = StrField$(stat,2,"~")            'this gets  End and Save
  702.  
  703. <:s><:#P36333158,P969933>    newkeysc =  GetOnkeyEquiv(keysc)        'Returns CTRLF4 in a from suitable for Onkeys
  704.  
  705. <:s><:#P36333158,P969933>    text = section
  706.  
  707. <:s><:#P36333158,P969933>    Onkey(newkeysc,0,"{macfile}!test(""{text}"")")
  708.  
  709. <:s><:#P36333158,P969933>    ct = ct + 1
  710.  
  711. <:s><:#P36333158,P969933>wend
  712.  
  713. <:s><:#P36333158,P969933>ignorekeyboard(0)
  714.  
  715. <:s><:#P36333158,P969933>hourglass(0)
  716.  
  717. <:s><:#P36333158,P969933>end function
  718.  
  719. <:s><:#P36333158,P969933>
  720.  
  721. <:s><:#P36333158,P969933>function packstr(str)                    'Utility function to replace spaces with underscores
  722.  
  723. <:s><:#P36333158,P969933>hourglass(1)
  724.  
  725. <:s><:#P36333158,P969933>    newstr=""
  726.  
  727. <:s><:#P36333158,P969933>    l = len(str)
  728.  
  729. <:s><:#P36333158,P969933>    hit = 0
  730.  
  731. <:s><:#P36333158,P969933>    for i = 1 to l
  732.  
  733. <:s><:#P36333158,P969933>        char =  Mid$(str,i,1)
  734.  
  735. <:s><:#P36333158,P969933>        if char = " " 
  736.  
  737. <:s><:#P36333158,P969933>            then char = "_"
  738.  
  739. <:s><:#P36333158,P969933>            hit = 1
  740.  
  741. <:s><:#P36333158,P969933>        endif
  742.  
  743. <:s><:#P36333158,P969933>        newstr = strcat$(newstr,char)
  744.  
  745. <:s><:#P36333158,P969933>    next
  746.  
  747. <:s><:#P36333158,P969933>    'message(newstr)
  748.  
  749. <:s><:#P36333158,P969933>    if hit = 1
  750.  
  751. <:s><:#P36333158,P969933>        return(newstr)
  752.  
  753. <:s><:#P36333158,P969933>    else
  754.  
  755. <:s><:#P36333158,P969933>        return(str)
  756.  
  757. <:s><:#P36333158,P969933>    endif
  758.  
  759. <:s><:#P36333158,P969933>hourglass(0)
  760.  
  761. <:s><:#P36333158,P969933>end function
  762.  
  763. <:s><:#P36333158,P969933>
  764.  
  765. <:s><:#P36333158,P969933>function unpackstr(str)                'utility function to replace underscores withs spaces
  766.  
  767. <:s><:#P36333158,P969933>hourglass(1)
  768.  
  769. <:s><:#P36333158,P969933>newstr=""
  770.  
  771. <:s><:#P36333158,P969933>l = len(str) 
  772.  
  773. <:s><:#P36333158,P969933>hit = 0
  774.  
  775. <:s><:#P36333158,P969933>for i = 1 to l
  776.  
  777. <:s><:#P36333158,P969933>    char =  Mid$(str,i,1)
  778.  
  779. <:s><:#P36333158,P969933>    if char = "_" 
  780.  
  781. <:s><:#P36333158,P969933>        then char = " "
  782.  
  783. <:s><:#P36333158,P969933>        hit = 1
  784.  
  785. <:s><:#P36333158,P969933>    endif
  786.  
  787. <:s><:#P36333158,P969933>    newstr = strcat$(newstr,char)
  788.  
  789. <:s><:#P36333158,P969933>next
  790.  
  791. <:s><:#P36333158,P969933>if hit = 1
  792.  
  793. <:s><:#P36333158,P969933>    return(newstr)
  794.  
  795. <:s><:#P36333158,P969933>else
  796.  
  797. <:s><:#P36333158,P969933>    return(str)
  798.  
  799. <:s><:#P36333158,P969933>endif
  800.  
  801. <:s><:#P36333158,P969933>hourglass(0)
  802.  
  803. <:s><:#P36333158,P969933>end function
  804.  
  805. <:s><:#P36333158,P969933>
  806.  
  807. <:s><:#P36333158,P969933>function test(param)                                'KsOnKey Proc
  808.  
  809. <:s><:#P36333158,P969933>ignorekeyboard(1)
  810.  
  811. <:s><:#P36333158,P969933>hourglass(1)
  812.  
  813. <:s><:#P36333158,P969933>macfile= getrunningmacrofile$()
  814.  
  815. <:s><:#P36333158,P969933>SetDlgCallBack(0, "{macfile}!test2")                  'Used to get hdlg to call writetobox function
  816.  
  817. <:s><:#P36333158,P969933>SetDlgCallBack(25,"{macfile}!EnterKeyProc")
  818.  
  819. <:s><:#P36333158,P969933>SetDlgCallBack(9000, "{macfile}!L9000")
  820.  
  821. <:s><:#P36333158,P969933>SetDlgCallBack(9003, "{macfile}!L9003")
  822.  
  823. <:s><:#P36333158,P969933>allocglobalvar("section",1)
  824.  
  825. <:s><:#P36333158,P969933>'section = unpackstr(param)
  826.  
  827. <:s><:#P36333158,P969933>section = param                        'dont need this anymore 
  828.  
  829. <:s><:#P36333158,P969933>setglobalvar("section",section)            
  830.  
  831. <:s><:#P36333158,P969933>box = dialogbox(".", "SK")
  832.  
  833. <:s><:#P36333158,P969933>if box = 0
  834.  
  835. <:s><:#P36333158,P969933>    setglobalvar("levelflag",1)        'ESC from box set this back to 1 so that box will show on next call
  836.  
  837. <:s><:#P36333158,P969933>endif
  838.  
  839. <:s><:#P36333158,P969933>SetDlgCallBack(9000, "{MacFile}!L9000")
  840.  
  841. <:s><:#P36333158,P969933>SetDlgCallBack(25,"{macfile}!EnterKeyProc")
  842.  
  843. <:s><:#P36333158,P969933>ignorekeyboard(0)
  844.  
  845. <:s><:#P36333158,P969933>hourglass(0)
  846.  
  847. <:s><:#P36333158,P969933>end function
  848.  
  849. <:s><:#P36333158,P969933>
  850.  
  851. <:s><:#P36333158,P969933>function test2(hDlg,id,val)                'might need to do L callbacks now
  852.  
  853. <:s><:#P36333158,P969933>hourglass(1)
  854.  
  855. <:s><:#P36333158,P969933>id = 0                            'initialize - dont really need here
  856.  
  857. <:s><:#P36333158,P969933>section = getglobalvar$("section")        'get section from global variable
  858.  
  859. <:s><:#P36333158,P969933>level = WriteToBox(hDlg,0,section)            'send section to lookup and write to dlg box
  860.  
  861. <:s><:#P36333158,P969933>if level = 0                    'new
  862.  
  863. <:s><:#P36333158,P969933>    SetGlobalVar("levelflag",0)
  864.  
  865. <:s><:#P36333158,P969933>endif
  866.  
  867. <:s><:#P36333158,P969933>hourglass(0)
  868.  
  869. <:s><:#P36333158,P969933>end function
  870.  
  871. <:s><:#P36333158,P969933>
  872.  
  873. <:s><:#P36333158,P969933>function FillBox(id,array)
  874.  
  875. <:s><:#P36333158,P969933>FillEdit(id,&array)
  876.  
  877. <:s><:#P36333158,P969933>end function
  878.  
  879. <:s><:#P36333158,P969933>
  880.  
  881. <:s><:#P36333158,P969933>function GetHotKeyOld(strdata)
  882.  
  883. <:s><:#P36333158,P969933>hourglass(1)
  884.  
  885. <:s><:#P36333158,P969933>hotkeypos = strchr(1,strdata, "&")
  886.  
  887. <:s><:#P36333158,P969933>hotkey = Mid$(strdata, hotkeypos + 1,1)
  888.  
  889. <:s><:#P36333158,P969933>if (hotkey = "" )
  890.  
  891. <:s><:#P36333158,P969933>    return (-1)
  892.  
  893. <:s><:#P36333158,P969933>else
  894.  
  895. <:s><:#P36333158,P969933>    return (hotkey)
  896.  
  897. <:s><:#P36333158,P969933>endif
  898.  
  899. <:s><:#P36333158,P969933>hourglass(0)
  900.  
  901. <:s><:#P36333158,P969933>end function
  902.  
  903. <:s><:#P36333158,P969933>
  904.  
  905. <:s><:#P36333158,P969933>function GetHotKey(strdata)
  906.  
  907. <:s><:#P36333158,P969933>hourglass(1)
  908.  
  909. <:s><:#P36333158,P969933>hotkey = Strfield$(strdata,1"-")
  910.  
  911. <:s><:#P36333158,P969933>if (hotkey = "" )
  912.  
  913. <:s><:#P36333158,P969933>    return ""
  914.  
  915. <:s><:#P36333158,P969933>elseif (hotkey = -1)
  916.  
  917. <:s><:#P36333158,P969933>    return ""
  918.  
  919. <:s><:#P36333158,P969933>else
  920.  
  921. <:s><:#P36333158,P969933>    return (hotkey)
  922.  
  923. <:s><:#P36333158,P969933>endif
  924.  
  925. <:s><:#P36333158,P969933>hourglass(0)
  926.  
  927. <:s><:#P36333158,P969933>end function
  928.  
  929. <:s><:#P36333158,P969933>
  930.  
  931. <:s><:#P36333158,P1939866>function RemoveAmpersand(showntext)                  'Utility function to cleanup and parse help string
  932.  
  933. <:s><:#P36333158,P969933>hourglass(1)
  934.  
  935. <:s><:#P36333158,P969933>    badchars= "&"                    
  936.  
  937. <:s><:#P36333158,P969933>    char= badchars
  938.  
  939. <:s><:#P36333158,P969933>    if strchr(1, showntext, char) = -1
  940.  
  941. <:s><:#P36333158,P969933>        return showntext
  942.  
  943. <:s><:#P36333158,P969933>    else
  944.  
  945. <:s><:#P36333158,P969933>        dim part(10)
  946.  
  947. <:s><:#P36333158,P969933>        if left$(showntext,1) = badchars
  948.  
  949. <:s><:#P36333158,P969933>            newtext = mid$(showntext,2,30)
  950.  
  951. <:s><:#P36333158,P969933>            return newtext
  952.  
  953. <:s><:#P36333158,P969933>        else
  954.  
  955. <:s><:#P36333158,P969933>            x = 1
  956.  
  957. <:s><:#P36333158,P969933>            part(x) =strfield$(showntext, x, char)
  958.  
  959. <:s><:#P36333158,P969933>            if part(x) = -1 or part(x) = ""
  960.  
  961. <:s><:#P36333158,P969933>                return showntext
  962.  
  963. <:s><:#P36333158,P969933>            endif
  964.  
  965. <:s><:#P36333158,P969933>            newtext=strcat$(newtext, part(x))
  966.  
  967. <:s><:#P36333158,P969933>            return showntext
  968.  
  969. <:s><:#P36333158,P969933>        endif
  970.  
  971. <:s><:#P36333158,P969933>    endif
  972.  
  973. <:s><:#P36333158,P969933>hourglass(0)
  974.  
  975. <:s><:#P36333158,P969933>end function
  976.  
  977. <:s><:#P36333158,P969933>
  978.  
  979. <:s><:#P36333158,P969933>
  980.  
  981. <:s><:#P36333158,P969933>function mainmenu()
  982.  
  983. <:s><:#P36333158,P969933>hourglass(1)
  984.  
  985. <:s><:#P36333158,P969933>    if  GetGlobalVar$("SKON") <<<;> 1        ' if off then turn on before show main menu
  986.  
  987. <:s><:#P36333158,P969933>        g_hgloss = strcat$("hgloss", filename)
  988.  
  989. <:s><:#P36333158,P969933>        allocglobalvar(g_hgloss, 1)
  990.  
  991. <:s><:#P36333158,P969933>        if getglobalvar$(g_hgloss) = ""
  992.  
  993. <:s><:#P36333158,P969933>        hgloss = glossaryopen(strcat$(getamidirectory$(), filename))
  994.  
  995. <:s><:#P36333158,P969933>        setglobalvar(g_hgloss, hgloss)
  996.  
  997. <:s><:#P36333158,P969933>    endif
  998.  
  999. <:s><:#P36333158,P969933>
  1000.  
  1001. <:s><:#P36333158,P969933>        skmain()                'this will set global on    
  1002.  
  1003. <:s><:#P36333158,P969933>        ReadTopLevel("MM")        'display main menu
  1004.  
  1005. <:s><:#P36333158,P969933>    else
  1006.  
  1007. <:s><:#P36333158,P969933>        ReadTopLevel("MM")        'sk is on already just show main menu 
  1008.  
  1009. <:s><:#P36333158,P969933>    endif
  1010.  
  1011. <:s><:#P36333158,P969933>hourglass(0)
  1012.  
  1013. <:s><:#P36333158,P969933>end function
  1014.  
  1015. <:s><:#P36333158,P969933>
  1016.  
  1017. <:s><:#P36333158,P969933>
  1018.  
  1019. <:s><:#P36333158,P969933>
  1020.  
  1021. <:s><:#P36333158,P1939866>function ReadTopLevel(key)                    'Given key reads ini file to find items for 1st level
  1022.  
  1023. <:s><:#P36333158,P969933>hourglass(1)
  1024.  
  1025. <:s><:#P36333158,P969933>macfile = GetRunningMacroFile$()
  1026.  
  1027. <:s><:#P36333158,P969933>SetDlgCallBack(0,"{macfile}!Initialize")
  1028.  
  1029. <:s><:#P36333158,P969933>SetDlgCallBack(9000, "{MacFile}!L9000")
  1030.  
  1031. <:s><:#P36333158,P969933>SetDlgCallBack(25,"{macfile}!EnterKeyProc")
  1032.  
  1033. <:s><:#P36333158,P969933>SetDlgCallBack(9003, "{macfile}!L9003")
  1034.  
  1035. <:s><:#P36333158,P969933>
  1036.  
  1037. <:s><:#P36333158,P969933>
  1038.  
  1039. <:s><:#P36333158,P969933>
  1040.  
  1041. <:s><:#P36333158,P969933>AllocGlobalVar("gkey", 1)
  1042.  
  1043. <:s><:#P36333158,P969933>SetGlobalVar("gkey",key)
  1044.  
  1045. <:s><:#P36333158,P969933>SetGlobalVar("levelflag",1)                'will need this for F4 - ctrl s -F4 combinations 
  1046.  
  1047. <:s><:#P36333158,P969933>strdata = Getprofile("OnKeys",key)
  1048.  
  1049. <:s><:#P36333158,P969933>defstr stat;
  1050.  
  1051. <:s><:#P36333158,P969933>ct = 2                                    'skip the first it is the title name
  1052.  
  1053. <:s><:#P36333158,P969933>dim strtok(20)
  1054.  
  1055. <:s><:#P36333158,P969933>dim dlgkeys(20)
  1056.  
  1057. <:s><:#P36333158,P969933>while -1 != Assign(&stat, StrField$(strdata,ct,"~"))        'each token from keys key of onkeys section 
  1058.  
  1059. <:s><:#P36333158,P969933>    hotkey = GetHotKey(stat)                    'get the hot key
  1060.  
  1061. <:s><:#P36333158,P969933>    SetGlobalArray("AccKeys", ct - 1,hotkey)            'store accellerators in global array
  1062.  
  1063. <:s><:#P36333158,P969933>    FillEdit(9003, ct - 1)
  1064.  
  1065. <:s><:#P36333158,P969933>    ct = ct + 1
  1066.  
  1067. <:s><:#P36333158,P969933>    FillEdit(9000,stat)
  1068.  
  1069. <:s><:#P36333158,P969933>wend
  1070.  
  1071. <:s><:#P36333158,P969933>title = gettitle()
  1072.  
  1073. <:s><:#P36333158,P969933>title = strcat$(GetGlobalVar$("gkey"),":  ",title)
  1074.  
  1075. <:s><:#P36333158,P969933>FillEdit(1000,title)
  1076.  
  1077. <:s><:#P36333158,P969933><:R1,11,1,720,1,3420,1,4320,1,5040,1,5760,1,6480,1,7200,1,7920,1,8640,1,9360,1,10080,>box = dialogbox(".", "SK")
  1078.  
  1079. <:s><:#P36333158,P969933>if box <<<;> 1
  1080.  
  1081. <:s><:#P36333158,P969933>endif
  1082.  
  1083. <:s><:#P36333158,P969933>macfile = GetRunningMacroFile$()
  1084.  
  1085. <:s><:#P36333158,P969933>SetDlgCallBack(9000, "{MacFile}!L9000")
  1086.  
  1087. <:s><:#P36333158,P969933>SetDlgCallBack(25,"{macfile}!EnterKeyProc")
  1088.  
  1089. <:s><:#P36333158,P969933>hourglass(0)
  1090.  
  1091. <:s><:#P36333158,P969933>end function
  1092.  
  1093. <:s><:#P36333158,P969933>
  1094.  
  1095. <:s><:#P36333158,P969933>function GetTitle()                        'Returns onkey keys
  1096.  
  1097. <:s><:#P36333158,P969933>hourglass(1)
  1098.  
  1099. <:s><:#P36333158,P969933>key= GetGlobalVar$("gkey")
  1100.  
  1101. <:s><:#P36333158,P969933>strdata = Getprofile("OnKeys",key)
  1102.  
  1103. <:s><:#P36333158,P969933>section = StrField$(strdata,1,"~")
  1104.  
  1105. <:s><:#P36333158,P969933>hourglass(0)
  1106.  
  1107. <:s><:#P36333158,P969933>return section
  1108.  
  1109. <:s><:#P36333158,P969933>end function
  1110.  
  1111. <:s><:#P36333158,P969933>
  1112.  
  1113. <:s><:#P36333158,P969933>                                    'Edit this function at your own risk
  1114.  
  1115. @Function@<:s><:#P36333158,P969933>function WriteToBox(hDlg,key2,section)
  1116.  
  1117. <:s><:#P36333158,P969933>hourglass(1)
  1118.  
  1119. <:s><:#P36333158,P969933>'handle = GetDlgItem(hdlg, 9004)
  1120.  
  1121. <:s><:#P36333158,P969933>'handle2  = GetDlgItem(hdlg, 9000)
  1122.  
  1123. <:s><:#P36333158,P969933>'handle3 = GetDlgItem(hdlg, 9003)
  1124.  
  1125. <:s><:#P36333158,P969933>'SetDlgItemText(hDlg,1001, "")                    'Clear main box
  1126.  
  1127. <:s><:#P36333158,P969933>'SendMessage(handle, LB_ResetContent, 0, 0)            'this no works
  1128.  
  1129. <:s><:#P36333158,P969933><+!>DlgClearControl(hdlg, 9004)
  1130.  
  1131. <:s><:#P36333158,P969933><-!>defstr stat;
  1132.  
  1133. <:s><:#P36333158,P969933> key2 = chr$(key2)
  1134.  
  1135. <:s><:#P36333158,P969933>dim data(45)                            'maximum number of help items in list box
  1136.  
  1137. <:s><:#P36333158,P969933>ct = 1
  1138.  
  1139. <:s><:#P36333158,P969933>LoadText(section,&data)                        'get the stuff        
  1140.  
  1141. <:s><:#P36333158,P969933>asize = ArraySize(&data)
  1142.  
  1143. <:s><:#P36333158,P969933>if (Getprofile(section,"level") = 0)        'SUBLEVEL
  1144.  
  1145. <:s><:#P36333158,P969933>    'SendMessage(handle2, LB_ResetContent, 0, 0)        'clear right  box
  1146.  
  1147. <:s><:#P36333158,P969933>    'SendMessage(handle3, LB_ResetContent, 0, 0)        'clear left box
  1148.  
  1149. <:s><:#P36333158,P969933>    <+!>DlgClearControl(hdlg, 9000)
  1150.  
  1151. <:s><:#P36333158,P969933>    <-!>DlgClearControl(hdlg, 9003)
  1152.  
  1153. <:s><:#P36333158,P969933>    for i = 1 to asize                        'replace with a do while
  1154.  
  1155. <:s><:#P36333158,P969933>        if data(i) <<<;> ""                        
  1156.  
  1157. <:s><:#P36333158,P969933>            SetDlgItemText(hDlg,9000, data(i))        'Put ith ini line in  right box
  1158.  
  1159. <:s><:#P36333158,P969933>            SetDlgItemText(hDlg,9003, ct)        'fill left box with numbers
  1160.  
  1161. <:s><:#P36333158,P969933>            dlgnum = 48 + ct                'load corresponding dlgkey
  1162.  
  1163. <:s><:#P36333158,P969933>            'LoadDlgKeyInterupts(dlgnum)
  1164.  
  1165. <:s><:#P36333158,P969933>            ct = ct + 1
  1166.  
  1167. <:s><:#P36333158,P969933>        else
  1168.  
  1169. <:s><:#P36333158,P969933>            i = asize                     'Quit
  1170.  
  1171. <:s><:#P36333158,P969933>        endif
  1172.  
  1173. <:s><:#P36333158,P969933>    next
  1174.  
  1175. <:s><:#P36333158,P969933>    return 1                            'flag that says there is still more stuff to do
  1176.  
  1177. <:s><:#P36333158,P969933>else    
  1178.  
  1179. <:s><:#P36333158,P969933>    stuff = ""
  1180.  
  1181. <:s><:#P36333158,P969933>    LoadKS(hdlg,section)
  1182.  
  1183. <:s><:#P36333158,P969933>    for i = 1 to asize                            'this is not  a sublevel
  1184.  
  1185. <:s><:#P36333158,P969933>        if data(i) <<<;> ""
  1186.  
  1187. <:s><:#P36333158,P969933>            'stuff = strcat$(stuff,data(i),Chr$(10),Chr$(13))           'Add CR LF to each string
  1188.  
  1189. <:s><:#P36333158,P969933>            'SetDlgItemText(hDlg,1001, stuff)             'so that goes nicely in static text box
  1190.  
  1191. <:s><:#P36333158,P969933>            sectiontext = stripit(section)
  1192.  
  1193. <:s><:#P36333158,P969933>            SetDlgItemText(hDlg,1000, sectiontext)
  1194.  
  1195. <:s><:#P36333158,P969933>            SetDlgItemText(hDlg,9004, data(i))
  1196.  
  1197. <:s><:#P36333158,P969933>        else
  1198.  
  1199. <:s><:#P36333158,P969933>            i = asize                                  'Quit
  1200.  
  1201. <:s><:#P36333158,P969933>        endif
  1202.  
  1203. <:s><:#P36333158,P969933>    next
  1204.  
  1205. <:s><:#P36333158,P969933>    return 0                    'this is it. Last level. Make enterkeyproc shut box down
  1206.  
  1207. <:s><:#P36333158,P969933>endif
  1208.  
  1209. <:s><:#P36333158,P969933>hourglass(0)
  1210.  
  1211. <:s><:#P36333158,P969933>end function
  1212.  
  1213. <:s><:#P36333158,P969933>
  1214.  
  1215. <:s><:#P36333158,P969933>function LoadKS(hdlg,section)            'writes the keyboard shortcut to the dlg box
  1216.  
  1217. <:s><:#P36333158,P969933>hourglass(1)
  1218.  
  1219. <:s><:#P36333158,P969933>SetDlgItemText(Hdlg, 1008,"")
  1220.  
  1221. <:s><:#P36333158,P969933>ks = Getprofile(Section,"KS")
  1222.  
  1223. <:s><:#P36333158,P969933>if ks <<<;> ""
  1224.  
  1225. <:s><:#P36333158,P969933>    SetDlgItemText(Hdlg, 1008,ks)
  1226.  
  1227. <:s><:#P36333158,P1939866>    SetDlgItemText(Hdlg, 1001,"Keyboard Shortcut-")    'Static text that was deleted when no shortcuts    
  1228.  
  1229. <:s><:#P36333158,P969933>       else
  1230.  
  1231. <:s><:#P36333158,P969933>    SetDlgItemText(Hdlg, 1001,"")
  1232.  
  1233. <:s><:#P36333158,P969933>endif
  1234.  
  1235. <:s><:#P36333158,P969933>hourglass(0)
  1236.  
  1237. <:s><:#P36333158,P969933>end function
  1238.  
  1239. <:s><:#P36333158,P969933>
  1240.  
  1241. <:s><:#P36333158,P969933>function LoadText(section,data)
  1242.  
  1243. <:s><:#P36333158,P969933>hourglass(1)
  1244.  
  1245. <:s><:#P36333158,P969933>defstr stat;
  1246.  
  1247. <:s><:#P36333158,P969933>ct = 1
  1248.  
  1249. <:s><:#P36333158,P969933>while "" != Assign(&stat,Getprofile(section,ct));
  1250.  
  1251. <:s><:#P36333158,P969933>    *data(ct) = stat;
  1252.  
  1253. <:s><:#P36333158,P969933>    ct = ct + 1
  1254.  
  1255. <:s><:#P36333158,P969933>wend
  1256.  
  1257. <:s><:#P36333158,P969933>hourglass(0)
  1258.  
  1259. <:s><:#P36333158,P969933>end function
  1260.  
  1261. <:s><:#P36333158,P969933>
  1262.  
  1263. <:s><:#P36333158,P1939866>function StripIt(text)        'use to strip off tag before reserved wod names that dont pass as arguments
  1264.  
  1265. <:s><:#P36333158,P969933>hourglass(1)
  1266.  
  1267. <:s><:#P36333158,P969933>if Instr(0, text,"tag")
  1268.  
  1269. <:s><:#P36333158,P969933>    return mid$(text,4,len(text) - 2)    'assue tag which is 3
  1270.  
  1271. <:s><:#P36333158,P969933>else
  1272.  
  1273. <:s><:#P36333158,P969933>    return text    
  1274.  
  1275. <:s><:#P36333158,P969933>endif
  1276.  
  1277. <:s><:#P36333158,P969933>hourglass(0)
  1278.  
  1279. <:s><:#P36333158,P969933>end function
  1280.  
  1281. <:s><:#P36333158,P969933>
  1282.  
  1283. <:s><:#P36333158,P969933>function LoadDlgKeyInterupts(dlgnum)            'Key is the first level index
  1284.  
  1285. <:s><:#P36333158,P969933>hourglass(1)
  1286.  
  1287. <:s><:#P36333158,P969933>defstr stat;
  1288.  
  1289. <:s><:#P36333158,P969933>macfile = getrunningmacrofile$()
  1290.  
  1291. <:s><:#P36333158,P969933>'DlgKeyInterrupt(dlgnum, "{macfile}!dlgtst")
  1292.  
  1293. <:s><:#P36333158,P969933>DlgKeyInterrupt(dlgnum, "{macfile}!dlgkeyproc")
  1294.  
  1295. <:s><:#P36333158,P969933>hourglass(0)
  1296.  
  1297. <:s><:#P36333158,P969933>end function
  1298.  
  1299. <:s><:#P36333158,P969933>
  1300.  
  1301. @Function@<:s><:#P36333158,P969933>function  DlgTst(hDlg,key)
  1302.  
  1303. <:s><:#P36333158,P969933>hourglass(1)
  1304.  
  1305. <:s><:#P36333158,P969933>defstr selstring;
  1306.  
  1307. <:s><:#P36333158,P969933>key = key - 48                        'VK for 1 is 48: convert to equivelent index value
  1308.  
  1309. <:s><:#P36333158,P969933>'message(key)
  1310.  
  1311. <:s><:#P36333158,P969933>'handle1 = GetDlgItem(hDlg,9000)
  1312.  
  1313. <:s><:#P36333158,P969933>'handle2 = GetDlgItem(hDlg,9003)
  1314.  
  1315. <:s><:#P36333158,P969933>key = key - 1                                'index is 0 based
  1316.  
  1317. <:s><:#P36333158,P969933>'SendMessage(handle1,LB_SETCURSEL,key ,0)            'Select LB contents for right box
  1318.  
  1319. <:s><:#P36333158,P969933>'SendMessage(handle2,LB_SETCURSEL,key ,0)            'Match box to the left
  1320.  
  1321. <:s><:#P36333158,P969933><+!>DlgSetListBoxIndex(hdlg, 9000, key)
  1322.  
  1323. <:s><:#P36333158,P969933><+!>DlgSetListBoxIndex(hdlg, 9003, key)
  1324.  
  1325. <:s><:#P36333158,P969933><-!>hourglass(0)
  1326.  
  1327. <:s><:#P36333158,P969933>end function
  1328.  
  1329. <:s><:#P36333158,P969933>
  1330.  
  1331. @Function@<:s><:#P36333158,P969933>function DlgKeyProc(hDlg,key)
  1332.  
  1333. <:s><:#P36333158,P969933>hourglass(1)
  1334.  
  1335. <:s><:#P36333158,P969933>Dim point(2)
  1336.  
  1337. <:s><:#P36333158,P969933>defstr selstring; 
  1338.  
  1339. <:s><:#P36333158,P969933>key = chr$(key)
  1340.  
  1341. <:s><:#P36333158,P969933>'message(key)
  1342.  
  1343. <:s><:#P36333158,P969933>for x = 1 to 30
  1344.  
  1345. <:s><:#P36333158,P969933>    hit = GetGlobalArray$("AccKeys",x)
  1346.  
  1347. <:s><:#P36333158,P969933>    if ucase$(hit) = ucase$(key)
  1348.  
  1349. <:s><:#P36333158,P969933>        break                            'stop numbering you found the hit
  1350.  
  1351. <:s><:#P36333158,P969933>    endif
  1352.  
  1353. <:s><:#P36333158,P969933>next
  1354.  
  1355. <:s><:#P36333158,P969933>'handle1 = GetDlgItem(hDlg,9000)                        
  1356.  
  1357. <:s><:#P36333158,P969933>'SendMessage(handle1,LB_SETCURSEL, (x - 1),0)        'Select LB contents for right box
  1358.  
  1359. <:s><:#P36333158,P969933><+!>DlgSetListBoxIndex(hdlg, 9000, (x - 1))
  1360.  
  1361. <:s><:#P36333158,P969933><-!>hourglass(0)
  1362.  
  1363. <:s><:#P36333158,P969933>end function
  1364.  
  1365. <:s><:#P36333158,P969933>
  1366.  
  1367. @Function@<:s><:#P36333158,P1939866>function L9003(hDlg,id,val)                    'If clicked on selects matching index in 9000 box
  1368.  
  1369. <:s><:#P36333158,P969933>hourglass(1)
  1370.  
  1371. <:s><:#P36333158,P969933>defstr selstring;
  1372.  
  1373. <:s><:#P36333158,P969933>'handle1 = GetDlgItem(hDlg,9003)
  1374.  
  1375. <:s><:#P36333158,P969933>'handle2 = GetDlgItem(hDlg,9000)
  1376.  
  1377. <:s><:#P36333158,P969933>'indx=Sendmessage(handle1,LB_GetCurSel,0,0)
  1378.  
  1379. <:s><:#P36333158,P969933><+!>indx = DlgGetListBoxIndex(hdlg, 9003)
  1380.  
  1381. <:s><:#P36333158,P969933>
  1382.  
  1383. <:s><:#P36333158,P969933><-!>'SendMessage(handle2,LB_SETCURSEL,indx ,0)
  1384.  
  1385. <:s><:#P36333158,P969933><+!>DlgSetListBoxIndex(hdlg, 9000, indx)
  1386.  
  1387. <:s><:#P36333158,P969933><-!>hourglass(0)
  1388.  
  1389. <:s><:#P36333158,P969933>end function
  1390.  
  1391. <:s><:#P36333158,P969933>
  1392.  
  1393. @Function@<:s><:#P36333158,P969933>function L9000(hDlg,id,val)                    'Selects index then writes to box
  1394.  
  1395. <:s><:#P36333158,P969933>hourglass(1)
  1396.  
  1397. <:s><:#P36333158,P969933>ignorekeyboard(2)
  1398.  
  1399. <:s><:#P36333158,P969933>defstr selstring;
  1400.  
  1401. <:s><:#P36333158,P969933>defstr stat;
  1402.  
  1403. <:s><:#P36333158,P969933>'handle1 = GetDlgItem(hDlg,9000)
  1404.  
  1405. <:s><:#P36333158,P969933>'handle2 = GetDlgItem(hDlg,9003)
  1406.  
  1407. <:s><:#P36333158,P969933>'indx=Sendmessage(handle1,LB_GetCurSel,0,0)
  1408.  
  1409. <:s><:#P36333158,P969933><+!>indx = DlgGetListBoxIndex(hdlg, 9000)
  1410.  
  1411. <:s><:#P36333158,P969933>
  1412.  
  1413. <:s><:#P36333158,P969933><-!>'SendMessage(handle2,LB_SETCURSEL,indx ,0)
  1414.  
  1415. <:s><:#P36333158,P969933><+!>DlgSetListBoxIndex(hdlg, 9003, indx)
  1416.  
  1417. <:s><:#P36333158,P969933>
  1418.  
  1419. <:s><:#P36333158,P969933>
  1420.  
  1421. <:s><:#P36333158,P969933><-!>'SendMessage(handle1,LB_GetText,indx,&selstring)
  1422.  
  1423. <:s><:#P36333158,P969933><+!>selstring = DlgGetListBoxLine$(hdlg, 9000, indx)
  1424.  
  1425. <:s><:#P36333158,P969933>
  1426.  
  1427. <:s><:#P36333158,P969933><-!>selstring = strfield$(selstring,2,"-")
  1428.  
  1429. <:s><:#P36333158,P969933>'match=Sendmessage(handle,LB_FindString,0,val)
  1430.  
  1431. <:s><:#P36333158,P969933>
  1432.  
  1433. <:s><:#P36333158,P969933>
  1434.  
  1435. <:s><:#P36333158,P969933>level=WriteToBox(hDlg,id,selstring)
  1436.  
  1437. <:s><:#P36333158,P969933>if level = 0
  1438.  
  1439. <:s><:#P36333158,P969933>    SetGlobalVar("levelflag",0)
  1440.  
  1441. <:s><:#P36333158,P969933>endif
  1442.  
  1443. <:s><:#P36333158,P969933>ignorekeyboard(0)
  1444.  
  1445. <:s><:#P36333158,P969933>hourglass(0)
  1446.  
  1447. <:s><:#P36333158,P969933>end function
  1448.  
  1449. <:s><:#P36333158,P969933>
  1450.  
  1451. @Function@<:s><:#P36333158,P969933>function EnterKeyProc(hDlg,Id,val)
  1452.  
  1453. <:s><:#P36333158,P969933>hourglass(1)
  1454.  
  1455. <:s><:#P36333158,P969933>defstr selstring;
  1456.  
  1457. <:s><:#P36333158,P969933>defstr stat;
  1458.  
  1459. <:s><:#P36333158,P969933>if getglobalvar$("levelflag") = 0            'someone said to shut it down next time
  1460.  
  1461. <:s><:#P36333158,P969933>    sendkeys("<[>ESC]")                'shut down the box
  1462.  
  1463. <:s><:#P36333158,P969933>    SetGlobalVar("levelflag",1)        'prime it for next time. assume that will allways have 1 level
  1464.  
  1465. <:s><:#P36333158,P969933>    exit function
  1466.  
  1467. <:s><:#P36333158,P969933>endif    
  1468.  
  1469. <:s><:#P36333158,P969933>'handle1 = GetDlgItem(hDlg,9000)
  1470.  
  1471. <:s><:#P36333158,P969933>'indx=Sendmessage(handle1,LB_GetCurSel,0,0)        'To select the first help item
  1472.  
  1473. <:s><:#P36333158,P969933><+!>indx = DlgGetListBoxIndex(hdlg, 9000)
  1474.  
  1475. <:s><:#P36333158,P969933><-!>'level = 0        'what does this do?
  1476.  
  1477. <:s><:#P36333158,P969933>if indx <<<;> -1
  1478.  
  1479. <:s><:#P36333158,P969933>    'SendMessage(handle1,LB_GetText,indx,&selstring)
  1480.  
  1481. <:s><:#P36333158,P969933>    <+!>selstring = DlgGetListBoxLine$(hdlg, id, indx)
  1482.  
  1483. <:s><:#P36333158,P969933>    <-!>selstring = strfield$(selstring,2,"-")
  1484.  
  1485. <:s><:#P36333158,P969933>    level =WriteToBox(hDlg,id,selstring)
  1486.  
  1487. <:s><:#P36333158,P969933>endif
  1488.  
  1489. <:s><:#P36333158,P969933>if level = 0
  1490.  
  1491. <:s><:#P36333158,P969933>    SetGlobalVar("levelflag",0)
  1492.  
  1493. <:s><:#P36333158,P969933>endif
  1494.  
  1495. <:s><:#P36333158,P969933>hourglass(0)
  1496.  
  1497. <:s><:#P36333158,P969933>end function
  1498.  
  1499. <:s><:#P36333158,P969933>
  1500.  
  1501. @Function@<:s><:#P36333158,P969933>function DoNextLevel(section,newdata)
  1502.  
  1503. <:s><:#P36333158,P969933>hourglass(1)
  1504.  
  1505. <:s><:#P36333158,P969933>nextlevel = Getprofile(section,nextlevel)
  1506.  
  1507. <:s><:#P36333158,P969933>defstr stat;
  1508.  
  1509. <:s><:#P36333158,P969933>ct = 2                            
  1510.  
  1511. <:s><:#P36333158,P969933>dim strtok(10)
  1512.  
  1513. <:s><:#P36333158,P969933>dim dlgkeys(10)
  1514.  
  1515. <:s><:#P36333158,P969933>'while -1 != Assign(&stat, StrField$(section,ct,"~"))        'each token from keys key of onkeys section 
  1516.  
  1517. <:s><:#P36333158,P969933>    strtok(ct) = stat
  1518.  
  1519. <:s><:#P36333158,P969933>    'dlgkeys(ct - 1) = Left$(Lcase$(stat),1)             'load onkey keys. start at 1
  1520.  
  1521. <:s><:#P36333158,P969933>    dlgnum = 49 + (ct - 2)                    'do virtual keys
  1522.  
  1523. <:s><:#P36333158,P969933>    LoadDlgKeyInterupts(dlgnum)
  1524.  
  1525. <:s><:#P36333158,P969933>    ct = ct + 1
  1526.  
  1527. <:s><:#P36333158,P969933>            FillEdit(9003, (ct - 2))
  1528.  
  1529. <:s><:#P36333158,P969933>'wend
  1530.  
  1531. <:s><:#P36333158,P969933>FillBox(9000,&strtok)
  1532.  
  1533. <:s><:#P36333158,P969933>hourglass(0)
  1534.  
  1535. <:s><:#P36333158,P969933>end function
  1536.  
  1537. <:s><:#P36333158,P969933>
  1538.  
  1539. @Function@<:s><:#P36333158,P969933>function Off()                        'Disable SwitchKit
  1540.  
  1541. <:s><:#P36333158,P969933>hourglass(1)
  1542.  
  1543. <:s><:#P36333158,P969933>menu = getprofile("Menus", "Menu") ' &Help
  1544.  
  1545. <:s><:#P36333158,P969933>item = getprofile("Menus", "Menuitem") ' For &DisplayWrite Users"
  1546.  
  1547. <:s><:#P36333158,P969933>item1 = getprofile("Menus", "Item1") ' &On
  1548.  
  1549. <:s><:#P36333158,P969933>item2 = getprofile("Menus", "Item2") ' O&ff
  1550.  
  1551. <:s><:#P36333158,P969933>ignorekeyboard(1)
  1552.  
  1553. <:s><:#P36333158,P969933>defstr stat;
  1554.  
  1555. <:s><:#P36333158,P969933>SetGlobalVar("SKON",0)
  1556.  
  1557. <:s><:#P36333158,P969933>
  1558.  
  1559. <:s><:#P36333158,P969933>CheckMenuItem(1, Menu,Item, item1,0)
  1560.  
  1561. <:s><:#P36333158,P969933>CheckMenuItem(1, Menu,Item, item2,1)
  1562.  
  1563. <:s><:#P36333158,P969933>
  1564.  
  1565. <:s><:#P36333158,P969933>OnKey(<[>F2],0, "")
  1566.  
  1567. <:s><:#P36333158,P969933>OnKey(<[>F3],0, "")
  1568.  
  1569. <:s><:#P36333158,P969933>OnKey(<[>F4],0, "")
  1570.  
  1571. <:s><:#P36333158,P969933>OnKey(<[>F5],0, "")
  1572.  
  1573. <:s><:#P36333158,P969933>OnKey(<[>F6],0, "")
  1574.  
  1575. <:s><:#P36333158,P969933>OnKey(<[>F7],0, "")
  1576.  
  1577. <:s><:#P36333158,P969933>OnKey(<[>F8],0, "")
  1578.  
  1579. <:s><:#P36333158,P969933>OnKey(<[>F9],0, "")
  1580.  
  1581. <:s><:#P36333158,P969933>OnKey(<[>F10],0, "")
  1582.  
  1583. <:s><:#P36333158,P969933>       ct = 1                ' changed from ct + 2
  1584.  
  1585. <:s><:#P36333158,P969933>while "" != Assign(&stat,Getprofile("KeyboardShortcuts",ct))    
  1586.  
  1587. <:s><:#P36333158,P969933>    keysc = StrField$(stat,1,"~")
  1588.  
  1589. <:s><:#P36333158,P969933>    newkeysc =  GetOnkeyEquiv(keysc)
  1590.  
  1591. <:s><:#P36333158,P969933>    Onkey(newkeysc,0,"")
  1592.  
  1593. <:s><:#P36333158,P969933>    ct = ct + 1
  1594.  
  1595. <:s><:#P36333158,P969933>wend
  1596.  
  1597. <:s><:#P36333158,P969933>glossaryclose(getglobalvar$(strcat$("hgloss", filename)))
  1598.  
  1599. <:s><:#P36333158,P969933>freeglobalvar(strcat$("hgloss", filename))
  1600.  
  1601. <:s><:#P36333158,P969933>hourglass(0)
  1602.  
  1603. <:s><:#P36333158,P969933>ignorekeyboard(0)
  1604.  
  1605. <:s><:#P36333158,P969933>end function
  1606.  
  1607. <:s><:#P36333158,P969933>
  1608.  
  1609. <:s><:#P36333158,P969933>
  1610.  
  1611. @Function@<:s><:#P36333158,P969933>Function GetOnkeyEquiv(keysc)        'returns onkey equiv for shortcut key
  1612.  
  1613. <:s><:#P36333158,P969933>hourglass(1)
  1614.  
  1615. <:s><:#P36333158,P969933>upper = ucase$(keysc)
  1616.  
  1617. <:s><:#P36333158,P969933>switch upper
  1618.  
  1619. <:s><:#P36333158,P969933>case("ALT1")
  1620.  
  1621. <:s><:#P36333158,P969933>    return(<[>alt1])
  1622.  
  1623. <:s><:#P36333158,P969933>    break
  1624.  
  1625. <:s><:#P36333158,P969933>case("ALT2")
  1626.  
  1627. <:s><:#P36333158,P969933>    return(<[>alt2])
  1628.  
  1629. <:s><:#P36333158,P969933>    break
  1630.  
  1631. <:s><:#P36333158,P969933>case("ALT7")
  1632.  
  1633. <:s><:#P36333158,P969933>    return(<[>alt7])
  1634.  
  1635. <:s><:#P36333158,P969933>    break
  1636.  
  1637. <:s><:#P36333158,P969933>case("ALT8")
  1638.  
  1639. <:s><:#P36333158,P969933>    return(<[>alt8])
  1640.  
  1641. <:s><:#P36333158,P969933>    break
  1642.  
  1643. <:s><:#P36333158,P969933>case("CTRLA")
  1644.  
  1645. <:s><:#P36333158,P969933>    return(<[>ctrla])
  1646.  
  1647. <:s><:#P36333158,P969933>    break
  1648.  
  1649. <:s><:#P36333158,P969933>case("CTRLB")
  1650.  
  1651. <:s><:#P36333158,P969933>    return(<[>ctrlb])
  1652.  
  1653. <:s><:#P36333158,P969933>    break
  1654.  
  1655. <:s><:#P36333158,P969933>case("CTRLC")
  1656.  
  1657. <:s><:#P36333158,P969933>    return(<[>ctrlc])
  1658.  
  1659. <:s><:#P36333158,P969933>    break
  1660.  
  1661. <:s><:#P36333158,P969933>case("CTRLD")
  1662.  
  1663. <:s><:#P36333158,P969933>    return(<[>ctrld])
  1664.  
  1665. <:s><:#P36333158,P969933>    break
  1666.  
  1667. <:s><:#P36333158,P969933>case("CTRLE")
  1668.  
  1669. <:s><:#P36333158,P969933>    return(<[>ctrle])
  1670.  
  1671. <:s><:#P36333158,P969933>    break
  1672.  
  1673. <:s><:#P36333158,P969933>case("CTRLF")
  1674.  
  1675. <:s><:#P36333158,P969933>    return(<[>ctrlf])
  1676.  
  1677. <:s><:#P36333158,P969933>    break
  1678.  
  1679. <:s><:#P36333158,P969933>case("CTRLG")
  1680.  
  1681. <:s><:#P36333158,P969933>    return(<[>ctrlg])
  1682.  
  1683. <:s><:#P36333158,P969933>    break
  1684.  
  1685. <:s><:#P36333158,P969933>case("CTRLH")
  1686.  
  1687. <:s><:#P36333158,P969933>    return(<[>ctrlh])
  1688.  
  1689. <:s><:#P36333158,P969933>    break
  1690.  
  1691. <:s><:#P36333158,P969933>case("CTRLI")
  1692.  
  1693. <:s><:#P36333158,P969933>    return(<[>ctrli])
  1694.  
  1695. <:s><:#P36333158,P969933>    break
  1696.  
  1697. <:s><:#P36333158,P969933>case("CTRLJ")
  1698.  
  1699. <:s><:#P36333158,P969933>    return(<[>ctrlj])
  1700.  
  1701. <:s><:#P36333158,P969933>    break
  1702.  
  1703. <:s><:#P36333158,P969933>case("CTRLK")
  1704.  
  1705. <:s><:#P36333158,P969933>    return(<[>ctrlk])
  1706.  
  1707. <:s><:#P36333158,P969933>    break
  1708.  
  1709. <:s><:#P36333158,P969933>case("CTRLL")
  1710.  
  1711. <:s><:#P36333158,P969933>    return(<[>ctrll])
  1712.  
  1713. <:s><:#P36333158,P969933>    break
  1714.  
  1715. <:s><:#P36333158,P969933>case("CTRLM")
  1716.  
  1717. <:s><:#P36333158,P969933>    return(<[>ctrlm])
  1718.  
  1719. <:s><:#P36333158,P969933>    break
  1720.  
  1721. <:s><:#P36333158,P969933>case("CTRLN")
  1722.  
  1723. <:s><:#P36333158,P969933>    return(<[>ctrln])
  1724.  
  1725. <:s><:#P36333158,P969933>    break
  1726.  
  1727. <:s><:#P36333158,P969933>case("CTRLO")
  1728.  
  1729. <:s><:#P36333158,P969933>    return(<[>ctrlo])
  1730.  
  1731. <:s><:#P36333158,P969933>    break
  1732.  
  1733. <:s><:#P36333158,P969933>case("CTRLP")
  1734.  
  1735. <:s><:#P36333158,P969933>    return(<[>ctrlp])
  1736.  
  1737. <:s><:#P36333158,P969933>    break
  1738.  
  1739. <:s><:#P36333158,P969933>case("CTRLQ")
  1740.  
  1741. <:s><:#P36333158,P969933>    return(<[>ctrlq])
  1742.  
  1743. <:s><:#P36333158,P969933>    break
  1744.  
  1745. <:s><:#P36333158,P969933>case("CTRLR")
  1746.  
  1747. <:s><:#P36333158,P969933>    return(<[>ctrlr])
  1748.  
  1749. <:s><:#P36333158,P969933>    break
  1750.  
  1751. <:s><:#P36333158,P969933>case("CTRLS")
  1752.  
  1753. <:s><:#P36333158,P969933>    return(<[>ctrls])
  1754.  
  1755. <:s><:#P36333158,P969933>    break
  1756.  
  1757. <:s><:#P36333158,P969933>case("CTRLT")
  1758.  
  1759. <:s><:#P36333158,P969933>    return(<[>ctrlt])
  1760.  
  1761. <:s><:#P36333158,P969933>    break
  1762.  
  1763. <:s><:#P36333158,P969933>case("CTRLU")
  1764.  
  1765. <:s><:#P36333158,P969933>    return(<[>ctrlu])
  1766.  
  1767. <:s><:#P36333158,P969933>    break
  1768.  
  1769. <:s><:#P36333158,P969933>case("CTRLV")
  1770.  
  1771. <:s><:#P36333158,P969933>    return(<[>ctrlv])
  1772.  
  1773. <:s><:#P36333158,P969933>    break
  1774.  
  1775. <:s><:#P36333158,P969933>case("CTRLW")
  1776.  
  1777. <:s><:#P36333158,P969933>    return(<[>ctrlw])
  1778.  
  1779. <:s><:#P36333158,P969933>    break
  1780.  
  1781. <:s><:#P36333158,P969933>case("CTRLX")
  1782.  
  1783. <:s><:#P36333158,P969933>    return(<[>ctrlx])
  1784.  
  1785. <:s><:#P36333158,P969933>    break
  1786.  
  1787. <:s><:#P36333158,P969933>case("CTRLY")
  1788.  
  1789. <:s><:#P36333158,P969933>    return(<[>ctrly])
  1790.  
  1791. <:s><:#P36333158,P969933>    break
  1792.  
  1793. <:s><:#P36333158,P969933>case("CTRLF1")
  1794.  
  1795. <:s><:#P36333158,P969933>    return(<[>ctrlf1])
  1796.  
  1797. <:s><:#P36333158,P969933>    break
  1798.  
  1799. <:s><:#P36333158,P969933>case("CTRLF2")
  1800.  
  1801. <:s><:#P36333158,P969933>    return(<[>ctrlf2])
  1802.  
  1803. <:s><:#P36333158,P969933>    break
  1804.  
  1805. <:s><:#P36333158,P969933>case("CTRLF4")
  1806.  
  1807. <:s><:#P36333158,P969933>    return(<[>ctrlf4])
  1808.  
  1809. <:s><:#P36333158,P969933>    break
  1810.  
  1811. <:s><:#P36333158,P969933>case("CTRLF5")
  1812.  
  1813. <:s><:#P36333158,P969933>    return(<[>ctrlf5])
  1814.  
  1815. <:s><:#P36333158,P969933>    break
  1816.  
  1817. <:s><:#P36333158,P969933>case("CTRLF6")
  1818.  
  1819. <:s><:#P36333158,P969933>    return(<[>ctrlf6])
  1820.  
  1821. <:s><:#P36333158,P969933>    break
  1822.  
  1823. <:s><:#P36333158,P969933>case("CTRLF7")
  1824.  
  1825. <:s><:#P36333158,P969933>    return(<[>ctrlf7])
  1826.  
  1827. <:s><:#P36333158,P969933>    break
  1828.  
  1829. <:s><:#P36333158,P969933>case("CTRLF8")
  1830.  
  1831. <:s><:#P36333158,P969933>    return(<[>ctrlf8])
  1832.  
  1833. <:s><:#P36333158,P969933>    break
  1834.  
  1835. <:s><:#P36333158,P969933>case("F3")
  1836.  
  1837. <:s><:#P36333158,P969933>    return(<[>f3])
  1838.  
  1839. <:s><:#P36333158,P969933>    break
  1840.  
  1841. <:s><:#P36333158,P969933>case("F9")
  1842.  
  1843. <:s><:#P36333158,P969933>    return(<[>f9])
  1844.  
  1845. <:s><:#P36333158,P969933>    break
  1846.  
  1847. <:s><:#P36333158,P969933>case("F10")
  1848.  
  1849. <:s><:#P36333158,P969933>    return(<[>f10])
  1850.  
  1851. <:s><:#P36333158,P969933>    break
  1852.  
  1853. <:s><:#P36333158,P969933>case("F11")
  1854.  
  1855. <:s><:#P36333158,P969933>    return(<[>f11])
  1856.  
  1857. <:s><:#P36333158,P969933>    break
  1858.  
  1859. <:s><:#P36333158,P969933>case("F12")    
  1860.  
  1861. <:s><:#P36333158,P969933>    return(<[>f12])
  1862.  
  1863. <:s><:#P36333158,P969933>    break
  1864.  
  1865. <:s><:#P36333158,P969933>case("CTRLF9")
  1866.  
  1867. <:s><:#P36333158,P969933>    return(<[>ctrlf9])
  1868.  
  1869. <:s><:#P36333158,P969933>    break
  1870.  
  1871. <:s><:#P36333158,P969933>
  1872.  
  1873. <:s><:#P36333158,P969933>endswitch
  1874.  
  1875. <:s><:#P36333158,P969933>hourglass(0)
  1876.  
  1877. <:s><:#P36333158,P969933>end function
  1878.  
  1879. <:s><:#P36333158,P969933>
  1880.  
  1881. <:s><:#P36333158,P969933>
  1882.  
  1883. @Function@<:s><:#P36333158,P969933>function aboutsk()
  1884.  
  1885. <:s><:#P36333158,P969933>box = dialogbox(".","about")
  1886.  
  1887. <:s><:#P36333158,P969933>end function
  1888.  
  1889. <:s><:#P36333158,P969933>
  1890.  
  1891. <:s><:#P36333158,P969933>DIALOG    SK
  1892.  
  1893. <:s><:#P36333158,P969933>-2134376448    10    24    38    300    123    ""    ""    "DisplayWrite SwitchKit"
  1894.  
  1895. <:s><:#P36333158,P969933>FONT    8    "Helv"
  1896.  
  1897. <:s><:#P36333158,P969933>26    22    99    79    9000    1352728577    "listbox"    ""    0 
  1898.  
  1899. <:s><:#P36333158,P969933>217    200    33    13    25    1342308353    "button"    "Default"    0 
  1900.  
  1901. <:s><:#P36333158,P969933>7    22    16    79    9003    1352663041    "listbox"    ""    0 
  1902.  
  1903. <:s><:#P36333158,P969933>195    104    17    12    1006    1342177290    "static"    "filename.bmp"    0 
  1904.  
  1905. <:s><:#P36333158,P969933>7    11    40    8    1004    1342177280    "static"    "Options:"    0 
  1906.  
  1907. <:s><:#P36333158,P969933>127    11    45    8    1005    1342177280    "static"    "Ami Pro Help:"    0 
  1908.  
  1909. <:s><:#P36333158,P969933>132    22    166    79    9004    1352728577    "listbox"    ""    0 
  1910.  
  1911. <:s><:#P36333158,P969933>6    107    64    8    1001    1342177280    "static"    "Keyboard Shortcut-"    0 
  1912.  
  1913. <:s><:#P36333158,P969933>72    107    38    10    1008    1342177280    "static"    ""    0 
  1914.  
  1915. <:s><:#P36333158,P969933>260    5    34    13    1    1342373888    "button"    "Done"    0 
  1916.  
  1917. <:s><:#P36333158,P969933>END DIALOG
  1918.  
  1919. <:s><:#P36333158,P969933>
  1920.  
  1921. <:s><:#P36333158,P969933>7    2    29    8    1003    1342177280    "static"    "Feature:"    0 
  1922.  
  1923. <:s><:#P36333158,P969933>127    107    66    9    1007    1342177280    "static"    "Ami Pro SmartIcon-"    0 
  1924.  
  1925. <:s><:#P36333158,P969933>38    2    65    8    1000    1342177280    "static"    ""    0 
  1926.  
  1927. <:s><:#P36333158,P969933>
  1928.  
  1929. <:s><:#P36333158,P969933>
  1930.  
  1931. <:s><:#P36333158,P969933>DIALOG    about
  1932.  
  1933. <:s><:#P36333158,P969933>-2134376448    7    84    26    134    90    ""    ""    "Ami Pro"
  1934.  
  1935. <:s><:#P36333158,P969933>FONT    8    "Helv"
  1936.  
  1937. <:s><:#P36333158,P969933>5    6    122    10    1000    1342177281    "static"    "Ami Pro SwitchKit"    0 
  1938.  
  1939. <:s><:#P36333158,P1939866>5    16    122    10    1001    1342177281    "static"    "for DisplayWrite Users 1993"    0 
  1940.  
  1941. <:s><:#P36333158,P1939866>5    26    122    10    1002    1342177281    "static"    "Lotus Development Corporation"    0 
  1942.  
  1943. <:s><:#P36333158,P969933>5    36    122    10    1003    1342177281    "static"    "DisplayWrite 1986 by"    0 
  1944.  
  1945. <:s><:#P36333158,P969933>5    46    122    10    1004    1342177281    "static"    "IBM Corporation"    0 
  1946.  
  1947. <:s><:#P36333158,P969933>5    56    122    10    1007    1342177281    "static"    "All rights Reserved."    0 
  1948.  
  1949. <:s><:#P36333158,P969933>47    70    40    14    1    1342373889    "button"    "OK"    0 
  1950.  
  1951. <:s><:#P36333158,P969933>END DIALOG
  1952.  
  1953. <:s><:#P36333158,P969933>
  1954.  
  1955. <:s><:#P36333158,P969933>
  1956. >
  1957.  
  1958. [Embedded]
  1959. 00043778
  1960. >
  1961. [macsum4] 33 313
  1962. LoadMenu 0 0 10 30
  1963. getprofile 1113 2 3 60
  1964. LoadOnKeys 1523 0 2 72
  1965. skmain 2264 0 6 89
  1966. Initialize 3081 3 1 119
  1967. LoadOnKeyKS 3264 0 8 129
  1968. packstr 3819 1 6 147
  1969. unpackstr 4346 1 6 169
  1970. test 4877 1 4 190
  1971. test2 5398 3 3 212
  1972. FillBox 5678 2 1 223
  1973. GetHotKeyOld 5764 1 3 227
  1974. GetHotKey 6059 1 2 239
  1975. RemoveAmpersand 6353 1 6 252
  1976. mainmenu 6990 0 3 277
  1977. ReadTopLevel 7438 1 10 297
  1978. GetTitle 8512 0 4 334
  1979. WriteToBox 8751 3 9 344
  1980. LoadKS 9914 2 2 394
  1981. LoadText 10237 2 3 407
  1982. StripIt 10521 1 1 418
  1983. LoadDlgKeyInterupts 10742 1 3 428
  1984. DlgTst 10941 2 2 437
  1985. DlgKeyProc 11171 2 5 452
  1986. L9003 11636 3 3 470
  1987. L9000 11832 3 5 483
  1988. EnterKeyProc 12273 3 5 512
  1989. DoNextLevel 12819 2 7 537
  1990. Off 13303 0 9 556
  1991. GetOnkeyEquiv 14496 1 2 592
  1992. aboutsk 18446 0 2 728
  1993. SK 18533 0 65535 732
  1994. about 19125 0 65535 752
  1995. [macse]
  1996. 14 LoadMenu
  1997. 29 0 LoadMenu
  1998. 17 1
  1999. 0 296 1
  2000. 17 2
  2001. 29 1 g_hgloss
  2002. 0 16 "hgloss" "amiskdw4.sam"
  2003. 13
  2004. 8 1
  2005. 17 3
  2006. 0 271 "{1}" 1
  2007. 17 4
  2008. 0 265 "{1}"
  2009. 13
  2010. 7 ""
  2011. 18 0
  2012. 11 00000276
  2013. 17 5
  2014. 29 2 hgloss
  2015. 0 798
  2016. 13
  2017. 0 16 [X] "amiskdw4.sam"
  2018. 13
  2019. 0 302 [X]
  2020. 13
  2021. 8 2
  2022. 17 6
  2023. 0 264 "{1}" "{2}"
  2024. 17 8
  2025. 29 3 menu
  2026. 16 getprofile "Menus" "Menu"
  2027. 13
  2028. 8 3
  2029. 17 9
  2030. 29 4 item
  2031. 16 getprofile "Menus" "Menuitem"
  2032. 13
  2033. 8 4
  2034. 17 10
  2035. 29 5 item1
  2036. 16 getprofile "Menus" "Item1"
  2037. 13
  2038. 8 5
  2039. 17 11
  2040. 29 6 item2
  2041. 16 getprofile "Menus" "Item2"
  2042. 13
  2043. 8 6
  2044. 17 12
  2045. 29 7 item3
  2046. 16 getprofile "Menus" "Item3"
  2047. 13
  2048. 8 7
  2049. 17 13
  2050. 29 8 item4
  2051. 16 getprofile "Menus" "Item4"
  2052. 13
  2053. 8 8
  2054. 17 15
  2055. 0 271 "SKON" 1
  2056. 17 16
  2057. 29 9 macfile
  2058. 0 802
  2059. 13
  2060. 8 9
  2061. 17 17
  2062. 0 520 1 "{3}" "{4}"
  2063. 17 18
  2064. 0 528 1 "{3}" 7 "{4}"
  2065. 17 20
  2066. 0 525 1 "{3}" "{4}" "{5}" "{9}!SKMain()" ""
  2067. 17 21
  2068. 0 525 1 "{3}" "{4}" "{6}" "{9}!Off()" ""
  2069. 17 22
  2070. 0 525 1 "{3}" "{4}" "-" "" ""
  2071. 17 23
  2072. 0 525 1 "{3}" "{4}" "{8}" "{9}!MainMenu" ""
  2073. 17 24
  2074. 0 525 1 "{3}" "{4}" "-" "" ""
  2075. 17 25
  2076. 0 525 1 "{3}" "{4}" "&About SwitchKit..." "{9}!aboutsk" ""
  2077. 17 26
  2078. 0 518 1 "{3}" "{4}" "{6}" 1
  2079. 17 27
  2080. 0 296 0
  2081. 6 0
  2082. 15
  2083. 17 28
  2084. 9
  2085. 14 getprofile
  2086. 29 0 section
  2087. 29 1 key
  2088. 29 2 getprofile
  2089. 17 1
  2090. 29 3 data
  2091. 0 16 "hgloss" "amiskdw4.sam"
  2092. 13
  2093. 0 265 [X]
  2094. 13
  2095. 0 16 "{0}" "{1}"
  2096. 13
  2097. 0 303 [X] [X]
  2098. 13
  2099. 8 3
  2100. 17 2
  2101. 29 4 q
  2102. 0 806 """" 1
  2103. 13
  2104. 8 4
  2105. 17 3
  2106. 0 806 "{3}" 1
  2107. 13
  2108. 6 4
  2109. 18 0
  2110. 11 00000289
  2111. 17 4
  2112. 0 20 "{3}" 2 "{4}"
  2113. 13
  2114. 8 3
  2115. 17 6
  2116. 0 807 "{3}" 1
  2117. 13
  2118. 6 4
  2119. 18 0
  2120. 11 00000373
  2121. 17 7
  2122. 0 20 "{3}" 1 "{4}"
  2123. 13
  2124. 8 3
  2125. 17 9
  2126. 6 3
  2127. 15
  2128. 9
  2129. 6 2
  2130. 15
  2131. 17 10
  2132. 9
  2133. 14 LoadOnKeys
  2134. 29 0 LoadOnKeys
  2135. 17 1
  2136. 0 296 1
  2137. 17 2
  2138. 29 1 macfile
  2139. 0 802
  2140. 13
  2141. 8 1
  2142. 17 3
  2143. 32 2 101 32854 7  "{1}!ReadTopLevel(F2)" 113 0 1
  2144. 17 4
  2145. 32 2 101 32854 7  "{1}!ReadTopLevel(F3)" 114 0 1
  2146. 17 5
  2147. 32 2 101 32854 7  "{1}!ReadTopLevel(F4)" 115 0 1
  2148. 17 6
  2149. 32 2 101 32854 7  "{1}!ReadTopLevel(F5)" 116 0 1
  2150. 17 7
  2151. 32 2 101 32854 7  "{1}!ReadTopLevel(F6)" 117 0 1
  2152. 17 8
  2153. 32 2 101 32854 7  "{1}!ReadTopLevel(F7)" 118 0 1
  2154. 17 9
  2155. 32 2 101 32854 7  "{1}!ReadTopLevel(F8)" 119 0 1
  2156. 17 10
  2157. 32 2 101 32854 7  "{1}!ReadTopLevel(F9)" 120 0 1
  2158. 17 11
  2159. 32 2 101 32854 7  "{1}!ReadTopLevel(F10)" 121 0 1
  2160. 17 12
  2161. 32 2 101 32854 7  "{1}!ReadTopLevel(F11)" 122 0 1
  2162. 17 13
  2163. 32 2 101 32854 7  "{1}!ReadTopLevel(F12)" 123 0 1
  2164. 17 14
  2165. 0 296 0
  2166. 6 0
  2167. 15
  2168. 17 15
  2169. 9
  2170. 14 skmain
  2171. 29 0 skmain
  2172. 17 1
  2173. 0 296 1
  2174. 17 2
  2175. 0 1050
  2176. 13
  2177. 5 1
  2178. 18 5
  2179. 11 00000140
  2180. 17 3
  2181. 16 getprofile "Msg" "msg1"
  2182. 13
  2183. 0 3 [X]
  2184. 6 0
  2185. 15
  2186. 9
  2187. 17 7
  2188. 0 264 "SKON" 1
  2189. 17 9
  2190. 29 1 menu
  2191. 16 getprofile "Menus" "Menu"
  2192. 13
  2193. 8 1
  2194. 17 10
  2195. 29 2 item
  2196. 16 getprofile "Menus" "Menuitem"
  2197. 13
  2198. 8 2
  2199. 17 11
  2200. 29 3 item1
  2201. 16 getprofile "Menus" "Item1"
  2202. 13
  2203. 8 3
  2204. 17 12
  2205. 29 4 item2
  2206. 16 getprofile "Menus" "Item2"
  2207. 13
  2208. 8 4
  2209. 17 14
  2210. 0 518 1 "{1}" "{2}" "{3}" 1
  2211. 17 15
  2212. 0 518 1 "{1}" "{2}" "{4}" 0
  2213. 17 16
  2214. 0 271 "AccKeys" 30
  2215. 17 17
  2216. 0 271 "levelflag" 1
  2217. 17 18
  2218. 0 264 "levelflag" 1
  2219. 17 19
  2220. 29 5 macfile
  2221. 0 802
  2222. 13
  2223. 8 5
  2224. 17 20
  2225. 0 41 0 "{5}!Initialize"
  2226. 17 21
  2227. 0 41 25 "{5}!EnterKeyProc"
  2228. 17 22
  2229. 0 41 9000 "{5}!L9000"
  2230. 17 23
  2231. 0 41 9003 "{5}!L9003"
  2232. 17 24
  2233. 16 LoadOnKeys
  2234. 17 25
  2235. 16 LoadOnKeyKS
  2236. 17 26
  2237. 0 266 "hDlg"
  2238. 17 27
  2239. 0 296 0
  2240. 6 0
  2241. 15
  2242. 17 28
  2243. 9
  2244. 14 Initialize
  2245. 29 0 hDlg
  2246. 29 1 id
  2247. 29 2 val
  2248. 29 3 Initialize
  2249. 17 1
  2250. 0 296 1
  2251. 17 2
  2252. 0 271 "hDlg" 1
  2253. 17 3
  2254. 0 264 "hDlg" "{0}"
  2255. 17 6
  2256. 0 53 "{0}" 9003 0
  2257. 17 7
  2258. 0 296 0
  2259. 6 3
  2260. 15
  2261. 17 8
  2262. 9
  2263. 14 LoadOnKeyKS
  2264. 29 0 LoadOnKeyKS
  2265. 17 1
  2266. 0 296 1
  2267. 17 2
  2268. 29 1 macfile
  2269. 0 802
  2270. 13
  2271. 8 1
  2272. 17 3
  2273. 29 2 stat
  2274. 17 4
  2275. 29 3 ct
  2276. 5 1
  2277. 8 3
  2278. 17 5
  2279. 0 32 1
  2280. 17 6
  2281. 7 ""
  2282. 16 Getprofile "KeyboardShortcuts" "{3}"
  2283. 13
  2284. 0 805 &2 [X]
  2285. 13
  2286. 18 1
  2287. 11 00000505
  2288. 17 7
  2289. 29 4 keysc
  2290. 0 20 "{2}" 1 "~"
  2291. 13
  2292. 8 4
  2293. 17 8
  2294. 29 5 section
  2295. 0 20 "{2}" 2 "~"
  2296. 13
  2297. 8 5
  2298. 17 9
  2299. 29 6 newkeysc
  2300. 16 GetOnkeyEquiv "{4}"
  2301. 13
  2302. 8 6
  2303. 17 10
  2304. 29 7 text
  2305. 6 5
  2306. 8 7
  2307. 17 11
  2308. 32 2 101 32854 7  "{1}!test(""{7}"")" "{6}" 0 1
  2309. 17 12
  2310. 6 3
  2311. 5 1
  2312. 3 0
  2313. 8 3
  2314. 10 00000141
  2315. 17 14
  2316. 0 32 0
  2317. 17 15
  2318. 0 296 0
  2319. 6 0
  2320. 15
  2321. 17 16
  2322. 9
  2323. 14 packstr
  2324. 29 0 str
  2325. 29 1 packstr
  2326. 17 1
  2327. 0 296 1
  2328. 17 2
  2329. 29 2 newstr
  2330. 7 ""
  2331. 8 2
  2332. 17 3
  2333. 29 3 l
  2334. 0 14 "{0}"
  2335. 13
  2336. 8 3
  2337. 17 4
  2338. 29 4 hit
  2339. 5 0
  2340. 8 4
  2341. 29 5 i
  2342. 5 1
  2343. 8 5
  2344. 17 5
  2345. 6 3
  2346. 6 5
  2347. 18 2
  2348. 12 00000241
  2349. 10 00000405
  2350. 5 1
  2351. 6 5
  2352. 3 0
  2353. 8 5
  2354. 10 00000160
  2355. 17 6
  2356. 29 6 char
  2357. 0 15 "{0}" "{5}" 1
  2358. 13
  2359. 8 6
  2360. 17 7
  2361. 6 6
  2362. 7 " "
  2363. 18 0
  2364. 11 00000358
  2365. 17 8
  2366. 7 "_"
  2367. 8 6
  2368. 17 9
  2369. 5 1
  2370. 8 4
  2371. 17 11
  2372. 0 16 "{2}" "{6}"
  2373. 13
  2374. 8 2
  2375. 10 00000208
  2376. 17 14
  2377. 6 4
  2378. 5 1
  2379. 18 0
  2380. 11 00000473
  2381. 17 15
  2382. 6 2
  2383. 15
  2384. 9
  2385. 10 00000492
  2386. 17 17
  2387. 6 0
  2388. 15
  2389. 9
  2390. 17 19
  2391. 0 296 0
  2392. 6 1
  2393. 15
  2394. 17 20
  2395. 9
  2396. 14 unpackstr
  2397. 29 0 str
  2398. 29 1 unpackstr
  2399. 17 1
  2400. 0 296 1
  2401. 17 2
  2402. 29 2 newstr
  2403. 7 ""
  2404. 8 2
  2405. 17 3
  2406. 29 3 l
  2407. 0 14 "{0}"
  2408. 13
  2409. 8 3
  2410. 17 4
  2411. 29 4 hit
  2412. 5 0
  2413. 8 4
  2414. 29 5 i
  2415. 5 1
  2416. 8 5
  2417. 17 5
  2418. 6 3
  2419. 6 5
  2420. 18 2
  2421. 12 00000245
  2422. 10 00000409
  2423. 5 1
  2424. 6 5
  2425. 3 0
  2426. 8 5
  2427. 10 00000164
  2428. 17 6
  2429. 29 6 char
  2430. 0 15 "{0}" "{5}" 1
  2431. 13
  2432. 8 6
  2433. 17 7
  2434. 6 6
  2435. 7 "_"
  2436. 18 0
  2437. 11 00000362
  2438. 17 8
  2439. 7 " "
  2440. 8 6
  2441. 17 9
  2442. 5 1
  2443. 8 4
  2444. 17 11
  2445. 0 16 "{2}" "{6}"
  2446. 13
  2447. 8 2
  2448. 10 00000212
  2449. 17 13
  2450. 6 4
  2451. 5 1
  2452. 18 0
  2453. 11 00000477
  2454. 17 14
  2455. 6 2
  2456. 15
  2457. 9
  2458. 10 00000496
  2459. 17 16
  2460. 6 0
  2461. 15
  2462. 9
  2463. 17 18
  2464. 0 296 0
  2465. 6 1
  2466. 15
  2467. 17 19
  2468. 9
  2469. 14 test
  2470. 29 0 param
  2471. 29 1 test
  2472. 17 1
  2473. 0 32 1
  2474. 17 2
  2475. 0 296 1
  2476. 17 3
  2477. 29 2 macfile
  2478. 0 802
  2479. 13
  2480. 8 2
  2481. 17 4
  2482. 0 41 0 "{2}!test2"
  2483. 17 5
  2484. 0 41 25 "{2}!EnterKeyProc"
  2485. 17 6
  2486. 0 41 9000 "{2}!L9000"
  2487. 17 7
  2488. 0 41 9003 "{2}!L9003"
  2489. 17 8
  2490. 0 271 "section" 1
  2491. 17 10
  2492. 29 3 section
  2493. 6 0
  2494. 8 3
  2495. 17 11
  2496. 0 264 "section" "{3}"
  2497. 17 12
  2498. 29 4 box
  2499. 0 26 "." "SK"
  2500. 13
  2501. 8 4
  2502. 17 13
  2503. 6 4
  2504. 5 0
  2505. 18 0
  2506. 11 00000406
  2507. 17 14
  2508. 0 264 "levelflag" 1
  2509. 17 16
  2510. 0 41 9000 "{2}!L9000"
  2511. 17 17
  2512. 0 41 25 "{2}!EnterKeyProc"
  2513. 17 18
  2514. 0 32 0
  2515. 17 19
  2516. 0 296 0
  2517. 6 1
  2518. 15
  2519. 17 20
  2520. 9
  2521. 14 test2
  2522. 29 0 hDlg
  2523. 29 1 id
  2524. 29 2 val
  2525. 29 3 test2
  2526. 17 1
  2527. 0 296 1
  2528. 17 2
  2529. 5 0
  2530. 8 1
  2531. 17 3
  2532. 29 4 section
  2533. 0 265 "section"
  2534. 13
  2535. 8 4
  2536. 17 4
  2537. 29 5 level
  2538. 16 WriteToBox "{0}" 0 "{4}"
  2539. 13
  2540. 8 5
  2541. 17 5
  2542. 6 5
  2543. 5 0
  2544. 18 0
  2545. 11 00000247
  2546. 17 6
  2547. 0 264 "levelflag" 0
  2548. 17 8
  2549. 0 296 0
  2550. 6 3
  2551. 15
  2552. 17 9
  2553. 9
  2554. 14 FillBox
  2555. 29 0 id
  2556. 29 1 array
  2557. 29 2 FillBox
  2558. 17 1
  2559. 0 31 "{0}" &1
  2560. 6 2
  2561. 15
  2562. 17 2
  2563. 9
  2564. 14 GetHotKeyOld
  2565. 29 0 strdata
  2566. 29 1 GetHotKeyOld
  2567. 17 1
  2568. 0 296 1
  2569. 17 2
  2570. 29 2 hotkeypos
  2571. 0 13 1 "{0}" "&"
  2572. 13
  2573. 8 2
  2574. 17 3
  2575. 29 3 hotkey
  2576. 6 2
  2577. 5 1
  2578. 3 0
  2579. 0 15 "{0}" [X] 1
  2580. 13
  2581. 8 3
  2582. 17 4
  2583. 6 3
  2584. 7 ""
  2585. 18 0
  2586. 11 00000243
  2587. 17 5
  2588. 5 -1
  2589. 15
  2590. 9
  2591. 10 00000261
  2592. 17 7
  2593. 6 3
  2594. 15
  2595. 9
  2596. 17 9
  2597. 0 296 0
  2598. 6 1
  2599. 15
  2600. 17 10
  2601. 9
  2602. 14 GetHotKey
  2603. 29 0 strdata
  2604. 29 1 GetHotKey
  2605. 17 1
  2606. 0 296 1
  2607. 17 2
  2608. 29 2 hotkey
  2609. 0 20 "{0}" 1 "-"
  2610. 13
  2611. 8 2
  2612. 17 3
  2613. 6 2
  2614. 7 ""
  2615. 18 0
  2616. 11 00000173
  2617. 17 4
  2618. 7 ""
  2619. 15
  2620. 9
  2621. 10 00000259
  2622. 17 5
  2623. 6 2
  2624. 5 -1
  2625. 18 0
  2626. 11 00000241
  2627. 17 6
  2628. 7 ""
  2629. 15
  2630. 9
  2631. 10 00000259
  2632. 17 8
  2633. 6 2
  2634. 15
  2635. 9
  2636. 17 10
  2637. 0 296 0
  2638. 6 1
  2639. 15
  2640. 17 11
  2641. 9
  2642. 14 RemoveAmpersand
  2643. 29 0 showntext
  2644. 29 1 RemoveAmpersand
  2645. 17 1
  2646. 0 296 1
  2647. 17 2
  2648. 29 2 badchars
  2649. 7 "&"
  2650. 8 2
  2651. 17 3
  2652. 29 3 char
  2653. 6 2
  2654. 8 3
  2655. 17 4
  2656. 0 13 1 "{0}" "{3}"
  2657. 13
  2658. 5 -1
  2659. 18 0
  2660. 11 00000219
  2661. 17 5
  2662. 6 0
  2663. 15
  2664. 9
  2665. 10 00000602
  2666. 17 7
  2667. 5 10
  2668. 29 4 part
  2669. 21 4 [X]
  2670. 17 8
  2671. 0 806 "{0}" 1
  2672. 13
  2673. 6 2
  2674. 18 0
  2675. 11 00000379
  2676. 17 9
  2677. 29 5 newtext
  2678. 0 15 "{0}" 2 30
  2679. 13
  2680. 8 5
  2681. 17 10
  2682. 6 5
  2683. 15
  2684. 9
  2685. 10 00000602
  2686. 17 12
  2687. 29 6 x
  2688. 5 1
  2689. 8 6
  2690. 17 13
  2691. 6 6
  2692. 0 20 "{0}" "{6}" "{3}"
  2693. 13
  2694. 23 4
  2695. 17 14
  2696. 6 6
  2697. 22 4
  2698. 5 -1
  2699. 18 0
  2700. 6 6
  2701. 22 4
  2702. 7 ""
  2703. 18 0
  2704. 1 2
  2705. 11 00000540
  2706. 17 15
  2707. 6 0
  2708. 15
  2709. 9
  2710. 17 17
  2711. 6 6
  2712. 22 4
  2713. 0 16 "{5}" [X]
  2714. 13
  2715. 8 5
  2716. 17 18
  2717. 6 0
  2718. 15
  2719. 9
  2720. 17 21
  2721. 0 296 0
  2722. 6 1
  2723. 15
  2724. 17 22
  2725. 9
  2726. 14 mainmenu
  2727. 29 0 mainmenu
  2728. 17 1
  2729. 0 296 1
  2730. 17 2
  2731. 0 265 "SKON"
  2732. 13
  2733. 5 1
  2734. 18 1
  2735. 11 00000384
  2736. 17 3
  2737. 29 1 g_hgloss
  2738. 0 16 "hgloss" "amiskdw4.sam"
  2739. 13
  2740. 8 1
  2741. 17 4
  2742. 0 271 "{1}" 1
  2743. 17 5
  2744. 0 265 "{1}"
  2745. 13
  2746. 7 ""
  2747. 18 0
  2748. 11 00000324
  2749. 17 6
  2750. 29 2 hgloss
  2751. 0 798
  2752. 13
  2753. 0 16 [X] "amiskdw4.sam"
  2754. 13
  2755. 0 302 [X]
  2756. 13
  2757. 8 2
  2758. 17 7
  2759. 0 264 "{1}" "{2}"
  2760. 17 10
  2761. 16 skmain
  2762. 17 11
  2763. 16 ReadTopLevel "MM"
  2764. 10 00000413
  2765. 17 13
  2766. 16 ReadTopLevel "MM"
  2767. 17 15
  2768. 0 296 0
  2769. 6 0
  2770. 15
  2771. 17 16
  2772. 9
  2773. 14 ReadTopLevel
  2774. 29 0 key
  2775. 29 1 ReadTopLevel
  2776. 17 1
  2777. 0 296 1
  2778. 17 2
  2779. 29 2 macfile
  2780. 0 802
  2781. 13
  2782. 8 2
  2783. 17 3
  2784. 0 41 0 "{2}!Initialize"
  2785. 17 4
  2786. 0 41 9000 "{2}!L9000"
  2787. 17 5
  2788. 0 41 25 "{2}!EnterKeyProc"
  2789. 17 6
  2790. 0 41 9003 "{2}!L9003"
  2791. 17 10
  2792. 0 271 "gkey" 1
  2793. 17 11
  2794. 0 264 "gkey" "{0}"
  2795. 17 12
  2796. 0 264 "levelflag" 1
  2797. 17 13
  2798. 29 3 strdata
  2799. 16 Getprofile "OnKeys" "{0}"
  2800. 13
  2801. 8 3
  2802. 17 14
  2803. 29 4 stat
  2804. 17 15
  2805. 29 5 ct
  2806. 5 2
  2807. 8 5
  2808. 17 16
  2809. 5 20
  2810. 29 6 strtok
  2811. 21 6 [X]
  2812. 17 17
  2813. 5 20
  2814. 29 7 dlgkeys
  2815. 21 7 [X]
  2816. 17 18
  2817. 5 -1
  2818. 0 20 "{3}" "{5}" "~"
  2819. 13
  2820. 0 805 &4 [X]
  2821. 13
  2822. 18 1
  2823. 11 00000750
  2824. 17 19
  2825. 29 8 hotkey
  2826. 16 GetHotKey "{4}"
  2827. 13
  2828. 8 8
  2829. 17 20
  2830. 6 5
  2831. 5 1
  2832. 3 1
  2833. 0 272 "AccKeys" [X] "{8}"
  2834. 17 21
  2835. 6 5
  2836. 5 1
  2837. 3 1
  2838. 0 31 9003 [X]
  2839. 17 22
  2840. 6 5
  2841. 5 1
  2842. 3 0
  2843. 8 5
  2844. 17 23
  2845. 0 31 9000 "{4}"
  2846. 10 00000475
  2847. 17 25
  2848. 29 9 title
  2849. 16 gettitle
  2850. 13
  2851. 8 9
  2852. 17 26
  2853. 0 265 "gkey"
  2854. 13
  2855. 0 16 [X] ":  " "{9}"
  2856. 13
  2857. 8 9
  2858. 17 27
  2859. 0 31 1000 "{9}"
  2860. 17 28
  2861. 29 10 box
  2862. 0 26 "." "SK"
  2863. 13
  2864. 8 10
  2865. 17 29
  2866. 6 10
  2867. 5 1
  2868. 18 1
  2869. 11 00000951
  2870. 17 31
  2871. 0 802
  2872. 13
  2873. 8 2
  2874. 17 32
  2875. 0 41 9000 "{2}!L9000"
  2876. 17 33
  2877. 0 41 25 "{2}!EnterKeyProc"
  2878. 17 34
  2879. 0 296 0
  2880. 6 1
  2881. 15
  2882. 17 35
  2883. 9
  2884. 14 GetTitle
  2885. 29 0 GetTitle
  2886. 17 1
  2887. 0 296 1
  2888. 17 2
  2889. 29 1 key
  2890. 0 265 "gkey"
  2891. 13
  2892. 8 1
  2893. 17 3
  2894. 29 2 strdata
  2895. 16 Getprofile "OnKeys" "{1}"
  2896. 13
  2897. 8 2
  2898. 17 4
  2899. 29 3 section
  2900. 0 20 "{2}" 1 "~"
  2901. 13
  2902. 8 3
  2903. 17 5
  2904. 0 296 0
  2905. 17 6
  2906. 6 3
  2907. 15
  2908. 9
  2909. 6 0
  2910. 15
  2911. 17 7
  2912. 9
  2913. 14 WriteToBox
  2914. 29 0 hDlg
  2915. 29 1 key2
  2916. 29 2 section
  2917. 29 3 WriteToBox
  2918. 17 1
  2919. 0 296 1
  2920. 17 7
  2921. 0 54 "{0}" 9004
  2922. 17 8
  2923. 29 4 stat
  2924. 17 9
  2925. 0 39 "{1}"
  2926. 13
  2927. 8 1
  2928. 17 10
  2929. 5 45
  2930. 29 5 data
  2931. 21 5 [X]
  2932. 17 11
  2933. 29 6 ct
  2934. 5 1
  2935. 8 6
  2936. 17 12
  2937. 16 LoadText "{2}" &5
  2938. 17 13
  2939. 29 7 asize
  2940. 0 1046 &5
  2941. 13
  2942. 8 7
  2943. 17 14
  2944. 16 Getprofile "{2}" "level"
  2945. 13
  2946. 5 0
  2947. 18 0
  2948. 11 00000745
  2949. 17 17
  2950. 0 54 "{0}" 9000
  2951. 17 18
  2952. 0 54 "{0}" 9003
  2953. 29 8 i
  2954. 5 1
  2955. 8 8
  2956. 17 19
  2957. 6 7
  2958. 6 8
  2959. 18 2
  2960. 12 00000490
  2961. 10 00000713
  2962. 5 1
  2963. 6 8
  2964. 3 0
  2965. 8 8
  2966. 10 00000408
  2967. 17 20
  2968. 6 8
  2969. 22 5
  2970. 7 ""
  2971. 18 1
  2972. 11 00000683
  2973. 17 21
  2974. 6 8
  2975. 22 5
  2976. 0 43 "{0}" 9000 [X]
  2977. 17 22
  2978. 0 43 "{0}" 9003 "{6}"
  2979. 17 23
  2980. 29 9 dlgnum
  2981. 5 48
  2982. 6 6
  2983. 3 0
  2984. 8 9
  2985. 17 25
  2986. 6 6
  2987. 5 1
  2988. 3 0
  2989. 8 6
  2990. 10 00000700
  2991. 17 27
  2992. 6 7
  2993. 8 8
  2994. 10 00000457
  2995. 17 30
  2996. 5 1
  2997. 15
  2998. 9
  2999. 10 00001128
  3000. 17 32
  3001. 29 10 stuff
  3002. 7 ""
  3003. 8 10
  3004. 17 33
  3005. 16 LoadKS "{0}" "{2}"
  3006. 5 1
  3007. 8 8
  3008. 17 34
  3009. 6 7
  3010. 6 8
  3011. 18 2
  3012. 12 00000899
  3013. 10 00001109
  3014. 5 1
  3015. 6 8
  3016. 3 0
  3017. 8 8
  3018. 10 00000817
  3019. 17 35
  3020. 6 8
  3021. 22 5
  3022. 7 ""
  3023. 18 1
  3024. 11 00001079
  3025. 17 38
  3026. 29 11 sectiontext
  3027. 16 stripit "{2}"
  3028. 13
  3029. 8 11
  3030. 17 39
  3031. 0 43 "{0}" 1000 "{11}"
  3032. 17 40
  3033. 6 8
  3034. 22 5
  3035. 0 43 "{0}" 9004 [X]
  3036. 10 00001096
  3037. 17 42
  3038. 6 7
  3039. 8 8
  3040. 10 00000866
  3041. 17 45
  3042. 5 0
  3043. 15
  3044. 9
  3045. 17 47
  3046. 0 296 0
  3047. 6 3
  3048. 15
  3049. 17 48
  3050. 9
  3051. 14 LoadKS
  3052. 29 0 hdlg
  3053. 29 1 section
  3054. 29 2 LoadKS
  3055. 17 1
  3056. 0 296 1
  3057. 17 2
  3058. 0 43 "{0}" 1008 ""
  3059. 17 3
  3060. 29 3 ks
  3061. 16 Getprofile "{1}" "KS"
  3062. 13
  3063. 8 3
  3064. 17 4
  3065. 6 3
  3066. 7 ""
  3067. 18 1
  3068. 11 00000262
  3069. 17 5
  3070. 0 43 "{0}" 1008 "{3}"
  3071. 17 6
  3072. 0 43 "{0}" 1001 "Keyboard Shortcut-"
  3073. 10 00000288
  3074. 17 8
  3075. 0 43 "{0}" 1001 ""
  3076. 17 10
  3077. 0 296 0
  3078. 6 2
  3079. 15
  3080. 17 11
  3081. 9
  3082. 14 LoadText
  3083. 29 0 section
  3084. 29 1 data
  3085. 29 2 LoadText
  3086. 17 1
  3087. 0 296 1
  3088. 17 2
  3089. 29 3 stat
  3090. 17 3
  3091. 29 4 ct
  3092. 5 1
  3093. 8 4
  3094. 17 4
  3095. 7 ""
  3096. 16 Getprofile "{0}" "{4}"
  3097. 13
  3098. 0 805 &3 [X]
  3099. 13
  3100. 18 1
  3101. 11 00000251
  3102. 17 5
  3103. 6 4
  3104. 6 3
  3105. 23 1
  3106. 17 6
  3107. 6 4
  3108. 5 1
  3109. 3 0
  3110. 8 4
  3111. 10 00000110
  3112. 17 8
  3113. 0 296 0
  3114. 6 2
  3115. 15
  3116. 17 9
  3117. 9
  3118. 14 StripIt
  3119. 29 0 text
  3120. 29 1 StripIt
  3121. 17 1
  3122. 0 296 1
  3123. 17 2
  3124. 0 808 0 "{0}" "tag"
  3125. 13
  3126. 11 00000170
  3127. 17 3
  3128. 0 14 "{0}"
  3129. 13
  3130. 5 2
  3131. 3 1
  3132. 0 15 "{0}" 4 [X]
  3133. 13
  3134. 15
  3135. 9
  3136. 10 00000188
  3137. 17 5
  3138. 6 0
  3139. 15
  3140. 9
  3141. 17 7
  3142. 0 296 0
  3143. 6 1
  3144. 15
  3145. 17 8
  3146. 9
  3147. 14 LoadDlgKeyInterupts
  3148. 29 0 dlgnum
  3149. 29 1 LoadDlgKeyInterupts
  3150. 17 1
  3151. 0 296 1
  3152. 17 2
  3153. 29 2 stat
  3154. 17 3
  3155. 29 3 macfile
  3156. 0 802
  3157. 13
  3158. 8 3
  3159. 17 5
  3160. 0 47 "{0}" "{3}!dlgkeyproc"
  3161. 17 6
  3162. 0 296 0
  3163. 6 1
  3164. 15
  3165. 17 7
  3166. 9
  3167. 14 DlgTst
  3168. 29 0 hDlg
  3169. 29 1 key
  3170. 29 2 DlgTst
  3171. 17 1
  3172. 0 296 1
  3173. 17 2
  3174. 29 3 selstring
  3175. 17 3
  3176. 6 1
  3177. 5 48
  3178. 3 1
  3179. 8 1
  3180. 17 7
  3181. 6 1
  3182. 5 1
  3183. 3 1
  3184. 8 1
  3185. 17 10
  3186. 0 62 "{0}" 9000 "{1}"
  3187. 17 11
  3188. 0 62 "{0}" 9003 "{1}"
  3189. 17 12
  3190. 0 296 0
  3191. 6 2
  3192. 15
  3193. 17 13
  3194. 9
  3195. 14 DlgKeyProc
  3196. 29 0 hDlg
  3197. 29 1 key
  3198. 29 2 DlgKeyProc
  3199. 17 1
  3200. 0 296 1
  3201. 17 2
  3202. 5 2
  3203. 29 3 point
  3204. 21 3 [X]
  3205. 17 3
  3206. 29 4 selstring
  3207. 17 4
  3208. 0 39 "{1}"
  3209. 13
  3210. 8 1
  3211. 29 5 x
  3212. 5 1
  3213. 8 5
  3214. 17 6
  3215. 5 30
  3216. 6 5
  3217. 18 2
  3218. 12 00000250
  3219. 10 00000387
  3220. 5 1
  3221. 6 5
  3222. 3 0
  3223. 8 5
  3224. 10 00000168
  3225. 17 7
  3226. 29 6 hit
  3227. 0 273 "AccKeys" "{5}"
  3228. 13
  3229. 8 6
  3230. 17 8
  3231. 0 18 "{6}"
  3232. 13
  3233. 0 18 "{1}"
  3234. 13
  3235. 18 0
  3236. 11 00000374
  3237. 17 9
  3238. 10 00000387
  3239. 10 00000217
  3240. 17 14
  3241. 6 5
  3242. 5 1
  3243. 3 1
  3244. 0 62 "{0}" 9000 [X]
  3245. 17 15
  3246. 0 296 0
  3247. 6 2
  3248. 15
  3249. 17 16
  3250. 9
  3251. 14 L9003
  3252. 29 0 hDlg
  3253. 29 1 id
  3254. 29 2 val
  3255. 29 3 L9003
  3256. 17 1
  3257. 0 296 1
  3258. 17 2
  3259. 29 4 selstring
  3260. 17 6
  3261. 29 5 indx
  3262. 0 61 "{0}" 9003
  3263. 13
  3264. 8 5
  3265. 17 9
  3266. 0 62 "{0}" 9000 "{5}"
  3267. 17 10
  3268. 0 296 0
  3269. 6 3
  3270. 15
  3271. 17 11
  3272. 9
  3273. 14 L9000
  3274. 29 0 hDlg
  3275. 29 1 id
  3276. 29 2 val
  3277. 29 3 L9000
  3278. 17 1
  3279. 0 296 1
  3280. 17 2
  3281. 0 32 2
  3282. 17 3
  3283. 29 4 selstring
  3284. 17 4
  3285. 29 5 stat
  3286. 17 8
  3287. 29 6 indx
  3288. 0 61 "{0}" 9000
  3289. 13
  3290. 8 6
  3291. 17 11
  3292. 0 62 "{0}" 9003 "{6}"
  3293. 17 15
  3294. 0 63 "{0}" 9000 "{6}"
  3295. 13
  3296. 8 4
  3297. 17 17
  3298. 0 20 "{4}" 2 "-"
  3299. 13
  3300. 8 4
  3301. 17 21
  3302. 29 7 level
  3303. 16 WriteToBox "{0}" "{1}" "{4}"
  3304. 13
  3305. 8 7
  3306. 17 22
  3307. 6 7
  3308. 5 0
  3309. 18 0
  3310. 11 00000391
  3311. 17 23
  3312. 0 264 "levelflag" 0
  3313. 17 25
  3314. 0 32 0
  3315. 17 26
  3316. 0 296 0
  3317. 6 3
  3318. 15
  3319. 17 27
  3320. 9
  3321. 14 EnterKeyProc
  3322. 29 0 hDlg
  3323. 29 1 Id
  3324. 29 2 val
  3325. 29 3 EnterKeyProc
  3326. 17 1
  3327. 0 296 1
  3328. 17 2
  3329. 29 4 selstring
  3330. 17 3
  3331. 29 5 stat
  3332. 17 4
  3333. 0 265 "levelflag"
  3334. 13
  3335. 5 0
  3336. 18 0
  3337. 11 00000231
  3338. 17 5
  3339. 0 36 "[27]"
  3340. 17 6
  3341. 0 264 "levelflag" 1
  3342. 6 3
  3343. 15
  3344. 9
  3345. 17 11
  3346. 29 6 indx
  3347. 0 61 "{0}" 9000
  3348. 13
  3349. 8 6
  3350. 17 13
  3351. 6 6
  3352. 5 -1
  3353. 18 1
  3354. 11 00000447
  3355. 17 15
  3356. 0 63 "{0}" "{1}" "{6}"
  3357. 13
  3358. 8 4
  3359. 17 16
  3360. 0 20 "{4}" 2 "-"
  3361. 13
  3362. 8 4
  3363. 17 17
  3364. 29 7 level
  3365. 16 WriteToBox "{0}" "{1}" "{4}"
  3366. 13
  3367. 8 7
  3368. 17 19
  3369. 6 7
  3370. 5 0
  3371. 18 0
  3372. 11 00000511
  3373. 17 20
  3374. 0 264 "levelflag" 0
  3375. 17 22
  3376. 0 296 0
  3377. 6 3
  3378. 15
  3379. 17 23
  3380. 9
  3381. 14 DoNextLevel
  3382. 29 0 section
  3383. 29 1 newdata
  3384. 29 2 DoNextLevel
  3385. 17 1
  3386. 0 296 1
  3387. 17 2
  3388. 29 3 nextlevel
  3389. 16 Getprofile "{0}" "{3}"
  3390. 13
  3391. 8 3
  3392. 17 3
  3393. 29 4 stat
  3394. 17 4
  3395. 29 5 ct
  3396. 5 2
  3397. 8 5
  3398. 17 5
  3399. 5 10
  3400. 29 6 strtok
  3401. 21 6 [X]
  3402. 17 6
  3403. 5 10
  3404. 29 7 dlgkeys
  3405. 21 7 [X]
  3406. 17 8
  3407. 6 5
  3408. 6 4
  3409. 23 6
  3410. 17 10
  3411. 29 8 dlgnum
  3412. 5 49
  3413. 6 5
  3414. 5 2
  3415. 3 1
  3416. 3 0
  3417. 8 8
  3418. 17 11
  3419. 16 LoadDlgKeyInterupts "{8}"
  3420. 17 12
  3421. 6 5
  3422. 5 1
  3423. 3 0
  3424. 8 5
  3425. 17 13
  3426. 6 5
  3427. 5 2
  3428. 3 1
  3429. 0 31 9003 [X]
  3430. 17 15
  3431. 16 FillBox 9000 &6
  3432. 17 16
  3433. 0 296 0
  3434. 6 2
  3435. 15
  3436. 17 17
  3437. 9
  3438. 14 Off
  3439. 29 0 Off
  3440. 17 1
  3441. 0 296 1
  3442. 17 2
  3443. 29 1 menu
  3444. 16 getprofile "Menus" "Menu"
  3445. 13
  3446. 8 1
  3447. 17 3
  3448. 29 2 item
  3449. 16 getprofile "Menus" "Menuitem"
  3450. 13
  3451. 8 2
  3452. 17 4
  3453. 29 3 item1
  3454. 16 getprofile "Menus" "Item1"
  3455. 13
  3456. 8 3
  3457. 17 5
  3458. 29 4 item2
  3459. 16 getprofile "Menus" "Item2"
  3460. 13
  3461. 8 4
  3462. 17 6
  3463. 0 32 1
  3464. 17 7
  3465. 29 5 stat
  3466. 17 8
  3467. 0 264 "SKON" 0
  3468. 17 10
  3469. 0 518 1 "{1}" "{2}" "{3}" 0
  3470. 17 11
  3471. 0 518 1 "{1}" "{2}" "{4}" 1
  3472. 17 13
  3473. 32 2 101 32854 7  "" 113 0 1
  3474. 17 14
  3475. 32 2 101 32854 7  "" 114 0 1
  3476. 17 15
  3477. 32 2 101 32854 7  "" 115 0 1
  3478. 17 16
  3479. 32 2 101 32854 7  "" 116 0 1
  3480. 17 17
  3481. 32 2 101 32854 7  "" 117 0 1
  3482. 17 18
  3483. 32 2 101 32854 7  "" 118 0 1
  3484. 17 19
  3485. 32 2 101 32854 7  "" 119 0 1
  3486. 17 20
  3487. 32 2 101 32854 7  "" 120 0 1
  3488. 17 21
  3489. 32 2 101 32854 7  "" 121 0 1
  3490. 17 22
  3491. 29 6 ct
  3492. 5 1
  3493. 8 6
  3494. 17 23
  3495. 7 ""
  3496. 16 Getprofile "KeyboardShortcuts" "{6}"
  3497. 13
  3498. 0 805 &5 [X]
  3499. 13
  3500. 18 1
  3501. 11 00001024
  3502. 17 24
  3503. 29 7 keysc
  3504. 0 20 "{5}" 1 "~"
  3505. 13
  3506. 8 7
  3507. 17 25
  3508. 29 8 newkeysc
  3509. 16 GetOnkeyEquiv "{7}"
  3510. 13
  3511. 8 8
  3512. 17 26
  3513. 32 2 101 32854 7  "" "{8}" 0 1
  3514. 17 27
  3515. 6 6
  3516. 5 1
  3517. 3 0
  3518. 8 6
  3519. 10 00000749
  3520. 17 29
  3521. 0 16 "hgloss" "amiskdw4.sam"
  3522. 13
  3523. 0 265 [X]
  3524. 13
  3525. 0 304 [X]
  3526. 17 30
  3527. 0 16 "hgloss" "amiskdw4.sam"
  3528. 13
  3529. 0 266 [X]
  3530. 17 31
  3531. 0 296 0
  3532. 17 32
  3533. 0 32 0
  3534. 6 0
  3535. 15
  3536. 17 33
  3537. 9
  3538. 14 GetOnkeyEquiv
  3539. 29 0 keysc
  3540. 29 1 GetOnkeyEquiv
  3541. 17 1
  3542. 0 296 1
  3543. 17 2
  3544. 29 2 upper
  3545. 0 18 "{0}"
  3546. 13
  3547. 8 2
  3548. 17 3
  3549. 7 "ALT1"
  3550. 6 2
  3551. 18 0
  3552. 11 00000197
  3553. 17 5
  3554. 5 8241
  3555. 15
  3556. 9
  3557. 17 6
  3558. 10 00003913
  3559. 10 00003913
  3560. 7 "ALT2"
  3561. 6 2
  3562. 18 0
  3563. 11 00000284
  3564. 17 8
  3565. 5 8242
  3566. 15
  3567. 9
  3568. 17 9
  3569. 10 00003913
  3570. 10 00003913
  3571. 7 "ALT7"
  3572. 6 2
  3573. 18 0
  3574. 11 00000373
  3575. 17 11
  3576. 5 8247
  3577. 15
  3578. 9
  3579. 17 12
  3580. 10 00003913
  3581. 10 00003913
  3582. 7 "ALT8"
  3583. 6 2
  3584. 18 0
  3585. 11 00000462
  3586. 17 14
  3587. 5 8248
  3588. 15
  3589. 9
  3590. 17 15
  3591. 10 00003913
  3592. 10 00003913
  3593. 7 "CTRLA"
  3594. 6 2
  3595. 18 0
  3596. 11 00000553
  3597. 17 17
  3598. 5 16449
  3599. 15
  3600. 9
  3601. 17 18
  3602. 10 00003913
  3603. 10 00003913
  3604. 7 "CTRLB"
  3605. 6 2
  3606. 18 0
  3607. 11 00000644
  3608. 17 20
  3609. 5 16450
  3610. 15
  3611. 9
  3612. 17 21
  3613. 10 00003913
  3614. 10 00003913
  3615. 7 "CTRLC"
  3616. 6 2
  3617. 18 0
  3618. 11 00000735
  3619. 17 23
  3620. 5 16451
  3621. 15
  3622. 9
  3623. 17 24
  3624. 10 00003913
  3625. 10 00003913
  3626. 7 "CTRLD"
  3627. 6 2
  3628. 18 0
  3629. 11 00000826
  3630. 17 26
  3631. 5 16452
  3632. 15
  3633. 9
  3634. 17 27
  3635. 10 00003913
  3636. 10 00003913
  3637. 7 "CTRLE"
  3638. 6 2
  3639. 18 0
  3640. 11 00000917
  3641. 17 29
  3642. 5 16453
  3643. 15
  3644. 9
  3645. 17 30
  3646. 10 00003913
  3647. 10 00003913
  3648. 7 "CTRLF"
  3649. 6 2
  3650. 18 0
  3651. 11 00001008
  3652. 17 32
  3653. 5 16454
  3654. 15
  3655. 9
  3656. 17 33
  3657. 10 00003913
  3658. 10 00003913
  3659. 7 "CTRLG"
  3660. 6 2
  3661. 18 0
  3662. 11 00001099
  3663. 17 35
  3664. 5 16455
  3665. 15
  3666. 9
  3667. 17 36
  3668. 10 00003913
  3669. 10 00003913
  3670. 7 "CTRLH"
  3671. 6 2
  3672. 18 0
  3673. 11 00001190
  3674. 17 38
  3675. 5 16456
  3676. 15
  3677. 9
  3678. 17 39
  3679. 10 00003913
  3680. 10 00003913
  3681. 7 "CTRLI"
  3682. 6 2
  3683. 18 0
  3684. 11 00001281
  3685. 17 41
  3686. 5 16457
  3687. 15
  3688. 9
  3689. 17 42
  3690. 10 00003913
  3691. 10 00003913
  3692. 7 "CTRLJ"
  3693. 6 2
  3694. 18 0
  3695. 11 00001372
  3696. 17 44
  3697. 5 16458
  3698. 15
  3699. 9
  3700. 17 45
  3701. 10 00003913
  3702. 10 00003913
  3703. 7 "CTRLK"
  3704. 6 2
  3705. 18 0
  3706. 11 00001463
  3707. 17 47
  3708. 5 16459
  3709. 15
  3710. 9
  3711. 17 48
  3712. 10 00003913
  3713. 10 00003913
  3714. 7 "CTRLL"
  3715. 6 2
  3716. 18 0
  3717. 11 00001554
  3718. 17 50
  3719. 5 16460
  3720. 15
  3721. 9
  3722. 17 51
  3723. 10 00003913
  3724. 10 00003913
  3725. 7 "CTRLM"
  3726. 6 2
  3727. 18 0
  3728. 11 00001645
  3729. 17 53
  3730. 5 16461
  3731. 15
  3732. 9
  3733. 17 54
  3734. 10 00003913
  3735. 10 00003913
  3736. 7 "CTRLN"
  3737. 6 2
  3738. 18 0
  3739. 11 00001736
  3740. 17 56
  3741. 5 16462
  3742. 15
  3743. 9
  3744. 17 57
  3745. 10 00003913
  3746. 10 00003913
  3747. 7 "CTRLO"
  3748. 6 2
  3749. 18 0
  3750. 11 00001827
  3751. 17 59
  3752. 5 16463
  3753. 15
  3754. 9
  3755. 17 60
  3756. 10 00003913
  3757. 10 00003913
  3758. 7 "CTRLP"
  3759. 6 2
  3760. 18 0
  3761. 11 00001918
  3762. 17 62
  3763. 5 16464
  3764. 15
  3765. 9
  3766. 17 63
  3767. 10 00003913
  3768. 10 00003913
  3769. 7 "CTRLQ"
  3770. 6 2
  3771. 18 0
  3772. 11 00002009
  3773. 17 65
  3774. 5 16465
  3775. 15
  3776. 9
  3777. 17 66
  3778. 10 00003913
  3779. 10 00003913
  3780. 7 "CTRLR"
  3781. 6 2
  3782. 18 0
  3783. 11 00002100
  3784. 17 68
  3785. 5 16466
  3786. 15
  3787. 9
  3788. 17 69
  3789. 10 00003913
  3790. 10 00003913
  3791. 7 "CTRLS"
  3792. 6 2
  3793. 18 0
  3794. 11 00002191
  3795. 17 71
  3796. 5 16467
  3797. 15
  3798. 9
  3799. 17 72
  3800. 10 00003913
  3801. 10 00003913
  3802. 7 "CTRLT"
  3803. 6 2
  3804. 18 0
  3805. 11 00002282
  3806. 17 74
  3807. 5 16468
  3808. 15
  3809. 9
  3810. 17 75
  3811. 10 00003913
  3812. 10 00003913
  3813. 7 "CTRLU"
  3814. 6 2
  3815. 18 0
  3816. 11 00002373
  3817. 17 77
  3818. 5 16469
  3819. 15
  3820. 9
  3821. 17 78
  3822. 10 00003913
  3823. 10 00003913
  3824. 7 "CTRLV"
  3825. 6 2
  3826. 18 0
  3827. 11 00002464
  3828. 17 80
  3829. 5 16470
  3830. 15
  3831. 9
  3832. 17 81
  3833. 10 00003913
  3834. 10 00003913
  3835. 7 "CTRLW"
  3836. 6 2
  3837. 18 0
  3838. 11 00002555
  3839. 17 83
  3840. 5 16471
  3841. 15
  3842. 9
  3843. 17 84
  3844. 10 00003913
  3845. 10 00003913
  3846. 7 "CTRLX"
  3847. 6 2
  3848. 18 0
  3849. 11 00002646
  3850. 17 86
  3851. 5 16472
  3852. 15
  3853. 9
  3854. 17 87
  3855. 10 00003913
  3856. 10 00003913
  3857. 7 "CTRLY"
  3858. 6 2
  3859. 18 0
  3860. 11 00002737
  3861. 17 89
  3862. 5 16473
  3863. 15
  3864. 9
  3865. 17 90
  3866. 10 00003913
  3867. 10 00003913
  3868. 7 "CTRLF1"
  3869. 6 2
  3870. 18 0
  3871. 11 00002829
  3872. 17 92
  3873. 5 16496
  3874. 15
  3875. 9
  3876. 17 93
  3877. 10 00003913
  3878. 10 00003913
  3879. 7 "CTRLF2"
  3880. 6 2
  3881. 18 0
  3882. 11 00002921
  3883. 17 95
  3884. 5 16497
  3885. 15
  3886. 9
  3887. 17 96
  3888. 10 00003913
  3889. 10 00003913
  3890. 7 "CTRLF4"
  3891. 6 2
  3892. 18 0
  3893. 11 00003013
  3894. 17 98
  3895. 5 16499
  3896. 15
  3897. 9
  3898. 17 99
  3899. 10 00003913
  3900. 10 00003913
  3901. 7 "CTRLF5"
  3902. 6 2
  3903. 18 0
  3904. 11 00003107
  3905. 17 101
  3906. 5 16500
  3907. 15
  3908. 9
  3909. 17 102
  3910. 10 00003913
  3911. 10 00003913
  3912. 7 "CTRLF6"
  3913. 6 2
  3914. 18 0
  3915. 11 00003201
  3916. 17 104
  3917. 5 16501
  3918. 15
  3919. 9
  3920. 17 105
  3921. 10 00003913
  3922. 10 00003913
  3923. 7 "CTRLF7"
  3924. 6 2
  3925. 18 0
  3926. 11 00003295
  3927. 17 107
  3928. 5 16502
  3929. 15
  3930. 9
  3931. 17 108
  3932. 10 00003913
  3933. 10 00003913
  3934. 7 "CTRLF8"
  3935. 6 2
  3936. 18 0
  3937. 11 00003389
  3938. 17 110
  3939. 5 16503
  3940. 15
  3941. 9
  3942. 17 111
  3943. 10 00003913
  3944. 10 00003913
  3945. 7 "F3"
  3946. 6 2
  3947. 18 0
  3948. 11 00003477
  3949. 17 113
  3950. 5 114
  3951. 15
  3952. 9
  3953. 17 114
  3954. 10 00003913
  3955. 10 00003913
  3956. 7 "F9"
  3957. 6 2
  3958. 18 0
  3959. 11 00003565
  3960. 17 116
  3961. 5 120
  3962. 15
  3963. 9
  3964. 17 117
  3965. 10 00003913
  3966. 10 00003913
  3967. 7 "F10"
  3968. 6 2
  3969. 18 0
  3970. 11 00003654
  3971. 17 119
  3972. 5 121
  3973. 15
  3974. 9
  3975. 17 120
  3976. 10 00003913
  3977. 10 00003913
  3978. 7 "F11"
  3979. 6 2
  3980. 18 0
  3981. 11 00003743
  3982. 17 122
  3983. 5 122
  3984. 15
  3985. 9
  3986. 17 123
  3987. 10 00003913
  3988. 10 00003913
  3989. 7 "F12"
  3990. 6 2
  3991. 18 0
  3992. 11 00003832
  3993. 17 125
  3994. 5 123
  3995. 15
  3996. 9
  3997. 17 126
  3998. 10 00003913
  3999. 10 00003913
  4000. 7 "CTRLF9"
  4001. 6 2
  4002. 18 0
  4003. 11 00003913
  4004. 17 128
  4005. 5 16504
  4006. 15
  4007. 9
  4008. 17 129
  4009. 10 00003913
  4010. 17 132
  4011. 0 296 0
  4012. 6 1
  4013. 15
  4014. 17 133
  4015. 9
  4016. 14 aboutsk
  4017. 29 0 aboutsk
  4018. 17 1
  4019. 29 1 box
  4020. 0 26 "." "about"
  4021. 13
  4022. 8 1
  4023. 6 0
  4024. 15
  4025. 17 2
  4026. 9
  4027. DIALOG SK
  4028. -2134376448 10 24 38 300 123 "" "" "DisplayWrite SwitchKit" 
  4029. FONT 8 "Helv" 
  4030. 26 22 99 79 9000 1352728577 "listbox" "" 0 
  4031. 217 200 33 13 25 1342308353 "button" "Default" 0 
  4032. 7 22 16 79 9003 1352663041 "listbox" "" 0 
  4033. 195 104 17 12 1006 1342177290 "static" "filename.bmp" 0 
  4034. 7 11 40 8 1004 1342177280 "static" "Options:" 0 
  4035. 127 11 45 8 1005 1342177280 "static" "Ami Pro Help:" 0 
  4036. 132 22 166 79 9004 1352728577 "listbox" "" 0 
  4037. 6 107 64 8 1001 1342177280 "static" "Keyboard Shortcut-" 0 
  4038. 72 107 38 10 1008 1342177280 "static" "" 0 
  4039. 260 5 34 13 1 1342373888 "button" "Done" 0 
  4040. DIALOG about
  4041. -2134376448 7 84 26 134 90 "" "" "Ami Pro" 
  4042. FONT 8 "Helv" 
  4043. 5 6 122 10 1000 1342177281 "static" "Ami Pro SwitchKit" 0 
  4044. 5 16 122 10 1001 1342177281 "static" "for DisplayWrite Users 1993" 0 
  4045. 5 26 122 10 1002 1342177281 "static" "Lotus Development Corporation" 0 
  4046. 5 36 122 10 1003 1342177281 "static" "DisplayWrite 1986 by" 0 
  4047. 5 46 122 10 1004 1342177281 "static" "IBM Corporation" 0 
  4048. 5 56 122 10 1007 1342177281 "static" "All rights Reserved." 0 
  4049. 47 70 40 14 1 1342373889 "button" "OK" 0 
  4050. 00043803
  4051.