home *** CD-ROM | disk | FTP | other *** search
/ Program Metropolis - Software Boutique 95 / SOFTWARECD.iso / camipro3 / macros.cmz / _AUTORUN.SMM next >
Encoding:
INI File  |  1994-08-14  |  50.7 KB  |  3,038 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     _default.sty
  5. [files]
  6. [charset]
  7.     82
  8.     CHINESEBIG5 (Windows)
  9. [revisions]
  10.     0
  11. [prn]
  12.     PostScript Printer
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [desc]
  18.     ïNô«Ä₧é╔Ä⌐ô«Ä└ìsé╖éΘòíÉöé╠â}âNâìé≡æIæ≡é╡é▄é╖üB
  19.     Lotus WPD Marketing
  20.     Advanced
  21.     Global Arrays, Callbacks, fopen
  22.     noautorun
  23.     775969896
  24.     118
  25.     679268150
  26.     2627
  27.     12
  28.     0
  29.     0
  30.     0
  31.     0
  32.     
  33.     
  34.     
  35.     
  36.     
  37.     
  38.     0
  39. [fopts]
  40.     0
  41.     1
  42.     0
  43.     0
  44. [lnopts]
  45.     2
  46.     Body Text
  47.     1
  48. [docopts]
  49.     5
  50.     2
  51. [GramStyle]
  52.     
  53. [ParaNum]
  54.     1
  55. [tag]
  56.     Body Text
  57.     2
  58.     [fnt]
  59.         Arial
  60.         200
  61.         0
  62.         16384
  63.     [algn]
  64.         1
  65.         1
  66.         216
  67.         0
  68.         0
  69.     [spc]
  70.         33
  71.         273
  72.         1
  73.         0
  74.         0
  75.         1
  76.         100
  77.     [brk]
  78.         4
  79.     [line]
  80.         8
  81.         0
  82.         1
  83.         0
  84.         1
  85.         1
  86.         1
  87.         10
  88.         10
  89.         1
  90.     [spec]
  91.         0
  92.         0
  93.         
  94.         0
  95.         1
  96.         1
  97.         0
  98.         0
  99.         0
  100.         0
  101.     [nfmt]
  102.         272
  103.         1
  104.         3
  105.         .
  106.         ,
  107.         $
  108.     Body Text
  109.     0
  110.     0
  111. [tag]
  112.     Outline2
  113.     5
  114.     [fnt]
  115.         Arial
  116.         200
  117.         0
  118.         16384
  119.     [algn]
  120.         1
  121.         1
  122.         216
  123.         0
  124.         0
  125.     [spc]
  126.         33
  127.         273
  128.         1
  129.         0
  130.         0
  131.         1
  132.         100
  133.     [brk]
  134.         4
  135.     [line]
  136.         8
  137.         0
  138.         1
  139.         0
  140.         1
  141.         1
  142.         1
  143.         10
  144.         10
  145.         1
  146.     [spec]
  147.         0
  148.         2
  149.         
  150.         0
  151.         1
  152.         1
  153.         0
  154.         0
  155.         0
  156.         0
  157.     [nfmt]
  158.         272
  159.         1
  160.         3
  161.         .
  162.         ,
  163.         $
  164.     Outline2
  165.     0
  166.     0
  167. [tag]
  168.     Outline3
  169.     6
  170.     [fnt]
  171.         Arial
  172.         200
  173.         0
  174.         16384
  175.     [algn]
  176.         1
  177.         1
  178.         216
  179.         0
  180.         0
  181.     [spc]
  182.         33
  183.         273
  184.         1
  185.         0
  186.         0
  187.         1
  188.         100
  189.     [brk]
  190.         4
  191.     [line]
  192.         8
  193.         0
  194.         1
  195.         0
  196.         1
  197.         1
  198.         1
  199.         10
  200.         10
  201.         1
  202.     [spec]
  203.         0
  204.         3
  205.         
  206.         0
  207.         1
  208.         1
  209.         0
  210.         0
  211.         0
  212.         0
  213.     [nfmt]
  214.         272
  215.         1
  216.         3
  217.         .
  218.         ,
  219.         $
  220.     Outline3
  221.     0
  222.     0
  223. [tag]
  224.     Footnote
  225.     7
  226.     [fnt]
  227.         Arial
  228.         200
  229.         0
  230.         16384
  231.     [algn]
  232.         1
  233.         1
  234.         216
  235.         720
  236.         0
  237.     [spc]
  238.         33
  239.         273
  240.         1
  241.         0
  242.         0
  243.         1
  244.         100
  245.     [brk]
  246.         4
  247.     [line]
  248.         8
  249.         0
  250.         1
  251.         0
  252.         1
  253.         1
  254.         1
  255.         10
  256.         10
  257.         1
  258.     [spec]
  259.         0
  260.         0
  261.         <*:>
  262.         0
  263.         1
  264.         1
  265.         256
  266.         0
  267.         0
  268.         0
  269.     [nfmt]
  270.         272
  271.         1
  272.         3
  273.         .
  274.         ,
  275.         $
  276.     Footnote
  277.     0
  278.     0
  279. [l1]
  280.     0
  281. [pg]
  282.     12
  283.     55 0 45 0 0 1 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  284.     113 0 14 0 0 1 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  285.     172 0 44 0 0 1 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  286.     231 0 15 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  287.     291 0 5 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  288.     346 0 10 256 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  289.     404 0 20 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  290.     464 0 32 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  291.     524 0 5 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  292.     582 0 19 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  293.     642 0 17 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  294.     674 0 12 1025 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  295. [edoc]
  296. <:#240,9025>Macro by <+!>Charlie Pappas,  Mark Osborne & David Zoller<-!>
  297.  
  298. <:#231,9025>
  299.  
  300. @Function@<+@><:#284,9025><:f240,BArial,0,0,255>'declares & defines<:f>
  301.  
  302. @Outline2@<:#231,9025>define EnableWindow()    DllCall("user,EnableWindow,HHH", %1, %2)
  303.  
  304. @Outline2@<:#231,9025>Define ShowWindow()        DllCall("User,ShowWindow,AHH",%1,%2)
  305.  
  306. @Outline2@<:#231,9025>Define GetActiveWindow()    DllCall("User,GetActiveWindow,H")
  307.  
  308. @Outline2@<:#231,9025>Define SetFocus()        DllCall("User,SetFocus,HH", %1)
  309.  
  310. @Outline2@<:#231,9025>define    HFONT    "Setfont:hFont"
  311.  
  312. @Outline2@<:#462,9025>define    SendMessage(hwnd, msg, wpara, lparm)    DllCall("user,SendMessage,HHHHJ", %1, %2, %3, %4)
  313.  
  314. @Outline2@<:#231,9025>define    WM_SETFONT    0x30
  315.  
  316. @Outline2@<:#462,9025>define CreateFont()        DllCall("gdi,CreateFont,HHHHHHHHHHHHHHC", %1, %2, %3, %4, %5, %6, %7, %8, %9, %10, %11, %12, %13, %14)
  317.  
  318. @Outline2@<:#231,9025>define    DeleteObject(handle)    DllCall("gdi,DeleteObject,HH", %1)
  319.  
  320. @Outline2@<:#231,9025>declare DiskFmtToAnsi(p1);
  321.  
  322. @Outline2@<:#231,9025>define VK_F1            112
  323.  
  324. @Outline2@<:#284,9025><:>declare freeit(p1) <:f240,BArial,0,0,255>' declare user defined functions<:f>
  325.  
  326. @Outline2@<:#231,9025>declare loadlist(p1)
  327.  
  328. @Outline2@<:#231,9025>declare savelist(p1)
  329.  
  330. @Outline2@<:#231,9025>declare showdesc(hdlg, id, dummy)
  331.  
  332. @Outline2@<:#231,9025>declare ckauto(macro)
  333.  
  334. @Outline2@<+@><:#231,9025>Declare    LoadDocDesc(Array, array)
  335.  
  336. @Outline2@<+@><:#231,9025>Declare    GetDocInfo(FopenId)
  337.  
  338. @Outline2@<+@><:I0,0,0,0><:S+-1><:#231,9025>declare countfiles(filespec, array)
  339.  
  340. @Outline2@<+@><:I0,0,0,0><:S+-1><:#231,9025>
  341.  
  342. @Function@<:#231,9025>function info()
  343.  
  344. @Function@<:#231,9025>'singlestep(1)
  345.  
  346. @Function@<:#231,9025>oncancel cancelit
  347.  
  348. @Outline2@<:#231,9025>ignorekeyboard(1)
  349.  
  350. @Outline2@<:#231,9025>hourglass(1)
  351.  
  352. @Outline2@<:#231,9025>DefStr Stat;
  353.  
  354. @Outline2@<:#231,9025>defstr hdlg;
  355.  
  356. @Outline2@<:#231,9025>dim descs(1)
  357.  
  358. @Outline2@<:#231,9025>dim macfiles(1)
  359.  
  360. @Outline2@<:#284,9025>rmac = getrunningmacrofile$() <:f240,BArial,0,0,255>' get the dos file name of running macro<:f>
  361.  
  362. @Outline2@<:#284,9025><:f240,BArial,0,0,255>'load Descs from disk or global array<:f>
  363.  
  364. @Outline3@<:#231,9025>Mac = GetMacPath$()
  365.  
  366. @Outline3@<:#231,9025>numfiles = countfiles("{mac}*.smm", &macfiles)
  367.  
  368. @Outline3@<:#231,9025>trytoalloc=allocglobalvar("DescAndName", numfiles)
  369.  
  370. @Outline3@<:#284,9025>if GetGlobalVar$("DescAndName") = ""    <:f240,BArial,0,0,255>'we've never been initialized<:f>
  371.  
  372. @Outline3@<:#231,9025>    If 0 = Assign(&Stat, LoadDocDesc(&Descs, &macfiles))
  373.  
  374. @Outline3@<:#231,9025>    Else
  375.  
  376. @Outline3@<:#284,9025>        <:f240,BArial,0,0,255>' Function returned error code<:f>
  377.  
  378. @Outline3@<:#231,9025>    Endif
  379.  
  380. @Outline3@<:#231,9025>    freeglobalvar("DescAndName")
  381.  
  382. @Outline3@<:#231,9025>    x=ArraySize(&Descs)
  383.  
  384. @Outline3@<:#284,9025>    x= x + 1        <:f240,BArial,0,0,255>'make room for the arraysize number @ the beginning<:f>
  385.  
  386. @Outline3@<:#231,9025>    allocglobalvar("DescAndName", x)
  387.  
  388. @Outline3@<:#568,9025>    SetGlobalArray("DescAndName", 1, x)    <:f240,BArial,0,0,255>'set the 1st position to the number of files in the local array<:f>
  389.  
  390. @Outline3@<:#231,9025>    for i = 2 to (x - 1)
  391.  
  392. @Outline3@<:#231,9025>        countdown = x - i
  393.  
  394. @Outline3@<:#231,9025>        StatusBarMsg("Files remaining: {countdown}")
  395.  
  396. @Outline3@<:#231,9025>        data =Descs(i)
  397.  
  398. @Outline3@<:#231,9025>        SetGlobalArray("DescAndName", i, data)
  399.  
  400. @Outline3@<:#231,9025>    next
  401.  
  402. @Outline3@<:#231,9025>else
  403.  
  404. @Outline3@<:#231,9025>    numfiles = GetGlobalArray$("DescAndName", 1)
  405.  
  406. @Outline3@<:#231,9025>    for i = 1 to numfiles
  407.  
  408. @Outline3@<:#231,9025>        countdown = numfiles - i
  409.  
  410. <:#231,9025>        StatusBarMsg("Files remaining: {countdown}")
  411.  
  412. <:#231,9025>        data = GetGlobalArray$("DescAndName", i + 1)
  413.  
  414. @Outline3@<:#231,9025>        if data != ""
  415.  
  416. @Outline3@<:#231,9025>
  417.  
  418. @Outline3@<:#231,9025>            ArrayInsert(&Descs, i, data)
  419.  
  420. @Outline3@<:#231,9025>        endif
  421.  
  422. @Outline3@<:#231,9025>    next
  423.  
  424. @Outline3@<:#231,9025>endif
  425.  
  426. @Outline3@<:#231,9025>StatusBarMsg("")
  427.  
  428. <:#231,9025><:f200,BArial,255,0,0>number =arraysize(&descs)                       
  429.  
  430. <:#231,9025><:f200,BArial,255,0,0>dim filename(number)
  431.  
  432. <:#231,9025><:f200,BArial,255,0,0>for i = 1 to number
  433.  
  434. <:#231,9025><:f200,BArial,255,0,0>c =  strcat$(strfield$(descs(i),2,"|"),"!",i) 
  435.  
  436. <:#231,9025><:f200,BArial,255,0,0>filename(i) = c
  437.  
  438. <:#231,9025>'Message("{filename(i)}, {i}")
  439.  
  440. <:#231,9025><:f200,BArial,255,0,0>next
  441.  
  442. <:#231,9025><:f200,BArial,255,0,0>arraysort(&filename)
  443.  
  444. <:#231,9025><:f200,BArial,255,0,0>dim temper(number)
  445.  
  446. <:#231,9025><:f200,BArial,255,0,0>for i = 1 to number 
  447.  
  448. <:#231,9025><:f200,BArial,255,0,0>    place = strfield$(filename(i),2,"!")
  449.  
  450. <:#231,9025><:f200,BArial,255,0,0>    temper(i) =  descs(place)
  451.  
  452. <:#231,9025><:f200,BArial,255,0,0>next    
  453.  
  454. <:#231,9025><:f200,BArial,255,0,0>for i = 1 to number
  455.  
  456. <:#231,9025><:f200,BArial,255,0,0>    descs(i) = temper(i)
  457.  
  458. <:#231,9025><:f200,BArial,255,0,0>next<:f>
  459.  
  460. @Outline2@<:#231,9025>Filledit(9000,&Descs)
  461.  
  462. @Outline2@<:#284,9025>allocglobalvar("loadem", 200) <:f240,BArial,0,0,255>' keep track of the stuff in the list box<:f>
  463.  
  464. @Outline2@<:#231,9025>allocglobalvar("count", 1)
  465.  
  466. @Outline2@<:#231,9025>setglobalvar("count", 1)
  467.  
  468. @Outline2@<:#284,9025>onerror endit <:f240,BArial,0,0,255>' set up error and cancel routines<:f>
  469.  
  470. @Outline2@<:#231,9025>oncancel endit
  471.  
  472. @Outline2@<:#231,9025>'font handing
  473.  
  474. @Outline3@<:#231,9025>AllocGlobalVar(HFONT, 1)
  475.  
  476. @Outline3@<:#231,9025>if getglobalvar$(HFONT) != ""
  477.  
  478. @Outline3@<:#231,9025>'    SetGlobalVar(HFONT, 0)
  479.  
  480. @Outline3@<:#231,9025>endif
  481.  
  482. @Outline2@<:#231,9025>filledit(20, True)
  483.  
  484. @Outline2@<:#231,9025>DlgKeyInterrupt(VK_F1, "{rmac}!helpme")
  485.  
  486. @Outline2@<:#284,9025><:>SetDlgCallBack (9000,"{rmac}!showdesc") <:f240,BArial,0,0,255>' load dlg items for callback functions<:f>
  487.  
  488. @Outline2@<:#231,9025>SetDlgCallBack (9003,"{rmac}!showdesc")
  489.  
  490. @Outline2@<:#231,9025>SetDlgCallBack (70,"{rmac}!Add")
  491.  
  492. @Outline2@<:#231,9025>SetDlgCallBack (71,"{rmac}!Del")
  493.  
  494. @Outline2@<:#231,9025>SetDlgCallBack (77,"{rmac}!cwp")
  495.  
  496. @Outline2@<:#231,9025>SetDlgCallBack(20,"{rmac}!sorttype")
  497.  
  498. @Outline2@<:#231,9025>SetDlgCallBack (0,"{rmac}!PreBuild")
  499.  
  500. @Outline2@<:#231,9025>loadlist("")
  501.  
  502. @Outline2@<:#284,9025>Box = Dialogbox(".","showfiles") <:f240,BArial,0,0,255>' display the dialog box<:f>
  503.  
  504. @Outline2@<:#284,9025>switch box <:f240,BArial,0,0,255>' what did the user do<:f>
  505.  
  506. @Outline2@<:#231,9025>    case 0
  507.  
  508. @Outline3@<:#231,9025>        goto endit
  509.  
  510. @Outline2@<:#284,9025>    case 4 <:f240,BArial,0,0,255>' save stuff and close box<:f>
  511.  
  512. @Outline3@<:#231,9025>        savelist("")
  513.  
  514. @Outline3@<:#231,9025>        freeit("")
  515.  
  516. @Outline3@<:#231,9025>        exit function
  517.  
  518. @Outline2@<:#284,9025>    case 3 <:f240,BArial,0,0,255>' play the macro<:f>
  519.  
  520. @Outline3@<:#231,9025>        savelist("")
  521.  
  522. @Outline3@<:#231,9025>        freeit("")
  523.  
  524. @Outline3@<:#231,9025>        longname = GetDialogField$(9000)
  525.  
  526. @Outline3@<:#231,9025>        tname=strfield$(longname, 2, "|")
  527.  
  528. @Outline3@<:#231,9025>        mac = ucase$(tname)
  529.  
  530. @Outline3@<:#284,9025>        if mac = ucase$("_info.smm") <:f240,BArial,0,0,255>' trying to run us?<:f>
  531.  
  532. @Outline3@<:#231,9025>            message("You are already running {mac}")
  533.  
  534. @Outline3@<:#231,9025>            goto hosemenot
  535.  
  536. @Outline3@<:#231,9025>        endif
  537.  
  538. @Outline3@<:#231,9025>        go = decide("Run the macro ""{mac}""?")
  539.  
  540. @Outline3@<:#231,9025>        if go = 1
  541.  
  542. @Outline3@<:#231,9025>            hourglass(0)
  543.  
  544. @Outline3@<:#231,9025>            calli mac()
  545.  
  546. @Outline3@<:#231,9025>        endif
  547.  
  548. @Outline3@<:#231,9025>        hosemenot:
  549.  
  550. @Outline3@<:#231,9025>        RunLater(rmac, "00:00.02")
  551.  
  552. @Outline2@<:#284,9025>    case 1 <:f240,BArial,0,0,255>' wants to get help on the macro<:f>
  553.  
  554. @Outline3@<:f240,BArial,0,0,255><:f><:f240,BArial,0,0,255><:f>        defstr count;
  555.  
  556. @Outline3@<:#231,9025>        savelist("")
  557.  
  558. @Outline3@<:#231,9025>        freeit("")
  559.  
  560. @Outline3@<:#231,9025>        if assign(&count, getopenfilecount()) << 1
  561.  
  562. @Outline3@<:#231,9025>            goto jump
  563.  
  564. @Outline3@<:#231,9025>        endif
  565.  
  566. @Outline3@<:#284,9025>        dim mdifiles(count) <:f240,BArial,0,0,255>' is goodies open?<:f>
  567.  
  568. @Outline3@<:#231,9025>        getopenfilenames(&mdifiles)
  569.  
  570. @Outline3@<:#231,9025>        alreadyopen = 0
  571.  
  572. @Outline3@<:#231,9025>        for i = 1 to count
  573.  
  574. @Outline3@<:#231,9025>            if kinstr(1, lcase$(mdifiles(i)), "goodies.sam") <;> 0
  575.  
  576. @Outline3@<:#231,9025>                alreadyopen = 1
  577.  
  578. @Outline3@<:#231,9025>                break
  579.  
  580. @Outline3@<:#231,9025>            endif
  581.  
  582. @Outline3@<:#231,9025>        next
  583.  
  584. @Outline3@<:#231,9025>        if alreadyopen = 0
  585.  
  586. @Outline3@<:#231,9025>            opts = 1
  587.  
  588. @Outline3@<:#284,9025>            if count << 1 <:f240,BArial,0,0,255>' didn't have a mdi window<:f>
  589.  
  590. @Outline3@<:#231,9025>                jump:
  591.  
  592. @Outline3@<:#231,9025>                defstyle = getprofilestring$("amipro", "defstyle", "amipro.ini")
  593.  
  594. @Outline3@<:#284,9025>                new(defstyle, 0, 0) <:f240,BArial,0,0,255>' open window<:f>
  595.  
  596. @Outline3@<:#231,9025>                opts = 129
  597.  
  598. @Outline3@<:#231,9025>            endif
  599.  
  600. @Outline3@<:#231,9025>            FileOpen(strcat$(getdocpath$(), "goodies.sam"),  opts, "")
  601.  
  602. @Outline3@<:#231,9025>        else
  603.  
  604. @Outline3@<+B><:#231,9025>            appmaximize("goodies.sam")
  605.  
  606. @Outline3@<:#231,9025>            layoutmode()
  607.  
  608. @Outline3@<:#231,9025>        endif
  609.  
  610. @Outline3@<:#231,9025>        longname = GetDialogField$(9000)
  611.  
  612. @Outline3@<:#231,9025>        tname=ucase$(strfield$(longname, 2, "|"))
  613.  
  614. @Outline3@<:#231,9025>        markpage=GetBookMarkPage(tName)
  615.  
  616. @Outline3@<+B><:#231,9025>'        GoToCmd(1, markPage, 0)
  617.  
  618. @Outline3@<:#231,9025>'        markbookmark(ucase$(tname), findbookmark)
  619.  
  620. @Outline3@<:#231,9025>        Replace(0, 0, 8197, TNAME, "")
  621.  
  622. @Outline3@<:#284,9025>        type("<[>esc]") <:f240,BArial,0,0,255>' go to bookmark of macro<:f>
  623.  
  624. @Outline3@        usercontrol("<:f,1û╛Æ⌐,><:f>Choose resume to return to AutoRun")
  625.  
  626. @Outline3@<:#231,9025>        RunLater(rmac, "00:00.02")
  627.  
  628. @Outline3@<:#231,9025>        exit function
  629.  
  630. @Outline2@<:#231,9025>endswitch
  631.  
  632. @Outline2@<:#231,9025>endit:
  633.  
  634. @Outline2@<:#231,9025>freeit("")
  635.  
  636. @Outline2@<:#231,9025>'nukefont
  637.  
  638. @Outline3@<:#231,9025>font = GetGlobalVar$(HFONT)        ' If we created
  639.  
  640. @Outline3@<:#231,9025>if (0 != font)                ' the font.
  641.  
  642. @Outline3@<:#231,9025>    DeleteObject(font)        ' Delete it
  643.  
  644. @Outline3@<:#231,9025>endif
  645.  
  646. @Outline3@<:#231,9025>result=freeglobalvar(HFONT)
  647.  
  648. @Outline2@<:#231,9025>hourglass(0)
  649.  
  650. @Outline2@<:#231,9025>cancelit:
  651.  
  652. @Outline2@<:#231,9025>    Statusbarmsg("")
  653.  
  654. @Outline2@<:#231,9025>end function
  655.  
  656. @Outline2@<:#231,9025>
  657.  
  658. @Function@<:#231,9025>Function PreBuild(hdlg, id, dummy)
  659.  
  660. @Outline2@<:#231,9025>'INITDLG(hdlg, id, stuff)
  661.  
  662. @Outline3@<:#231,9025>Font = CreateFont(13, 0, 0, 0, 400, 0, 0, 0, 128, 0, 0, 0, 32, "System")
  663.  
  664. @Outline3@<:#231,9025>if (Font)
  665.  
  666. @Outline3@<:#231,9025>    hctl = GetDlgItem(hDlg, 9000)    'one desc box
  667.  
  668. @Outline3@<:#231,9025>    hctl2 = GetDlgItem(hDlg, 9002)    'the other
  669.  
  670. @Outline3@<:#231,9025>    hctl3 = GetDlgItem(hDlg, 8007)    'the static text field for file name
  671.  
  672. @Outline3@<:#231,9025>    SendMessage(hctl, WM_SETFONT, font, 0)
  673.  
  674. @Outline3@<:#231,9025>    SendMessage(hctl2, WM_SETFONT, font, 0)
  675.  
  676. @Outline3@<:#231,9025>    SendMessage(hctl3, WM_SETFONT, font, 0)
  677.  
  678. @Outline3@<:#231,9025>    SetGlobalVar(HFONT, Font)
  679.  
  680. @Outline3@<:#231,9025>endif 
  681.  
  682. @Outline2@<:#231,9025>call UngrayButtons(hdlg)
  683.  
  684. @Outline2@<:#231,9025>call sorttype(hdlg, 20, 1)
  685.  
  686. @Outline2@<:#231,9025>end function
  687.  
  688. @Outline2@<:#231,9025>
  689.  
  690. @Function@<:#284,9025>function UngrayButtons(hdlg) <:f240,BArial,0,0,255>' this function ungrays buttons<:f>
  691.  
  692. @Outline2@<:#231,9025>enablewindow(getdlgitem(Hdlg, 71), 0)
  693.  
  694. @Outline2@<:#231,9025>'showdesc(hdlg, id, dummy)
  695.  
  696. @Outline2@<:#231,9025>if getglobalvar$("count") <;> 0
  697.  
  698. @Outline2@<:#231,9025>    enablewindow(getdlgitem(Hdlg, 71), 1)
  699.  
  700. @Outline2@<:#231,9025>endif
  701.  
  702. @Outline2@<:#231,9025>end function
  703.  
  704. @Outline2@<:#231,9025>
  705.  
  706. @Function@<:#284,9025>function freeit(x) <:f240,BArial,0,0,255>' free globals<:f>
  707.  
  708. @Outline2@<:#231,9025>freeglobalvar("loadem")
  709.  
  710. @Outline2@<:#231,9025>freeglobalvar("count")
  711.  
  712. @Outline2@<:#231,9025>end function
  713.  
  714. @Function@<:#231,9025>function saveit(hdlg)
  715.  
  716. @Outline2@<:#231,9025>hourglass(1)
  717.  
  718. @Outline2@<:#231,9025>savelist("")
  719.  
  720. @Outline2@<:#231,9025>hourglass(0)
  721.  
  722. @Outline2@<:#231,9025>end function
  723.  
  724. @Function@<:#284,9025>function showdesc(hdlg, id, dummy) <:f240,BArial,0,0,255>' get the doc info stuff from array<:f>
  725.  
  726. @Outline2@<:#231,9025>ignorekeyboard(1)
  727.  
  728. @Outline2@<:#231,9025>hourglass(1)
  729.  
  730. @Outline2@<:#231,9025>defstr ar;
  731.  
  732. @Outline2@<:#231,9025>longname = GetDlgItemText(Hdlg, id)
  733.  
  734. @Outline2@<:#231,9025>file=lcase$(strfield$(longname, 2, "|"))
  735.  
  736. @Outline2@<:#231,9025>onerror endit
  737.  
  738. @Outline2@<:#231,9025>oncancel endit
  739.  
  740. @Outline2@<:#231,9025>SetDlgItemText(Hdlg, 8007, file)
  741.  
  742. @Outline2@<:#231,9025>stat = 1
  743.  
  744. @Outline2@<:#231,9025>endit:
  745.  
  746. @Outline2@<:#231,9025>hourglass(0)
  747.  
  748. @Outline2@<:#231,9025>return stat
  749.  
  750. @Outline2@<:#231,9025>end function
  751.  
  752. @Function@<:#231,9025>function sorttype(Hdlg,id,dummy)
  753.  
  754. @Outline2@<:#231,9025>sortbydesc=getdlgitemtext(hdlg, 20)
  755.  
  756. @Outline2@<:#231,9025>if sortbydesc=1
  757.  
  758. @Outline2@<:#231,9025>    ShowWindow(GetDlgItem(Hdlg,9003), 0)
  759.  
  760. @Outline2@<:#231,9025>    ShowWindow(GetDlgItem(Hdlg,9000), 1)
  761.  
  762. @Outline2@<:#231,9025>    id=9000
  763.  
  764. @Outline2@<:#231,9025>    call showdesc(Hdlg,id,dummy)
  765.  
  766. @Outline2@<:#231,9025>else
  767.  
  768. @Outline2@<:#231,9025>    ShowWindow(GetDlgItem(Hdlg,9000), 0)
  769.  
  770. @Outline2@<:#231,9025>    ShowWindow(GetDlgItem(Hdlg,9003), 1)
  771.  
  772. @Outline2@<:#231,9025>    id=9003
  773.  
  774. @Outline2@<:#231,9025>    call showdesc(Hdlg,id,dummy)
  775.  
  776. @Outline2@<:#231,9025>endif
  777.  
  778. @Outline2@<:#231,9025>end function
  779.  
  780. @Function@<:#231,9025>DIALOG    showfiles
  781.  
  782. @Outline2@<:#231,9025>-2134376448    17    49    45    280    158    ""    "AmiDialog"    "Autorun Macros"
  783.  
  784. @Outline2@<:#231,9025>FONT    8    "System"
  785.  
  786. @Outline2@<:#231,9025>6    3    60    8    1000    1342308352    "static"    "Ma&cros:"    0 
  787.  
  788. @Outline2@<:#231,9025>6    12    155    116    9003    1352728577    "listbox"    ""    0 
  789.  
  790. @Outline2@<:#231,9025>6    12    155    122    9000    1352728577    "listbox"    ""    0 
  791.  
  792. @Outline2@<:#231,9025>164    93    44    14    70    1342373888    "button"    "&Install <;><;>"    0 
  793.  
  794. @Outline2@<:#231,9025>164    110    44    14    71    1342242816    "button"    "<<<< Re&move"    0 
  795.  
  796. @Outline2@<:#231,9025>212    66    46    8    1001    1342308352    "static"    "I&nstalled:"    0 
  797.  
  798. @Outline2@<:#231,9025>212    75    60    53    9002    1352728577    "listbox"    ""    0 
  799.  
  800. @Outline2@<:#231,9025>232    3    42    14    4    1342373888    "button"    "OK"    0 
  801.  
  802. @Outline2@<:#231,9025>232    19    42    14    2    1342373888    "button"    "Cancel"    0 
  803.  
  804. @Outline2@<:#231,9025>232    35    42    14    1    1342373889    "button"    "&Details..."    0 
  805.  
  806. @Outline2@<:#231,9025>232    51    42    14    3    1342373888    "button"    "&Run..."    0 
  807.  
  808. @Outline2@<:#231,9025>263    292    0    0    77    1342177280    "button"    "&z"    0 
  809.  
  810. @Outline2@<:#231,9025>45    140    70    10    8007    1342177280    "static"    ""    0 
  811.  
  812. @Outline2@<:#231,9025>65    1    1    1    8013    1342177280    "static"    ""    0 
  813.  
  814. @Outline2@<:#231,9025>34    3    110    8    8777    1342177281    "static"    ""    0 
  815.  
  816. @Outline2@<:#231,9025>6    140    38    10    1002    1342177280    "static"    "File name:"    0 
  817.  
  818. @Outline2@<:#231,9025>14    290    0    0    20    1342242819    "button"    "show descriptions"    0
  819.  
  820. @Outline2@<:#231,9025>END DIALOG
  821.  
  822. @Function@<:#231,9025>
  823.  
  824. @Function@<:#284,9025>Function add(Hdlg) <:f240,BArial,0,0,255>' add a macro to autorun list<:f>
  825.  
  826. @Outline2@<:#231,9025>ignorekeyboard(1)
  827.  
  828. @Outline2@<:#231,9025>defstr autos;
  829.  
  830. @Outline2@<:#231,9025>hourglass(1)
  831.  
  832. @Outline2@<:#231,9025>longname = GetDlgItemText(Hdlg, 9000)
  833.  
  834. @Outline2@<:#231,9025>tname=lcase$(strfield$(longname, 2, "|"))
  835.  
  836. @Outline2@<:#231,9025>if ckauto(lcase$(tname)) <<<;> 1
  837.  
  838. @Outline2@<:#231,9025>    return 0
  839.  
  840. @Outline2@<:#231,9025>endif
  841.  
  842. @Outline2@<:#231,9025>count = getglobalvar$("count")
  843.  
  844. @Outline2@<:#231,9025>for i = 1 to count
  845.  
  846. @Outline2@<:#231,9025>    if tname <<<;> ""
  847.  
  848. @Outline2@<:#231,9025>        if tname = lcase$(getglobalarray$("loadem", i))
  849.  
  850. @Outline2@<:#231,9025>            message("That macro is already set to ""AutoRun""")        
  851.  
  852. @Outline2@<:#231,9025>            hourglass(0)
  853.  
  854. @Outline2@<:#231,9025>            return 1
  855.  
  856. @Outline2@<:#231,9025>        endif
  857.  
  858. @Outline2@<:#231,9025>    endif
  859.  
  860. @Outline2@<:#231,9025>next
  861.  
  862. @Outline2@<:#231,9025>SetDlgItemText(Hdlg, 9002, tname)
  863.  
  864. @Outline2@<:#231,9025>enablewindow(getdlgitem(Hdlg, 71), 1)
  865.  
  866. @Outline2@<:#231,9025>count = getglobalvar$("count") + 1
  867.  
  868. @Outline2@<:#231,9025>setglobalarray("loadem", count, tname)
  869.  
  870. @Outline2@<:#231,9025>setglobalvar("count", count)
  871.  
  872. @Outline2@<:#231,9025>if GetDlgItemText(Hdlg, 9002) = ""
  873.  
  874. @Outline2@<:#231,9025>    enablewindow(getdlgitem(Hdlg, 71), 0)
  875.  
  876. @Outline2@<:#231,9025>endif
  877.  
  878. @Outline2@<:#231,9025>hourglass(0)
  879.  
  880. @Outline2@<:#231,9025>End Function
  881.  
  882. @Function@<:#231,9025><:><:>
  883.  
  884. @Function@<:#284,9025>Function del(Hdlg) <:f240,BArial,0,0,255>' delete macro from autorun list<:f>
  885.  
  886. @Outline2@<:#231,9025>ignorekeyboard(1)
  887.  
  888. @Outline2@<:#231,9025>hourglass(1)
  889.  
  890. @Outline2@<:#231,9025>sname = GetDlgItemText(Hdlg, 9002)
  891.  
  892. @Outline2@<:#231,9025>if sname = ""
  893.  
  894. @Outline2@<:#231,9025>    return 0
  895.  
  896. @Outline2@<:#231,9025>endif
  897.  
  898. @Outline2@<:#231,9025>Handle=GetDlgItem(Hdlg, 9002)
  899.  
  900. @Outline2@<:#231,9025>AppSendMessage(Handle, 0x0405, 0, 0)
  901.  
  902. @Outline2@<:#231,9025>count = getglobalvar$("count")
  903.  
  904. @Outline2@<:#231,9025>if count = 0
  905.  
  906. @Outline2@<:#231,9025>    enablewindow(getdlgitem(Hdlg, 71), 0)
  907.  
  908. @Outline2@<:#231,9025>    return 0
  909.  
  910. @Outline2@<:#231,9025>endif    
  911.  
  912. @Outline2@<:#231,9025>for i = 1 to count
  913.  
  914. @Outline2@<:#231,9025>    xname = getglobalarray$("loadem", i)
  915.  
  916. @Outline2@<:#231,9025>    if xname = sname
  917.  
  918. @Outline2@<:#231,9025>        setglobalarray("loadem", i, "")
  919.  
  920. @Outline2@<:#231,9025>    else
  921.  
  922. @Outline2@<:#231,9025>        if xname <<<;> ""
  923.  
  924. @Outline2@<:#231,9025>            SetDlgItemText(Hdlg, 9002, xname)
  925.  
  926. @Outline2@<:#231,9025>        endif
  927.  
  928. @Outline2@<:#231,9025>        setglobalarray("loadem", i, xname)
  929.  
  930. @Outline2@<:#231,9025>    endif
  931.  
  932. @Outline2@<:#231,9025>next
  933.  
  934. @Outline2@<:#231,9025>hourglass(0)
  935.  
  936. @Outline2@<:#231,9025>highlighted=getdlgitemtext(hdlg, 9002)
  937.  
  938. @Outline2@<:#231,9025>if highlighted = ""
  939.  
  940. @Outline2@<:#231,9025>    enablewindow(getdlgitem(Hdlg, 71), 0)
  941.  
  942. @Outline2@<:#231,9025>endif
  943.  
  944. @Outline2@<:#231,9025>End Function
  945.  
  946. @Function@<:#231,9025>function helpme(hdlg)
  947.  
  948. @Outline2@<:#231,9025>box = dialogbox(".", "help")
  949.  
  950. @Outline2@<:#231,9025>end function
  951.  
  952. @Outline2@<:#231,9025>
  953.  
  954. @Function@<:#231,9025>DIALOG help
  955.  
  956. @Outline2@<:#231,9025>-2134376448 5 59 30 160 124 "" "" "Info Help"
  957.  
  958. @Outline2@<:#231,9025>FONT 8 "Helv"
  959.  
  960. @Outline2@<:#231,9025>60 105 40 14 1 1342242817 "button" "OK" 0 
  961.  
  962. @Outline2@<:#231,9025>11 21 138 18 1001 1342177280 "static" "Select a feature and choose Install to make it AutoRun." 0 
  963.  
  964. @Outline2@<:#231,9025>6 7 148 89 80 1342177287 "button" "Macro Install" 0 
  965.  
  966. @Outline2@<:#462,9025>11 42 138 18 1002 1342177280 "static" "Choose Details to view detailed information about a feature." 0 
  967.  
  968. @Outline2@<:#231,9025>11 64 138 18 1000 1342177280 "static" "To see a demonstration of the feature, choose Run." 0 
  969.  
  970. @Outline2@<:#231,9025>END DIALOG
  971.  
  972. @Function@<:#231,9025>
  973.  
  974. @Function@<:#284,9025>function loadlist(x) <:f240,BArial,0,0,255>' load list of autorun macros from amiauto.cfg file<:f>
  975.  
  976. @Outline2@<:#231,9025>ignorekeyboard(1)
  977.  
  978. @Outline2@<:#231,9025>hourglass(1)
  979.  
  980. @Subhead@<:#284,9025>windir = getwindowsdirectory$()
  981.  
  982. @Subhead@<:#284,9025>autofile = strcat$(windir, "amiauto.cfg")
  983.  
  984. @Outline2@<:#231,9025>ck = findfirst$(autofile, 33)
  985.  
  986. @Outline2@<:#231,9025>if ck = ""
  987.  
  988. @Outline2@<:#231,9025>    option = "w"
  989.  
  990. @Outline2@<:#231,9025>else
  991.  
  992. @Outline2@<:#231,9025>    option = "r"
  993.  
  994. @Outline2@<:#231,9025>endif
  995.  
  996. @Outline2@<:#231,9025>fh = fopen(autofile, option)
  997.  
  998. @Outline2@<:#231,9025>if fh << 1
  999.  
  1000. @Outline2@<:#231,9025>    message("Unable to create file AMIAUTO.CFG")
  1001.  
  1002. @Outline2@<:#231,9025>    return -1
  1003.  
  1004. @Outline2@<:#231,9025>endif
  1005.  
  1006. @Outline2@<:#231,9025>if option = "w"
  1007.  
  1008. @Outline2@<:#231,9025>    goto endit
  1009.  
  1010. @Outline2@<:#231,9025>endif
  1011.  
  1012. @Outline2@<:#231,9025>onerror endit
  1013.  
  1014. @Outline2@<:#231,9025>oncancel endit
  1015.  
  1016. @Outline2@<:#231,9025>i = 0
  1017.  
  1018. @Outline2@<:#231,9025>while (1)
  1019.  
  1020. @Outline2@<:#231,9025>    txt = fgets$(fh)
  1021.  
  1022. @Outline2@<:#231,9025>    if txt = -1
  1023.  
  1024. @Outline2@<:#231,9025>        break
  1025.  
  1026. @Outline2@<:#231,9025>    endif
  1027.  
  1028. @Outline2@<:#231,9025>    i = i + 1
  1029.  
  1030. @Outline2@<:#231,9025>    setglobalarray("loadem", i, txt)
  1031.  
  1032. @Outline2@<:#231,9025>    filledit(9002, txt)
  1033.  
  1034. @Outline2@<:#231,9025>wend
  1035.  
  1036. @Outline2@<:#231,9025>endit:
  1037.  
  1038. @Outline2@<:#231,9025>fclose(fh)
  1039.  
  1040. @Outline2@<:#231,9025>setglobalvar("count", i)
  1041.  
  1042. @Outline2@<:#231,9025>hourglass(0)
  1043.  
  1044. @Outline2@<:#231,9025>end function
  1045.  
  1046. @Outline2@<:#231,9025>
  1047.  
  1048. @Function@<:#284,9025>function savelist(x) <:f240,BArial,0,0,255>' write out list of macros to be autorun<:f>
  1049.  
  1050. @Outline2@<:#231,9025>ignorekeyboard(1)
  1051.  
  1052. @Outline2@<:#231,9025>hourglass(1)
  1053.  
  1054. @Subhead@<:#284,9025>windir = getwindowsdirectory$()
  1055.  
  1056. @Subhead@<:#284,9025>autofile = strcat$(windir, "amiauto.cfg")
  1057.  
  1058. @Outline2@<:#231,9025>defstr txt;
  1059.  
  1060. @Outline2@<:#231,9025>fh = fopen(autofile, "w")
  1061.  
  1062. @Outline2@<:#231,9025>if fh << 1
  1063.  
  1064. @Outline2@<:#231,9025>    message("Unable to save file AMIAUTO.CFG")
  1065.  
  1066. @Outline2@<:#231,9025>    hourglass(0)
  1067.  
  1068. @Outline2@<:#231,9025>    return -1
  1069.  
  1070. @Outline2@<:#231,9025>endif
  1071.  
  1072. @Outline2@<:#231,9025>onerror endit
  1073.  
  1074. @Outline2@<:#231,9025>oncancel endit
  1075.  
  1076. @Outline2@<:#231,9025>count = getglobalvar$("count")
  1077.  
  1078. @Outline2@<:#231,9025>for i = 1 to count
  1079.  
  1080. @Outline2@<:#231,9025>    if assign(&txt, getglobalarray$("loadem", i)) <<<;> ""
  1081.  
  1082. @Outline2@<:#231,9025>        fputs(fh, txt)
  1083.  
  1084. @Outline2@<:#231,9025>    endif
  1085.  
  1086. @Outline2@<:#231,9025>next
  1087.  
  1088. @Outline2@<:#231,9025>endit:
  1089.  
  1090. @Outline2@<:#231,9025>fclose(fh)
  1091.  
  1092. @Outline2@<:#231,9025>hourglass(0)
  1093.  
  1094. @Outline2@<:#231,9025>call zproglod("")
  1095.  
  1096. @Outline2@<:#231,9025>end function
  1097.  
  1098. @Outline2@<:#231,9025>
  1099.  
  1100. @Function@<:#231,9025>function zgood(macro) 
  1101.  
  1102. @Outline2@<:#231,9025>declare ckauto(file)
  1103.  
  1104. @Outline2@<:#231,9025>which = kmid$(macro,1, 2)
  1105.  
  1106. @Outline2@<:#231,9025>mac = kmid$(macro, 3,tlen(macro))
  1107.  
  1108. @Outline2@<:#231,9025>switch which
  1109.  
  1110. @Outline2@<:#231,9025>    case "td"
  1111.  
  1112. @Outline2@<:#231,9025>        calli mac()
  1113.  
  1114. @Outline2@<:#231,9025>    case "ar"
  1115.  
  1116. @Outline2@<:#231,9025>        runit = ckauto(mac)
  1117.  
  1118. @Outline2@<:#231,9025>        if runit <<<;> 1
  1119.  
  1120. @Outline2@<:#231,9025>            message("{mac} not intended to AutoRun")
  1121.  
  1122. @Outline2@<:#231,9025>            return -1
  1123.  
  1124. @Outline2@<:#231,9025>        endif
  1125.  
  1126. @Outline2@<:#231,9025>        if call zmkauto(mac) = 1
  1127.  
  1128. @Outline2@<:#231,9025>            message("{mac} installed as AutoRun.")
  1129.  
  1130. @Outline2@<:#231,9025>        endif
  1131.  
  1132. @Outline2@<:#231,9025>    case    "si"
  1133.  
  1134. @Outline2@<:#231,9025>        call _autorun.smm()        
  1135.  
  1136. @Outline2@<:#231,9025>endswitch
  1137.  
  1138. <:#231,9025><:f200,BArial,>end function
  1139.  
  1140. <:#231,9025><:f200,BArial,>
  1141.  
  1142. <:#231,9025><:f200,BArial,>function ckauto(file)<:f>
  1143.  
  1144. @Outline2@<:#231,9025>ignorekeyboard(1)
  1145.  
  1146. @Outline2@<:#231,9025>hourglass(1)
  1147.  
  1148. @Outline2@<:#231,9025>fh = fopen(file, "r")
  1149.  
  1150. @Outline2@<:#231,9025>if fh << 1
  1151.  
  1152. @Outline2@<:#231,9025>    statusbarmsg("Unable to read file")
  1153.  
  1154. @Outline2@<:#231,9025>    hourglass(0)
  1155.  
  1156. @Outline2@<:#231,9025>    return -1
  1157.  
  1158. @Outline2@<:#231,9025>endif
  1159.  
  1160. @Outline2@<:#231,9025>onerror endit
  1161.  
  1162. @Outline2@<:#231,9025>oncancel endit
  1163.  
  1164. @Outline2@<:#231,9025>line = ""
  1165.  
  1166. @Outline2@<:#231,9025>b = mid$("<[><[>", 1, 1)
  1167.  
  1168. @Outline2@<:#231,9025>while (line <<<;> "{b}desc]")
  1169.  
  1170. @Outline2@<:#231,9025>    line = fgets$(fh)
  1171.  
  1172. @Outline2@<:#231,9025>    if line = -1
  1173.  
  1174. @Outline2@<:#231,9025>        fclose(fh)
  1175.  
  1176. @Outline2@<:#231,9025>        hourglass(0)
  1177.  
  1178. @Outline2@<:#231,9025>        return -1
  1179.  
  1180. @Outline2@<:#231,9025>    endif
  1181.  
  1182. @Outline2@<:#231,9025>wend
  1183.  
  1184. @Outline2@<:#231,9025>defstr ar;
  1185.  
  1186. @Outline2@<:#231,9025>again:
  1187.  
  1188. @Outline2@<:#231,9025>for i = 1 to 4
  1189.  
  1190. @Outline2@<:#231,9025>    fgets$(fh)
  1191.  
  1192. @Outline2@<:#231,9025>next
  1193.  
  1194. @Outline2@<:#231,9025>if assign(&ar, ucase$(strfield$(fgets$(fh), 2, "    "))) = "NOAUTORUN"
  1195.  
  1196. @Outline2@<:#231,9025>    stat = 0
  1197.  
  1198. @Outline2@<:#231,9025>else
  1199.  
  1200. @Outline2@<:#231,9025>    stat = 1
  1201.  
  1202. @Outline2@<:#231,9025>endif
  1203.  
  1204. @Outline2@<:#231,9025>endit:
  1205.  
  1206. @Outline2@<:#231,9025>fclose(fh)
  1207.  
  1208. @Outline2@<:#231,9025>hourglass(0)
  1209.  
  1210. @Outline2@<:#231,9025>return stat
  1211.  
  1212. @Outline2@<:#231,9025>end function
  1213.  
  1214. @Outline2@<:#231,9025>
  1215.  
  1216. @Function@<:#231,9025>function GetName(hdlg, id, dummy)
  1217.  
  1218. @Outline2@<:#231,9025>text=getdlgitemtext(hdlg, id)
  1219.  
  1220. @Outline2@<:#231,9025>macname=strfield$(text, 2, "|")
  1221.  
  1222. @Outline2@<:#231,9025>setdlgitemtext(hdlg, 2, macname)
  1223.  
  1224. @Outline2@<:#231,9025>end function
  1225.  
  1226. @Outline2@<:#231,9025>
  1227.  
  1228. @Function@<:#231,9025>Function LoadDocDesc(Descs, macfiles)
  1229.  
  1230. @Function@<:#231,9025>'singlestep(1)
  1231.  
  1232. @Outline2@<:#231,9025>mpath = GetMacPath$()
  1233.  
  1234. @Outline2@<:#231,9025>DefStr DInfo;
  1235.  
  1236. @Outline2@<:#231,9025>DefStr Id;
  1237.  
  1238. @Outline2@<:#231,9025>j = 1
  1239.  
  1240. @Outline2@<:#231,9025>total = getglobalvar$("autodesctotal")
  1241.  
  1242. @Outline2@<:#231,9025>for i = 1 to total;
  1243.  
  1244. @Outline2@<:#231,9025>    name = *macfiles(i)
  1245.  
  1246. @Outline2@<:#231,9025>    statusbarmsg("Loading description for file {name}...")
  1247.  
  1248. @Outline2@<:#231,9025>    If 0 != Assign(&Id,Fopen("{mpath}{Name}","r"))
  1249.  
  1250. @Outline2@<:#231,9025>        DInfo=GetDocInfo(Id)
  1251.  
  1252. @Outline2@<:#231,9025>        if DInfo != -1
  1253.  
  1254. @Outline2@<:#231,9025>            Data = StrCat$(DInfo,"                                                                      |",Name)
  1255.  
  1256. @Outline2@<:#231,9025>            if tlen(DInfo) <;> 1
  1257.  
  1258. @Outline2@<:#231,9025>                ArrayInsert(&descs, j, data)
  1259.  
  1260. @Outline2@<:#231,9025>                j = j + 1
  1261.  
  1262. @Outline2@<:#231,9025>            endif
  1263.  
  1264. @Outline2@<:#231,9025>        endif
  1265.  
  1266. @Outline2@<:#231,9025>        Fclose(id)
  1267.  
  1268. @Outline2@<:#231,9025>    endif
  1269.  
  1270. @Outline2@<:#231,9025>next
  1271.  
  1272. @Outline2@<:#231,9025>HourGlass(off)
  1273.  
  1274. @Outline2@<:#231,9025>StatusBarMsg("")
  1275.  
  1276. @Outline2@<:#231,9025>End Function
  1277.  
  1278. @Outline2@<:#231,9025>
  1279.  
  1280. @Function@<:#231,9025>FUNCTION DiskFmtToAnsi(str)
  1281.  
  1282. @Outline2@<:#231,9025>'- convert an ascii string from AmiPro disk format to ANSI.
  1283.  
  1284. @Outline2@<:#231,9025>defstr    c;
  1285.  
  1286. @Outline2@<:#231,9025>if (kInstr(1, str, "<<"))        ' Got any funny stuff?
  1287.  
  1288. @Outline2@<:#231,9025>    newstr = "";
  1289.  
  1290. @Outline2@<:#231,9025>    off = 1;
  1291.  
  1292. @Outline2@<:#231,9025>    ' Loop over all the chars one at a time looking for
  1293.  
  1294. @Outline2@<:#231,9025>    ' for the escape char.  Off will track where we get the
  1295.  
  1296. @Outline2@<:#231,9025>    ' next char from the input stream. Newstr is where we 
  1297.  
  1298. @Outline2@<:#231,9025>    ' will build the return string.
  1299.  
  1300. @Outline2@<:#231,9025>    while ("" != Assign(&c, kMid$(str, off, 1)))
  1301.  
  1302. @Outline2@<:#231,9025>        off = off + 1;
  1303.  
  1304. @Outline2@<:#231,9025>        if (c = "<<")
  1305.  
  1306. @Outline2@<:#231,9025>            c = kMid$(str, off, 1);
  1307.  
  1308. @Outline2@<:#231,9025>            off = off + 1;
  1309.  
  1310. @Outline2@<:#231,9025>            if (c != "<<")
  1311.  
  1312. @Outline2@<:#231,9025>                nc = kMid$(str, off, 1);
  1313.  
  1314. @Outline2@<:#231,9025>                off = off + 2
  1315.  
  1316. @Outline2@<:#231,9025>                switch c
  1317.  
  1318. @Outline2@<:#231,9025>                    case "*"
  1319.  
  1320. @Outline2@<:#231,9025>                        c = chr$(asc(nc) - 0x20);
  1321.  
  1322. @Outline2@<:#231,9025>                    case "/"
  1323.  
  1324. @Outline2@<:#231,9025>                        c = chr$(asc(nc) + 0x40);
  1325.  
  1326. @Outline2@<:#231,9025>                    case "\"
  1327.  
  1328. @Outline2@<:#231,9025>                        c = chr$(asc(nc) + 0x80);
  1329.  
  1330. @Outline2@<:#231,9025>                endswitch
  1331.  
  1332. @Outline2@<:#231,9025>            endif
  1333.  
  1334. @Outline2@<:#231,9025>        endif
  1335.  
  1336. @Outline2@<:#231,9025>        newstr = strcat$(newstr, c);
  1337.  
  1338. @Outline2@<:#231,9025>    wend
  1339.  
  1340. @Outline2@<:#231,9025>    str = newstr;
  1341.  
  1342. @Outline2@<:#231,9025>endif
  1343.  
  1344. @Outline2@<:#231,9025>return str;
  1345.  
  1346. @Outline2@<:#231,9025>END FUNCTION
  1347.  
  1348. @Outline2@<:#231,9025>
  1349.  
  1350. @Function@<:#231,9025>Function GetDocInfo(Fh)
  1351.  
  1352. @Outline2@<:#231,9025>DefStr Data, LocateDesc;
  1353.  
  1354. @Outline2@<:#284,9025><:f240,BArial,0,0,255>'SingleStep(on)<:f>
  1355.  
  1356. @Outline2@<:#231,9025>If "" = Assign(&Data, Fread(FH,500))
  1357.  
  1358. @Outline2@<:#231,9025>    Return ""
  1359.  
  1360. @Outline2@<:#231,9025>Endif
  1361.  
  1362. @Outline2@<:#231,9025>If 0 != Assign(&LocateDesc, kinstr(1, Data,"esc]"))
  1363.  
  1364. @Outline2@<:#231,9025>    Desc = kMid$(Data,LocateDesc,(LocateDesc + 384))
  1365.  
  1366. @Outline2@<:#231,9025>    RealDesc = StrField$(Desc, 2, "    ")
  1367.  
  1368. @Outline2@<:#231,9025>    autorunstat = StrField$(Desc, 6, "    ")
  1369.  
  1370. @Outline2@<:#231,9025>    if kinstr (1, lcase$(autorunstat), "noautorun") != 0
  1371.  
  1372. @Outline2@<:#231,9025>        Return -1
  1373.  
  1374. @Outline2@<:#231,9025>    endif
  1375.  
  1376. @Outline2@<:#231,9025>    lenRealDesc= tlen (RealDesc) - 1
  1377.  
  1378. @Outline2@<:#231,9025>    RealDesc = kmid$(RealDesc,1, lenRealDesc)
  1379.  
  1380. @Outline2@<:#231,9025>    if lenrealdesc <;> 80
  1381.  
  1382. @Outline2@<:#231,9025>        RealDesc = kmid$(RealDesc,1, 80)
  1383.  
  1384. @Outline2@<:#231,9025>    endif
  1385.  
  1386. @Outline2@<:#231,9025>    realDesc = DiskFmtToAnsi(realdesc)
  1387.  
  1388. @Outline2@<:#231,9025>    Return RealDesc
  1389.  
  1390. @Outline2@<:#231,9025>Endif
  1391.  
  1392. @Outline2@<:#231,9025>End Function
  1393.  
  1394. @Function@<:#231,9025>
  1395.  
  1396. @Function@<:#231,9025>function countfiles(filespec, macfiles)
  1397.  
  1398. @Outline2@<:#231,9025>switchkit = "SKDATA1.SMM SKDATA2.SMM SKAUTO.SMM SKEXIT.SMM"
  1399.  
  1400. @Outline2@<:#462,9025>dontuse = "AUTOCLOS.SMM AUTOOPEN.SMM AUTONEW.SMM AUTOEXIT.SMM AUTOEXEC.SMM"
  1401.  
  1402. @Outline2@<:#462,9025>moredonts="AUTOCAL.SMM TOAGEN.SMM TOALONG.SMM TOAREMOV.SMM TOASHORT.SMM FAX.SMM"
  1403.  
  1404. @Outline2@<:#231,9025>dontuse = strcat$(dontuse, switchkit, moredonts)
  1405.  
  1406. @Outline2@<:#231,9025>
  1407.  
  1408. @Outline2@<:#231,9025>allocglobalvar("autodesctotal", 1)
  1409.  
  1410. @Outline2@<:#231,9025>count = 0
  1411.  
  1412. @Outline2@<:#231,9025>name = findfirst$(filespec, 1)
  1413.  
  1414. @Outline2@<:#231,9025>if name = ""
  1415.  
  1416. @Outline2@<:#231,9025>    setglobalvar("autodesctotal", count)
  1417.  
  1418. @Outline2@<:#231,9025>    return count
  1419.  
  1420. @Outline2@<:#231,9025>endif
  1421.  
  1422. @Outline2@<:#231,9025>if kinstr(1, dontuse, Name) = 0
  1423.  
  1424. @Outline2@<:#231,9025>    count = 1;
  1425.  
  1426. @Outline2@<:#231,9025>    *macfiles(1) = name
  1427.  
  1428. @Outline2@<:#231,9025>endif
  1429.  
  1430. @Outline2@<:#231,9025>while (1)
  1431.  
  1432. @Outline2@<:#231,9025>    name = findnext$()
  1433.  
  1434. @Outline2@<:#231,9025>    if name = ""
  1435.  
  1436. @Outline2@<:#231,9025>        break
  1437.  
  1438. @Outline2@<:#231,9025>    endif
  1439.  
  1440. @Outline2@<:#231,9025>    if kinstr(1, dontuse, Name) = 0
  1441.  
  1442. @Outline2@<:#231,9025>        count = count +1 
  1443.  
  1444. @Outline2@<:#231,9025>        ArrayInsert(&macfiles, count, name)
  1445.  
  1446. @Outline2@<:#231,9025>    endif
  1447.  
  1448. @Outline2@<:#231,9025>wend
  1449.  
  1450. @Outline2@<:#231,9025>setglobalvar("autodesctotal", count)
  1451.  
  1452. @Outline2@<:#231,9025>return count
  1453.  
  1454. @Outline2@<:#231,9025>end function
  1455.  
  1456. @Outline2@<:#231,9025>
  1457.  
  1458. @Function@<:#231,9025>function zproglod()
  1459.  
  1460. @Outline2@<:#231,9025>defstr macro;
  1461.  
  1462. @Outline2@<:#231,9025>rmac=GetRunningMacroFile$()
  1463.  
  1464. @Outline2@<:#231,9025>pause(001)
  1465.  
  1466. @Outline2@<:#231,9025>ignorekeyboard(1)
  1467.  
  1468. @Outline2@<:#231,9025>curauto = lcase$(getprofilestring$("amipro", "automacroload", "amipro.ini"))
  1469.  
  1470. @Outline2@<:#231,9025>if "_autorun.smm!zrunmacs" = assign(¯o, strfield$(curauto, 2, ","))
  1471.  
  1472. @Outline2@<:#231,9025>    return 1
  1473.  
  1474. @Outline2@<:#231,9025>elseif "zrunmacs.smm" = assign(¯o, strfield$(curauto, 2, ","))
  1475.  
  1476. @Outline2@<:#231,9025>    writeprofilestring("amipro", "automacroload", "1,_autorun.smm!zrunmacs", "amipro.ini")
  1477.  
  1478. @Outline2@<:#231,9025>    return 1
  1479.  
  1480. @Outline2@<:#231,9025>endif
  1481.  
  1482. @Outline2@<:#231,9025>if 1 = strfield$(curauto, 1, ",")
  1483.  
  1484. @Outline2@<:#231,9025>    call zmkauto(macro)
  1485.  
  1486. @Outline2@<:#231,9025>endif
  1487.  
  1488. @Outline2@<:#231,9025>writeprofilestring("amipro", "automacroload", "1,_autorun.smm!zrunmacs", "amipro.ini")
  1489.  
  1490. @Outline2@<:#231,9025>end function
  1491.  
  1492. @Outline2@<:#231,9025>
  1493.  
  1494. @Function@<:#231,9025>FUNCTION zmkauto(macro)
  1495.  
  1496. @Outline2@<:#231,9025>defstr autos;
  1497.  
  1498. @Outline2@<:#231,9025>ignorekeyboard(1)
  1499.  
  1500. @Outline2@<:#231,9025>windir = getwindowsdirectory$()
  1501.  
  1502. @Outline2@<:#231,9025>autofile = strcat$(windir, "amiauto.cfg")
  1503.  
  1504. @Outline2@<:#231,9025>ck = findfirst$(autofile, 33)
  1505.  
  1506. @Outline2@<:#231,9025>if ck = ""
  1507.  
  1508. @Outline2@<:#231,9025>    fh = fopen(autofile, "w")
  1509.  
  1510. @Outline2@<:#231,9025>    if fh << 1
  1511.  
  1512. @Outline2@<:#231,9025>        message("Unable to create file AMIAUTO.CFG.")
  1513.  
  1514. @Outline2@<:#231,9025>        return -1
  1515.  
  1516. @Outline2@<:#231,9025>    endif
  1517.  
  1518. @Outline2@<:#231,9025>    fclose(fh)
  1519.  
  1520. @Outline2@<:#231,9025>endif
  1521.  
  1522. @Outline2@<:#231,9025>fh = fopen(autofile, "r")
  1523.  
  1524. @Outline2@<:#231,9025>if fh << 1
  1525.  
  1526. @Outline2@<:#231,9025>    message("Unable to read file AMIAUTO.CFG.")
  1527.  
  1528. @Outline2@<:#231,9025>    return -1
  1529.  
  1530. @Outline2@<:#231,9025>endif
  1531.  
  1532. @Outline2@<:#231,9025>while (1)
  1533.  
  1534. @Outline2@<:#231,9025>    if assign(&autos, fgets$(fh)) <;> 0
  1535.  
  1536. @Outline2@<:#231,9025>        if lcase$(macro) = lcase$(autos)
  1537.  
  1538. @Outline2@<:#231,9025>'            message("{macro} is already set to be an AutoRun macro.")
  1539.  
  1540. @Outline2@<:#231,9025>            return 0
  1541.  
  1542. @Outline2@<:#231,9025>        endif
  1543.  
  1544. @Outline2@<:#231,9025>    else
  1545.  
  1546. @Outline2@<:#231,9025>        break
  1547.  
  1548. @Outline2@<:#231,9025>    endif
  1549.  
  1550. @Outline2@<:#231,9025>wend
  1551.  
  1552. @Outline2@<:#231,9025>fclose(fh)
  1553.  
  1554. @Outline2@<:#231,9025>fh = fopen(autofile, "a")
  1555.  
  1556. @Outline2@<:#231,9025>if fh << 1
  1557.  
  1558. @Outline2@<:#231,9025>    message("Unable to open file AMIAUTO.CFG.")
  1559.  
  1560. @Outline2@<:#231,9025>    return -1
  1561.  
  1562. @Outline2@<:#231,9025>endif
  1563.  
  1564. @Outline2@<:#231,9025>fputs(fh, lcase$(macro))
  1565.  
  1566. @Outline2@<:#231,9025>fclose(fh)
  1567.  
  1568. @Outline2@<:#231,9025>call zproglod()
  1569.  
  1570. @Outline2@<:#231,9025>return 1
  1571.  
  1572. @Outline2@<:#231,9025>end function
  1573.  
  1574. @Function@<:#231,9025>function zrunmacs()
  1575.  
  1576. @Outline2@<:#231,9025>'singlestep(1)
  1577.  
  1578. @Outline2@<:#231,9025>ignorekeyboard(1)
  1579.  
  1580. @Subhead@<:#284,9025>windir = getwindowsdirectory$()
  1581.  
  1582. @Subhead@<:#284,9025>autofile = strcat$(windir, "amiauto.cfg")
  1583.  
  1584. @Outline2@<:#231,9025>ck = findfirst$(autofile, 33)
  1585.  
  1586. @Outline2@<:#231,9025>if ck = ""
  1587.  
  1588. @Outline2@<:#231,9025>    exit function
  1589.  
  1590. @Outline2@<:#231,9025>endif
  1591.  
  1592. @Outline2@<:#231,9025>fh = fopen(autofile, "r")
  1593.  
  1594. @Outline2@<:#231,9025>if fh << 1
  1595.  
  1596. @Outline2@<:#231,9025>    message("Unable to open file AMIAUTO.CFG")
  1597.  
  1598. @Outline2@<:#231,9025>    return -1
  1599.  
  1600. @Outline2@<:#231,9025>endif
  1601.  
  1602. @Outline2@<:#231,9025>onerror endit
  1603.  
  1604. @Outline2@<:#231,9025>oncancel endit
  1605.  
  1606. @Outline2@<:#231,9025>dim files(100)
  1607.  
  1608. @Outline2@<:#231,9025>i = 0
  1609.  
  1610. @Outline2@<:#231,9025>while (1)
  1611.  
  1612. @Outline2@<:#231,9025>    txt = fgets$(fh)
  1613.  
  1614. @Outline2@<:#231,9025>    if txt = -1
  1615.  
  1616. @Outline2@<:#231,9025>        break
  1617.  
  1618. @Outline2@<:#231,9025>    endif
  1619.  
  1620. @Outline2@<:#231,9025>    if txt <<<;> ""
  1621.  
  1622. @Outline2@<:#231,9025>        i = i + 1
  1623.  
  1624. @Outline2@<:#231,9025>        files(i) = txt
  1625.  
  1626. @Outline2@<:#231,9025>    endif
  1627.  
  1628. @Outline2@<:#231,9025>wend
  1629.  
  1630. @Outline2@<:#231,9025>endit:
  1631.  
  1632. @Outline2@<:#231,9025>fclose(fh)
  1633.  
  1634. @Outline2@<:#231,9025>for j = 1 to i
  1635.  
  1636. @Outline2@<:#231,9025>    txt = files(j)
  1637.  
  1638. @Outline2@<:#231,9025>    calli txt()
  1639.  
  1640. @Outline2@<:#231,9025>next
  1641.  
  1642. @Outline2@<:#231,9025>end function
  1643.  
  1644. >
  1645.  
  1646. [Embedded]
  1647. 00037185
  1648. >
  1649. [macsum] 24
  1650. info 0 0 30 23
  1651. PreBuild 3428 3 5 181
  1652. UngrayButtons 3862 1 1 197
  1653. freeit 4047 1 1 205
  1654. saveit 4101 1 1 209
  1655. showdesc 4158 3 5 214
  1656. sorttype 4348 3 2 228
  1657. showfiles 4751 0 -1 242
  1658. add 5678 1 6 264
  1659. del 6411 1 7 294
  1660. helpme 7084 1 2 325
  1661. help 7133 0 -1 329
  1662. loadlist 7608 1 8 339
  1663. savelist 8189 1 7 376
  1664. zgood 8673 1 4 402
  1665. ckauto 9097 1 7 423
  1666. GetName 9723 3 3 460
  1667. LoadDocDesc 9821 2 9 466
  1668. DiskFmtToAnsi 10411 1 5 492
  1669. GetDocInfo 11071 1 7 527
  1670. countfiles 11592 2 6 550
  1671. zproglod 12289 0 4 581
  1672. zmkauto 12823 1 6 599
  1673. zrunmacs 13564 0 9 639
  1674. [macse]
  1675. 14 info
  1676. 19 00003406
  1677. 0 32 1
  1678. 0 296 1
  1679. 5 1
  1680. 21 3 [X]
  1681. 5 1
  1682. 21 4 [X]
  1683. 0 802
  1684. 13
  1685. 8 5
  1686. 0 295
  1687. 13
  1688. 8 6
  1689. 16 countfiles "{6}*.smm" &4
  1690. 13
  1691. 8 7
  1692. 0 271 "DescAndName" "{7}"
  1693. 13
  1694. 8 8
  1695. 0 265 "DescAndName"
  1696. 13
  1697. 7 ""
  1698. 18 0
  1699. 11 00000654
  1700. 5 0
  1701. 16 LoadDocDesc &3 &4
  1702. 13
  1703. 0 805 &1 [X]
  1704. 13
  1705. 18 0
  1706. 11 00000306
  1707. 10 00000306
  1708. 0 266 "DescAndName"
  1709. 0 1046 &3
  1710. 13
  1711. 8 9
  1712. 6 9
  1713. 5 1
  1714. 3 0
  1715. 8 9
  1716. 0 271 "DescAndName" "{9}"
  1717. 0 272 "DescAndName" 1 "{9}"
  1718. 5 2
  1719. 8 10
  1720. 6 9
  1721. 5 1
  1722. 3 1
  1723. 6 10
  1724. 18 2
  1725. 12 00000522
  1726. 10 00000641
  1727. 5 1
  1728. 6 10
  1729. 3 0
  1730. 8 10
  1731. 10 00000434
  1732. 6 9
  1733. 6 10
  1734. 3 1
  1735. 8 11
  1736. 0 789 "Files remaining: {11}"
  1737. 6 10
  1738. 22 3
  1739. 8 12
  1740. 0 272 "DescAndName" "{10}" "{12}"
  1741. 10 00000487
  1742. 10 00000948
  1743. 0 273 "DescAndName" 1
  1744. 13
  1745. 8 7
  1746. 5 1
  1747. 8 10
  1748. 6 7
  1749. 6 10
  1750. 18 2
  1751. 12 00000775
  1752. 10 00000948
  1753. 5 1
  1754. 6 10
  1755. 3 0
  1756. 8 10
  1757. 10 00000697
  1758. 6 7
  1759. 6 10
  1760. 3 1
  1761. 8 11
  1762. 0 789 "Files remaining: {11}"
  1763. 6 10
  1764. 5 1
  1765. 3 0
  1766. 0 273 "DescAndName" [X]
  1767. 13
  1768. 8 12
  1769. 6 12
  1770. 7 ""
  1771. 18 1
  1772. 11 00000935
  1773. 0 1041 &3 "{10}" "{12}"
  1774. 10 00000740
  1775. 0 789 ""
  1776. 0 1046 &3
  1777. 13
  1778. 8 13
  1779. 6 13
  1780. 21 14 [X]
  1781. 5 1
  1782. 8 10
  1783. 6 13
  1784. 6 10
  1785. 18 2
  1786. 12 00001086
  1787. 10 00001181
  1788. 5 1
  1789. 6 10
  1790. 3 0
  1791. 8 10
  1792. 10 00001007
  1793. 6 10
  1794. 22 3
  1795. 0 20 [X] 2 "|"
  1796. 13
  1797. 0 16 [X] "!" "{10}"
  1798. 13
  1799. 8 15
  1800. 6 10
  1801. 6 15
  1802. 23 14
  1803. 10 00001051
  1804. 0 1043 &14
  1805. 6 13
  1806. 21 16 [X]
  1807. 5 1
  1808. 8 10
  1809. 6 13
  1810. 6 10
  1811. 18 2
  1812. 12 00001300
  1813. 10 00001377
  1814. 5 1
  1815. 6 10
  1816. 3 0
  1817. 8 10
  1818. 10 00001221
  1819. 6 10
  1820. 22 14
  1821. 0 20 [X] 2 "!"
  1822. 13
  1823. 8 17
  1824. 6 10
  1825. 6 17
  1826. 22 3
  1827. 23 16
  1828. 10 00001265
  1829. 5 1
  1830. 8 10
  1831. 6 13
  1832. 6 10
  1833. 18 2
  1834. 12 00001467
  1835. 10 00001505
  1836. 5 1
  1837. 6 10
  1838. 3 0
  1839. 8 10
  1840. 10 00001388
  1841. 6 10
  1842. 6 10
  1843. 22 16
  1844. 23 3
  1845. 10 00001432
  1846. 0 31 9000 &3
  1847. 0 271 "loadem" 200
  1848. 0 271 "count" 1
  1849. 0 264 "count" 1
  1850. 20 00003251
  1851. 19 00003251
  1852. 0 271 "Setfont:hFont" 1
  1853. 0 265 "Setfont:hFont"
  1854. 13
  1855. 7 ""
  1856. 18 1
  1857. 11 00001676
  1858. 0 31 20 1
  1859. 0 47 112 "{5}!helpme"
  1860. 0 41 9000 "{5}!showdesc"
  1861. 0 41 9003 "{5}!showdesc"
  1862. 0 41 70 "{5}!Add"
  1863. 0 41 71 "{5}!Del"
  1864. 0 41 77 "{5}!cwp"
  1865. 0 41 20 "{5}!sorttype"
  1866. 0 41 0 "{5}!PreBuild"
  1867. 16 loadlist ""
  1868. 0 26 "." "showfiles"
  1869. 13
  1870. 8 18
  1871. 5 0
  1872. 6 18
  1873. 18 0
  1874. 11 00001970
  1875. 10 00003251
  1876. 10 00003251
  1877. 5 4
  1878. 6 18
  1879. 18 0
  1880. 11 00002055
  1881. 16 savelist ""
  1882. 16 freeit ""
  1883. 6 0
  1884. 15
  1885. 9
  1886. 10 00003251
  1887. 5 3
  1888. 6 18
  1889. 18 0
  1890. 11 00002407
  1891. 16 savelist ""
  1892. 16 freeit ""
  1893. 0 27 9000
  1894. 13
  1895. 8 19
  1896. 0 20 "{19}" 2 "|"
  1897. 13
  1898. 8 20
  1899. 0 18 "{20}"
  1900. 13
  1901. 8 6
  1902. 6 6
  1903. 0 18 "_info.smm"
  1904. 13
  1905. 18 0
  1906. 11 00002281
  1907. 0 3 "You are already running {6}"
  1908. 10 00002370
  1909. 0 2 "Run the macro ""{6}""?"
  1910. 13
  1911. 8 21
  1912. 6 21
  1913. 5 1
  1914. 18 0
  1915. 11 00002370
  1916. 0 296 0
  1917. 16 "{6}"
  1918. 0 285 "{5}" "00:00.02"
  1919. 10 00003251
  1920. 5 1
  1921. 6 18
  1922. 18 0
  1923. 11 00003251
  1924. 16 savelist ""
  1925. 16 freeit ""
  1926. 0 1050
  1927. 13
  1928. 0 805 &22 [X]
  1929. 13
  1930. 5 1
  1931. 18 5
  1932. 11 00002535
  1933. 10 00002855
  1934. 6 22
  1935. 21 23 [X]
  1936. 0 1051 &23
  1937. 5 0
  1938. 8 24
  1939. 5 1
  1940. 8 10
  1941. 6 22
  1942. 6 10
  1943. 18 2
  1944. 12 00002665
  1945. 10 00002784
  1946. 5 1
  1947. 6 10
  1948. 3 0
  1949. 8 10
  1950. 10 00002586
  1951. 6 10
  1952. 22 23
  1953. 0 17 [X]
  1954. 13
  1955. 0 138 1 [X] "goodies.sam"
  1956. 13
  1957. 5 0
  1958. 18 3
  1959. 11 00002771
  1960. 5 1
  1961. 8 24
  1962. 10 00002784
  1963. 10 00002630
  1964. 6 24
  1965. 5 0
  1966. 18 0
  1967. 11 00003013
  1968. 5 1
  1969. 8 25
  1970. 6 22
  1971. 5 1
  1972. 18 5
  1973. 11 00002938
  1974. 0 286 "amipro" "defstyle" "amipro.ini"
  1975. 13
  1976. 8 26
  1977. 2 101 1 "{26}" 0 0
  1978. 5 129
  1979. 8 25
  1980. 0 268
  1981. 13
  1982. 0 16 [X] "goodies.sam"
  1983. 13
  1984. 2 102 1 [X] "{25}" ""
  1985. 10 00003044
  1986. 0 1029 "goodies.sam"
  1987. 2 210 1
  1988. 0 27 9000
  1989. 13
  1990. 8 19
  1991. 0 20 "{19}" 2 "|"
  1992. 13
  1993. 0 18 [X]
  1994. 13
  1995. 8 20
  1996. 0 1049 "{20}"
  1997. 13
  1998. 8 27
  1999. 2 488 1 0 0 8197 "{20}" ""
  2000. 0 6 "[27]"
  2001. 0 7 "Choose resume to return to AutoRun"
  2002. 0 285 "{5}" "00:00.02"
  2003. 6 0
  2004. 15
  2005. 9
  2006. 16 freeit ""
  2007. 0 265 "Setfont:hFont"
  2008. 13
  2009. 8 28
  2010. 5 0
  2011. 6 28
  2012. 18 1
  2013. 11 00003364
  2014. 0 284 "gdi,DeleteObject,HH" "{28}"
  2015. 0 266 "Setfont:hFont"
  2016. 13
  2017. 8 29
  2018. 0 296 0
  2019. 0 789 ""
  2020. 6 0
  2021. 15
  2022. 9
  2023. 14 PreBuild
  2024. 0 284 "gdi,CreateFont,HHHHHHHHHHHHHHC" 13 0 0 0 400 0 0 0 128 0 0 0 0 "System"
  2025. 13
  2026. 8 4
  2027. 6 4
  2028. 11 00000374
  2029. 0 44 "{0}" 9000
  2030. 13
  2031. 8 5
  2032. 0 44 "{0}" 9002
  2033. 13
  2034. 8 6
  2035. 0 44 "{0}" 8007
  2036. 13
  2037. 8 7
  2038. 0 284 "user,SendMessage,HHHHJ" "{5}" 48 "{4}" 0
  2039. 0 284 "user,SendMessage,HHHHJ" "{6}" 48 "{4}" 0
  2040. 0 284 "user,SendMessage,HHHHJ" "{7}" 48 "{4}" 0
  2041. 0 264 "Setfont:hFont" "{4}"
  2042. 16 UngrayButtons "{0}"
  2043. 16 sorttype "{0}" 20 1
  2044. 6 3
  2045. 15
  2046. 9
  2047. 14 UngrayButtons
  2048. 0 44 "{0}" 71
  2049. 13
  2050. 0 284 "user,EnableWindow,HHH" [X] 0
  2051. 0 265 "count"
  2052. 13
  2053. 5 0
  2054. 18 3
  2055. 11 00000173
  2056. 0 44 "{0}" 71
  2057. 13
  2058. 0 284 "user,EnableWindow,HHH" [X] 1
  2059. 6 1
  2060. 15
  2061. 9
  2062. 14 freeit
  2063. 0 266 "loadem"
  2064. 0 266 "count"
  2065. 6 1
  2066. 15
  2067. 9
  2068. 14 saveit
  2069. 0 296 1
  2070. 16 savelist ""
  2071. 0 296 0
  2072. 6 1
  2073. 15
  2074. 9
  2075. 14 showdesc
  2076. 0 32 1
  2077. 0 296 1
  2078. 0 42 "{0}" "{1}"
  2079. 13
  2080. 8 5
  2081. 0 20 "{5}" 2 "|"
  2082. 13
  2083. 0 17 [X]
  2084. 13
  2085. 8 6
  2086. 20 00000157
  2087. 19 00000157
  2088. 0 43 "{0}" 8007 "{6}"
  2089. 5 1
  2090. 8 7
  2091. 0 296 0
  2092. 6 7
  2093. 15
  2094. 9
  2095. 6 3
  2096. 15
  2097. 9
  2098. 14 sorttype
  2099. 0 42 "{0}" 20
  2100. 13
  2101. 8 4
  2102. 6 4
  2103. 5 1
  2104. 18 0
  2105. 11 00000235
  2106. 0 44 "{0}" 9003
  2107. 13
  2108. 0 284 "User,ShowWindow,AHH" [X] 0
  2109. 0 44 "{0}" 9000
  2110. 13
  2111. 0 284 "User,ShowWindow,AHH" [X] 1
  2112. 5 9000
  2113. 8 1
  2114. 16 showdesc "{0}" "{1}" "{2}"
  2115. 10 00000391
  2116. 0 44 "{0}" 9000
  2117. 13
  2118. 0 284 "User,ShowWindow,AHH" [X] 0
  2119. 0 44 "{0}" 9003
  2120. 13
  2121. 0 284 "User,ShowWindow,AHH" [X] 1
  2122. 5 9003
  2123. 8 1
  2124. 16 showdesc "{0}" "{1}" "{2}"
  2125. 6 3
  2126. 15
  2127. 9
  2128. DIALOG showfiles
  2129. -2134376448 17 49 45 280 158 "" "AmiDialog" "Autorun Macros" 
  2130. FONT 8 "System" 
  2131. 6 3 60 8 1000 1342308352 "static" "Ma&cros:" 0 
  2132. 6 12 155 116 9003 1352728577 "listbox" "" 0 
  2133. 6 12 155 122 9000 1352728577 "listbox" "" 0 
  2134. 164 93 44 14 70 1342373888 "button" "&Install >>" 0 
  2135. 164 110 44 14 71 1342242816 "button" "<< Re&move" 0 
  2136. 212 66 46 8 1001 1342308352 "static" "I&nstalled:" 0 
  2137. 212 75 60 53 9002 1352728577 "listbox" "" 0 
  2138. 232 3 42 14 4 1342373888 "button" "OK" 0 
  2139. 232 19 42 14 2 1342373888 "button" "Cancel" 0 
  2140. 232 35 42 14 1 1342373889 "button" "&Details..." 0 
  2141. 232 51 42 14 3 1342373888 "button" "&Run..." 0 
  2142. 263 292 0 0 77 1342177280 "button" "&z" 0 
  2143. 45 140 70 10 8007 1342177280 "static" "" 0 
  2144. 65 1 1 1 8013 1342177280 "static" "" 0 
  2145. 34 3 110 8 8777 1342177281 "static" "" 0 
  2146. 6 140 38 10 1002 1342177280 "static" "File name:" 0 
  2147. 14 290 0 0 20 1342242819 "button" "show descriptions" 0 
  2148. 14 add
  2149. 0 32 1
  2150. 0 296 1
  2151. 0 42 "{0}" 9000
  2152. 13
  2153. 8 3
  2154. 0 20 "{3}" 2 "|"
  2155. 13
  2156. 0 17 [X]
  2157. 13
  2158. 8 4
  2159. 0 17 "{4}"
  2160. 13
  2161. 16 ckauto [X]
  2162. 13
  2163. 5 1
  2164. 18 1
  2165. 11 00000163
  2166. 5 0
  2167. 15
  2168. 9
  2169. 0 265 "count"
  2170. 13
  2171. 8 5
  2172. 5 1
  2173. 8 6
  2174. 6 5
  2175. 6 6
  2176. 18 2
  2177. 12 00000272
  2178. 10 00000448
  2179. 5 1
  2180. 6 6
  2181. 3 0
  2182. 8 6
  2183. 10 00000197
  2184. 6 4
  2185. 7 ""
  2186. 18 1
  2187. 11 00000435
  2188. 6 4
  2189. 0 273 "loadem" "{6}"
  2190. 13
  2191. 0 17 [X]
  2192. 13
  2193. 18 0
  2194. 11 00000435
  2195. 0 3 "That macro is already set to ""AutoRun"""
  2196. 0 296 0
  2197. 5 1
  2198. 15
  2199. 9
  2200. 10 00000239
  2201. 0 43 "{0}" 9002 "{4}"
  2202. 0 44 "{0}" 71
  2203. 13
  2204. 0 284 "user,EnableWindow,HHH" [X] 1
  2205. 0 265 "count"
  2206. 13
  2207. 5 1
  2208. 3 0
  2209. 8 5
  2210. 0 272 "loadem" "{5}" "{4}"
  2211. 0 264 "count" "{5}"
  2212. 0 42 "{0}" 9002
  2213. 13
  2214. 7 ""
  2215. 18 0
  2216. 11 00000712
  2217. 0 44 "{0}" 71
  2218. 13
  2219. 0 284 "user,EnableWindow,HHH" [X] 0
  2220. 0 296 0
  2221. 6 1
  2222. 15
  2223. 9
  2224. 14 del
  2225. 0 32 1
  2226. 0 296 1
  2227. 0 42 "{0}" 9002
  2228. 13
  2229. 8 2
  2230. 6 2
  2231. 7 ""
  2232. 18 0
  2233. 11 00000093
  2234. 5 0
  2235. 15
  2236. 9
  2237. 0 44 "{0}" 9002
  2238. 13
  2239. 8 3
  2240. 0 1036 "{3}" 1029 0 0
  2241. 0 265 "count"
  2242. 13
  2243. 8 4
  2244. 6 4
  2245. 5 0
  2246. 18 0
  2247. 11 00000263
  2248. 0 44 "{0}" 71
  2249. 13
  2250. 0 284 "user,EnableWindow,HHH" [X] 0
  2251. 5 0
  2252. 15
  2253. 9
  2254. 5 1
  2255. 8 5
  2256. 6 4
  2257. 6 5
  2258. 18 2
  2259. 12 00000348
  2260. 10 00000540
  2261. 5 1
  2262. 6 5
  2263. 3 0
  2264. 8 5
  2265. 10 00000273
  2266. 0 273 "loadem" "{5}"
  2267. 13
  2268. 8 6
  2269. 6 6
  2270. 6 2
  2271. 18 0
  2272. 11 00000446
  2273. 0 272 "loadem" "{5}" ""
  2274. 10 00000527
  2275. 6 6
  2276. 7 ""
  2277. 18 1
  2278. 11 00000499
  2279. 0 43 "{0}" 9002 "{6}"
  2280. 0 272 "loadem" "{5}" "{6}"
  2281. 10 00000315
  2282. 0 296 0
  2283. 0 42 "{0}" 9002
  2284. 13
  2285. 8 7
  2286. 6 7
  2287. 7 ""
  2288. 18 0
  2289. 11 00000661
  2290. 0 44 "{0}" 71
  2291. 13
  2292. 0 284 "user,EnableWindow,HHH" [X] 0
  2293. 6 1
  2294. 15
  2295. 9
  2296. 14 helpme
  2297. 0 26 "." "help"
  2298. 13
  2299. 8 2
  2300. 6 1
  2301. 15
  2302. 9
  2303. DIALOG help
  2304. -2134376448 5 59 30 160 124 "" "" "Info Help" 
  2305. FONT 8 "Helv" 
  2306. 60 105 40 14 1 1342242817 "button" "OK" 0 
  2307. 11 21 138 18 1001 1342177280 "static" "Select a feature and choose Install to make it AutoRun." 0 
  2308. 6 7 148 89 80 1342177287 "button" "Macro Install" 0 
  2309. 11 42 138 18 1002 1342177280 "static" "Choose Details to view detailed information about a feature." 0 
  2310. 11 64 138 18 1000 1342177280 "static" "To see a demonstration of the feature, choose Run." 0 
  2311. 14 loadlist
  2312. 0 32 1
  2313. 0 296 1
  2314. 0 1288
  2315. 13
  2316. 8 2
  2317. 0 16 "{2}" "amiauto.cfg"
  2318. 13
  2319. 8 3
  2320. 0 280 "{3}" 33
  2321. 13
  2322. 8 4
  2323. 6 4
  2324. 7 ""
  2325. 18 0
  2326. 11 00000162
  2327. 7 "w"
  2328. 8 5
  2329. 10 00000174
  2330. 7 "r"
  2331. 8 5
  2332. 0 259 "{3}" "{5}"
  2333. 13
  2334. 8 6
  2335. 6 6
  2336. 5 1
  2337. 18 5
  2338. 11 00000285
  2339. 0 3 "Unable to create file AMIAUTO.CFG"
  2340. 5 -1
  2341. 15
  2342. 9
  2343. 6 5
  2344. 7 "w"
  2345. 18 0
  2346. 11 00000329
  2347. 10 00000526
  2348. 20 00000526
  2349. 19 00000526
  2350. 5 0
  2351. 8 7
  2352. 5 1
  2353. 11 00000526
  2354. 0 257 "{6}"
  2355. 13
  2356. 8 8
  2357. 6 8
  2358. 5 -1
  2359. 18 0
  2360. 11 00000448
  2361. 10 00000526
  2362. 6 7
  2363. 5 1
  2364. 3 0
  2365. 8 7
  2366. 0 272 "loadem" "{7}" "{8}"
  2367. 0 31 9002 "{8}"
  2368. 10 00000365
  2369. 0 260 "{6}"
  2370. 0 264 "count" "{7}"
  2371. 0 296 0
  2372. 6 1
  2373. 15
  2374. 9
  2375. 14 savelist
  2376. 0 32 1
  2377. 0 296 1
  2378. 0 1288
  2379. 13
  2380. 8 2
  2381. 0 16 "{2}" "amiauto.cfg"
  2382. 13
  2383. 8 3
  2384. 0 259 "{3}" "w"
  2385. 13
  2386. 8 5
  2387. 6 5
  2388. 5 1
  2389. 18 5
  2390. 11 00000198
  2391. 0 3 "Unable to save file AMIAUTO.CFG"
  2392. 0 296 0
  2393. 5 -1
  2394. 15
  2395. 9
  2396. 20 00000434
  2397. 19 00000434
  2398. 0 265 "count"
  2399. 13
  2400. 8 6
  2401. 5 1
  2402. 8 7
  2403. 6 6
  2404. 6 7
  2405. 18 2
  2406. 12 00000333
  2407. 10 00000434
  2408. 5 1
  2409. 6 7
  2410. 3 0
  2411. 8 7
  2412. 10 00000258
  2413. 0 273 "loadem" "{7}"
  2414. 13
  2415. 0 805 &4 [X]
  2416. 13
  2417. 7 ""
  2418. 18 1
  2419. 11 00000421
  2420. 0 258 "{5}" "{4}"
  2421. 10 00000300
  2422. 0 260 "{5}"
  2423. 0 296 0
  2424. 16 zproglod ""
  2425. 6 1
  2426. 15
  2427. 9
  2428. 14 zgood
  2429. 0 133 "{0}" 1 2
  2430. 13
  2431. 8 2
  2432. 0 134 "{0}"
  2433. 13
  2434. 0 133 "{0}" 3 [X]
  2435. 13
  2436. 8 3
  2437. 7 "td"
  2438. 6 2
  2439. 18 0
  2440. 11 00000136
  2441. 16 "{3}"
  2442. 10 00000412
  2443. 7 "ar"
  2444. 6 2
  2445. 18 0
  2446. 11 00000363
  2447. 16 ckauto "{3}"
  2448. 13
  2449. 8 4
  2450. 6 4
  2451. 5 1
  2452. 18 1
  2453. 11 00000271
  2454. 0 3 "{3} not intended to AutoRun"
  2455. 5 -1
  2456. 15
  2457. 9
  2458. 16 zmkauto "{3}"
  2459. 13
  2460. 5 1
  2461. 18 0
  2462. 11 00000350
  2463. 0 3 "{3} installed as AutoRun."
  2464. 10 00000412
  2465. 7 "si"
  2466. 6 2
  2467. 18 0
  2468. 11 00000412
  2469. 16 _autorun.smm
  2470. 6 1
  2471. 15
  2472. 9
  2473. 14 ckauto
  2474. 0 32 1
  2475. 0 296 1
  2476. 0 259 "{0}" "r"
  2477. 13
  2478. 8 2
  2479. 6 2
  2480. 5 1
  2481. 18 5
  2482. 11 00000134
  2483. 0 789 "Unable to read file"
  2484. 0 296 0
  2485. 5 -1
  2486. 15
  2487. 9
  2488. 20 00000580
  2489. 19 00000580
  2490. 7 ""
  2491. 8 3
  2492. 0 15 "[[" 1 1
  2493. 13
  2494. 8 4
  2495. 6 3
  2496. 7 "{4}desc]"
  2497. 18 1
  2498. 11 00000333
  2499. 0 257 "{2}"
  2500. 13
  2501. 8 3
  2502. 6 3
  2503. 5 -1
  2504. 18 0
  2505. 11 00000320
  2506. 0 260 "{2}"
  2507. 0 296 0
  2508. 5 -1
  2509. 15
  2510. 9
  2511. 10 00000195
  2512. 5 1
  2513. 8 6
  2514. 5 4
  2515. 6 6
  2516. 18 2
  2517. 12 00000418
  2518. 10 00000444
  2519. 5 1
  2520. 6 6
  2521. 3 0
  2522. 8 6
  2523. 10 00000343
  2524. 0 257 "{2}"
  2525. 10 00000385
  2526. 0 257 "{2}"
  2527. 13
  2528. 0 20 [X] 2 "    "
  2529. 13
  2530. 0 18 [X]
  2531. 13
  2532. 0 805 &5 [X]
  2533. 13
  2534. 7 "NOAUTORUN"
  2535. 18 0
  2536. 11 00000570
  2537. 5 0
  2538. 8 7
  2539. 10 00000580
  2540. 5 1
  2541. 8 7
  2542. 0 260 "{2}"
  2543. 0 296 0
  2544. 6 7
  2545. 15
  2546. 9
  2547. 6 1
  2548. 15
  2549. 9
  2550. 14 GetName
  2551. 0 42 "{0}" "{1}"
  2552. 13
  2553. 8 4
  2554. 0 20 "{4}" 2 "|"
  2555. 13
  2556. 8 5
  2557. 0 43 "{0}" 2 "{5}"
  2558. 6 3
  2559. 15
  2560. 9
  2561. 14 LoadDocDesc
  2562. 0 295
  2563. 13
  2564. 8 3
  2565. 5 1
  2566. 8 6
  2567. 0 265 "autodesctotal"
  2568. 13
  2569. 8 7
  2570. 5 1
  2571. 8 8
  2572. 6 7
  2573. 6 8
  2574. 18 2
  2575. 12 00000159
  2576. 10 00000559
  2577. 5 1
  2578. 6 8
  2579. 3 0
  2580. 8 8
  2581. 10 00000084
  2582. 6 8
  2583. 22 1
  2584. 8 9
  2585. 0 789 "Loading description for file {9}..."
  2586. 5 0
  2587. 0 259 "{3}{9}" "r"
  2588. 13
  2589. 0 805 &5 [X]
  2590. 13
  2591. 18 1
  2592. 11 00000546
  2593. 16 GetDocInfo "{5}"
  2594. 13
  2595. 8 4
  2596. 6 4
  2597. 5 -1
  2598. 18 1
  2599. 11 00000533
  2600. 0 16 "{4}" "                                                                      |" "{9}"
  2601. 13
  2602. 8 10
  2603. 0 134 "{4}"
  2604. 13
  2605. 5 1
  2606. 18 3
  2607. 11 00000533
  2608. 0 1041 &0 "{6}" "{10}"
  2609. 6 6
  2610. 5 1
  2611. 3 0
  2612. 8 6
  2613. 0 260 "{5}"
  2614. 10 00000126
  2615. 0 296 0
  2616. 0 789 ""
  2617. 6 2
  2618. 15
  2619. 9
  2620. 14 DiskFmtToAnsi
  2621. 0 138 1 "{0}" "<<"
  2622. 13
  2623. 11 00000636
  2624. 7 ""
  2625. 8 3
  2626. 5 1
  2627. 8 4
  2628. 7 ""
  2629. 0 133 "{0}" "{4}" 1
  2630. 13
  2631. 0 805 &2 [X]
  2632. 13
  2633. 18 1
  2634. 11 00000626
  2635. 6 4
  2636. 5 1
  2637. 3 0
  2638. 8 4
  2639. 6 2
  2640. 7 "<<"
  2641. 18 0
  2642. 11 00000586
  2643. 0 133 "{0}" "{4}" 1
  2644. 13
  2645. 8 2
  2646. 6 4
  2647. 5 1
  2648. 3 0
  2649. 8 4
  2650. 6 2
  2651. 7 "<<"
  2652. 18 1
  2653. 11 00000586
  2654. 0 133 "{0}" "{4}" 1
  2655. 13
  2656. 8 5
  2657. 6 4
  2658. 5 2
  2659. 3 0
  2660. 8 4
  2661. 7 "*"
  2662. 6 2
  2663. 18 0
  2664. 11 00000418
  2665. 0 40 "{5}"
  2666. 13
  2667. 5 32
  2668. 3 1
  2669. 0 39 [X]
  2670. 13
  2671. 8 2
  2672. 10 00000586
  2673. 7 "/"
  2674. 6 2
  2675. 18 0
  2676. 11 00000508
  2677. 0 40 "{5}"
  2678. 13
  2679. 5 64
  2680. 3 0
  2681. 0 39 [X]
  2682. 13
  2683. 8 2
  2684. 10 00000586
  2685. 7 "\"
  2686. 6 2
  2687. 18 0
  2688. 11 00000586
  2689. 0 40 "{5}"
  2690. 13
  2691. 5 128
  2692. 3 0
  2693. 0 39 [X]
  2694. 13
  2695. 8 2
  2696. 0 16 "{3}" "{2}"
  2697. 13
  2698. 8 3
  2699. 10 00000076
  2700. 6 3
  2701. 8 0
  2702. 6 0
  2703. 15
  2704. 9
  2705. 6 1
  2706. 15
  2707. 9
  2708. 14 GetDocInfo
  2709. 7 ""
  2710. 0 782 "{0}" 500
  2711. 13
  2712. 0 805 &2 [X]
  2713. 13
  2714. 18 0
  2715. 11 00000092
  2716. 7 ""
  2717. 15
  2718. 9
  2719. 5 0
  2720. 0 138 1 "{2}" "esc]"
  2721. 13
  2722. 0 805 &3 [X]
  2723. 13
  2724. 18 1
  2725. 11 00000509
  2726. 6 3
  2727. 5 384
  2728. 3 0
  2729. 0 133 "{2}" "{3}" [X]
  2730. 13
  2731. 8 4
  2732. 0 20 "{4}" 2 "    "
  2733. 13
  2734. 8 5
  2735. 0 20 "{4}" 6 "    "
  2736. 13
  2737. 8 6
  2738. 0 17 "{6}"
  2739. 13
  2740. 0 138 1 [X] "noautorun"
  2741. 13
  2742. 5 0
  2743. 18 1
  2744. 11 00000345
  2745. 5 -1
  2746. 15
  2747. 9
  2748. 0 134 "{5}"
  2749. 13
  2750. 5 1
  2751. 3 1
  2752. 8 7
  2753. 0 133 "{5}" 1 "{7}"
  2754. 13
  2755. 8 5
  2756. 6 7
  2757. 5 80
  2758. 18 3
  2759. 11 00000464
  2760. 0 133 "{5}" 1 80
  2761. 13
  2762. 8 5
  2763. 16 DiskFmtToAnsi "{5}"
  2764. 13
  2765. 8 5
  2766. 6 5
  2767. 15
  2768. 9
  2769. 6 1
  2770. 15
  2771. 9
  2772. 14 countfiles
  2773. 7 "SKDATA1.SMM SKDATA2.SMM SKAUTO.SMM SKEXIT.SMM"
  2774. 8 3
  2775. 7 "AUTOCLOS.SMM AUTOOPEN.SMM AUTONEW.SMM AUTOEXIT.SMM AUTOEXEC.SMM"
  2776. 8 4
  2777. 7 "AUTOCAL.SMM TOAGEN.SMM TOALONG.SMM TOAREMOV.SMM TOASHORT.SMM FAX.SMM"
  2778. 8 5
  2779. 0 16 "{4}" "{3}" "{5}"
  2780. 13
  2781. 8 4
  2782. 0 271 "autodesctotal" 1
  2783. 5 0
  2784. 8 6
  2785. 0 280 "{0}" 1
  2786. 13
  2787. 8 7
  2788. 6 7
  2789. 7 ""
  2790. 18 0
  2791. 11 00000387
  2792. 0 264 "autodesctotal" "{6}"
  2793. 6 6
  2794. 15
  2795. 9
  2796. 0 138 1 "{4}" "{7}"
  2797. 13
  2798. 5 0
  2799. 18 0
  2800. 11 00000462
  2801. 5 1
  2802. 8 6
  2803. 5 1
  2804. 6 7
  2805. 23 1
  2806. 5 1
  2807. 11 00000644
  2808. 0 281
  2809. 13
  2810. 8 7
  2811. 6 7
  2812. 7 ""
  2813. 18 0
  2814. 11 00000539
  2815. 10 00000644
  2816. 0 138 1 "{4}" "{7}"
  2817. 13
  2818. 5 0
  2819. 18 0
  2820. 11 00000631
  2821. 6 6
  2822. 5 1
  2823. 3 0
  2824. 8 6
  2825. 0 1041 &1 "{6}" "{7}"
  2826. 10 00000462
  2827. 0 264 "autodesctotal" "{6}"
  2828. 6 6
  2829. 15
  2830. 9
  2831. 6 2
  2832. 15
  2833. 9
  2834. 14 zproglod
  2835. 0 802
  2836. 13
  2837. 8 2
  2838. 0 274 001
  2839. 0 32 1
  2840. 0 286 "amipro" "automacroload" "amipro.ini"
  2841. 13
  2842. 0 17 [X]
  2843. 13
  2844. 8 3
  2845. 7 "_autorun.smm!zrunmacs"
  2846. 0 20 "{3}" 2 ","
  2847. 13
  2848. 0 805 &1 [X]
  2849. 13
  2850. 18 0
  2851. 11 00000227
  2852. 5 1
  2853. 15
  2854. 9
  2855. 10 00000387
  2856. 7 "zrunmacs.smm"
  2857. 0 20 "{3}" 2 ","
  2858. 13
  2859. 0 805 &1 [X]
  2860. 13
  2861. 18 0
  2862. 11 00000387
  2863. 0 287 "amipro" "automacroload" "1,_autorun.smm!zrunmacs" "amipro.ini"
  2864. 5 1
  2865. 15
  2866. 9
  2867. 5 1
  2868. 0 20 "{3}" 1 ","
  2869. 13
  2870. 18 0
  2871. 11 00000451
  2872. 16 zmkauto "{1}"
  2873. 0 287 "amipro" "automacroload" "1,_autorun.smm!zrunmacs" "amipro.ini"
  2874. 6 0
  2875. 15
  2876. 9
  2877. 14 zmkauto
  2878. 0 32 1
  2879. 0 1288
  2880. 13
  2881. 8 3
  2882. 0 16 "{3}" "amiauto.cfg"
  2883. 13
  2884. 8 4
  2885. 0 280 "{4}" 33
  2886. 13
  2887. 8 5
  2888. 6 5
  2889. 7 ""
  2890. 18 0
  2891. 11 00000250
  2892. 0 259 "{4}" "w"
  2893. 13
  2894. 8 6
  2895. 6 6
  2896. 5 1
  2897. 18 5
  2898. 11 00000237
  2899. 0 3 "Unable to create file AMIAUTO.CFG."
  2900. 5 -1
  2901. 15
  2902. 9
  2903. 0 260 "{6}"
  2904. 0 259 "{4}" "r"
  2905. 13
  2906. 8 6
  2907. 6 6
  2908. 5 1
  2909. 18 5
  2910. 11 00000358
  2911. 0 3 "Unable to read file AMIAUTO.CFG."
  2912. 5 -1
  2913. 15
  2914. 9
  2915. 5 1
  2916. 11 00000537
  2917. 0 257 "{6}"
  2918. 13
  2919. 0 805 &2 [X]
  2920. 13
  2921. 5 0
  2922. 18 3
  2923. 11 00000511
  2924. 0 17 "{0}"
  2925. 13
  2926. 0 17 "{2}"
  2927. 13
  2928. 18 0
  2929. 11 00000498
  2930. 5 0
  2931. 15
  2932. 9
  2933. 10 00000524
  2934. 10 00000537
  2935. 10 00000358
  2936. 0 260 "{6}"
  2937. 0 259 "{4}" "a"
  2938. 13
  2939. 8 6
  2940. 6 6
  2941. 5 1
  2942. 18 5
  2943. 11 00000658
  2944. 0 3 "Unable to open file AMIAUTO.CFG."
  2945. 5 -1
  2946. 15
  2947. 9
  2948. 0 17 "{0}"
  2949. 13
  2950. 0 258 "{6}" [X]
  2951. 0 260 "{6}"
  2952. 16 zproglod
  2953. 5 1
  2954. 15
  2955. 9
  2956. 6 1
  2957. 15
  2958. 9
  2959. 14 zrunmacs
  2960. 0 32 1
  2961. 0 1288
  2962. 13
  2963. 8 1
  2964. 0 16 "{1}" "amiauto.cfg"
  2965. 13
  2966. 8 2
  2967. 0 280 "{2}" 33
  2968. 13
  2969. 8 3
  2970. 6 3
  2971. 7 ""
  2972. 18 0
  2973. 11 00000140
  2974. 6 0
  2975. 15
  2976. 9
  2977. 0 259 "{2}" "r"
  2978. 13
  2979. 8 4
  2980. 6 4
  2981. 5 1
  2982. 18 5
  2983. 11 00000247
  2984. 0 3 "Unable to open file AMIAUTO.CFG"
  2985. 5 -1
  2986. 15
  2987. 9
  2988. 20 00000462
  2989. 19 00000462
  2990. 5 100
  2991. 21 5 [X]
  2992. 5 0
  2993. 8 6
  2994. 5 1
  2995. 11 00000462
  2996. 0 257 "{4}"
  2997. 13
  2998. 8 7
  2999. 6 7
  3000. 5 -1
  3001. 18 0
  3002. 11 00000383
  3003. 10 00000462
  3004. 6 7
  3005. 7 ""
  3006. 18 1
  3007. 11 00000449
  3008. 6 6
  3009. 5 1
  3010. 3 0
  3011. 8 6
  3012. 6 6
  3013. 6 7
  3014. 23 5
  3015. 10 00000300
  3016. 0 260 "{4}"
  3017. 5 1
  3018. 8 8
  3019. 6 6
  3020. 6 8
  3021. 18 2
  3022. 12 00000560
  3023. 10 00000599
  3024. 5 1
  3025. 6 8
  3026. 3 0
  3027. 8 8
  3028. 10 00000485
  3029. 6 8
  3030. 22 5
  3031. 8 7
  3032. 16 "{7}"
  3033. 10 00000527
  3034. 6 0
  3035. 15
  3036. 9
  3037. 00037210
  3038.