home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 July & August / Pcwk78b98.iso / Smart30 / ENGLISH / PRODUCTS / LOTUS018.DSK / FINDFILE.SMM < prev    next >
INI File  |  1992-09-14  |  19KB  |  1,304 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     _macro.sty
  5. [files]
  6. [charset]
  7.     82
  8.     ANSI (Windows, IBM CP 1252)
  9. [revisions]
  10.     0
  11. [prn]
  12.     Apple LaserWriter Plus
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [desc]
  18.     Find and open documents
  19.     Lotus WPD Marketing
  20.     Advanced
  21.     Instr
  22.     noautorun
  23.     716503891
  24.     14
  25.     705033251
  26.     336
  27.     7
  28.     0
  29.     0
  30.     0
  31.     0
  32.     
  33.     
  34.     
  35.     
  36.     
  37.     
  38.     1
  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. [l1]
  56.     0
  57. [edoc]
  58. <:#293,9360>Macro by <+!>Charlie Pappas<-!> and David Zoller
  59.  
  60. <:#284,9360>
  61.  
  62. <:#568,9360>DEFINE MoveWindow()    DllCall("user,MoveWindow,HHHHHHH",%1,%2,%3,%4,%5,1)
  63.  
  64. <:#284,9360>DEFINE GetWindowSize()    DllCall("user,GetWindowRect,HHN",%1,%2)
  65.  
  66. <:#284,9360>Define PostMessage() DllCall("User,PostMessage,HHHHJ",%1,%2,%3,%4)
  67.  
  68. <:#284,9360>define EnableWindow() DllCall("user,EnableWindow,HHH", %1, %2)
  69.  
  70. <:#284,9360>define SetFocus() DllCall("user,SetFocus,HH",%1)
  71.  
  72. <:#284,9360>define LB_GETSELCOUNT 0x411
  73.  
  74. <:#284,9360>define LB_GETSELITEMS 0x412
  75.  
  76. <:#284,9360>define LB_GETTEXT 0x40a
  77.  
  78.  
  79. @Function@<:#293,9360>function ff.smm(passme)
  80.  
  81. <:#284,9360>IF IsNewWave()
  82.  
  83. <:#284,9360>    Message("Macro not available while running under HP NewWave.")
  84.  
  85. <:#284,9360>    Exit Function
  86.  
  87. <:#284,9360>ENDIF
  88.  
  89. <:#284,9360>'singlestep(0)
  90.  
  91. <:#284,9360>hourglass(1)
  92.  
  93. <:#284,9360>ignorekeyboard(1)
  94.  
  95. <:#284,9360>declare findit(p1 p2 p3 p4)
  96.  
  97. <:#284,9360>declare ckfile(file)
  98.  
  99. <:#284,9360>rmac = getrunningmacrofile$()
  100.  
  101. <:#284,9360>Size = 300
  102.  
  103. <:#284,9360>allocglobalvar(1000 size)
  104.  
  105. <:#284,9360>allocglobalvar(1001 size)
  106.  
  107. <:#284,9360>allocglobalvar(1002 1)
  108.  
  109. <:#284,9360>allocglobalvar(1003 1)
  110.  
  111. <:#284,9360>allocglobalvar("txt" 1)
  112.  
  113. <:#284,9360>allocglobalvar("itran", 1)
  114.  
  115. <:#284,9360>allocglobalvar("hits", 1)
  116.  
  117. <:#284,9360>
  118.  
  119. <:#284,9360>setglobalvar("txt", "")
  120.  
  121. <:#284,9360>setglobalvar(1002 size)
  122.  
  123. <:#284,9360>onerror endit
  124.  
  125. <:#284,9360>oncancel endit
  126.  
  127. <:#284,9360>FileSpec = Getdocpath$()
  128.  
  129. if passme <<<;> ""
  130.  
  131. <:#284,9360>    filespec = getmacpath$()
  132.  
  133. <:#284,9360>endif
  134.  
  135. <:#284,9360>FileSpec = "{FileSpec}*.S?M"
  136.  
  137. <:#284,9360>Subs = 0
  138.  
  139. <:#284,9360>FillEdit(8000 FileSpec)
  140.  
  141. <:#284,9360>FillEdit(100 Subs)
  142.  
  143. <:#284,9360>filledit(20, 1)
  144.  
  145. <:#284,9360>setdlgcallback(0, "{rmac}!initbox")
  146.  
  147. <:#284,9360>setdlgcallback(70, "{rmac}!findem")
  148.  
  149. <:#284,9360>setdlgcallback(71, "{rmac}!openem")
  150.  
  151. box = DialogBox(".", "filesfound")
  152.  
  153. <:#284,9360>endit:
  154.  
  155. <:#284,9360>freeglobalvar(1000)
  156.  
  157. <:#284,9360>freeglobalvar(1001)
  158.  
  159. <:#284,9360>freeglobalvar(1002)
  160.  
  161. <:#284,9360>freeglobalvar(1003)
  162.  
  163. <:#284,9360>freeglobalvar("txt")
  164.  
  165. <:#284,9360>freeglobalvar("itran")
  166.  
  167. <:#284,9360>freeglobalvar("hits")
  168.  
  169. <:#284,9360>end function
  170.  
  171. <:#284,9360>
  172.  
  173. @Function@<:#293,9360>function initbox(hdlg)
  174.  
  175. <:#284,9360>hourglass(1)
  176.  
  177. <:#284,9360>enablewindow(getdlgitem(hdlg, 71), 0)
  178.  
  179. <:#284,9360>end function
  180.  
  181. <:#284,9360>
  182.  
  183. <:#284,9360>
  184.  
  185. @Function@<:#293,9360>function openem(hdlg, id, dummy)
  186.  
  187. <:#284,9360>hourglass(1)
  188.  
  189. <:#284,9360>ignorekeyboard(1)
  190.  
  191. hwnd = GetDlgItem(hdlg, 9007)
  192.  
  193. <:#284,9360>cnt = AppSendMessage(hwnd, LB_GETSELCOUNT, 0, 0)
  194.  
  195. <:#284,9360>filesopen=GetOpenFileCount()
  196.  
  197. <:#284,9360>allowable=9 - filesopen
  198.  
  199. <:#284,9360>if cnt << 1
  200.  
  201. <:#284,9360>    message("No files selected to open.")
  202.  
  203. <:#284,9360>'    PostMessage(Hdlg,0x111,1,0)
  204.  
  205. <:#284,9360>    return 0
  206.  
  207. <:#284,9360>endif
  208.  
  209. <:#284,9360>ret=chr$(13)
  210.  
  211. <:#284,9360>if cnt <;> allowable
  212.  
  213. <:#284,9360>    message ("Select {allowable} files or less; {filesopen} file already open.")
  214.  
  215. <:#284,9360>    return 0
  216.  
  217. <:#284,9360>endif
  218.  
  219. <:#568,9360>define GetSelItems(hwnd, max, array) DllCall("user,sendmessage,HHHHN", %1, LB_GETSELITEMS, %2, %3)
  220.  
  221. <:#284,9360>dim    array(cnt)
  222.  
  223. <:#284,9360>GetSelItems(hwnd, cnt, &array)
  224.  
  225. <:#568,9360>define GetLBText(hwnd, index, ptr) dllcall("user,sendmessage,HHHHC", %1, LB_GETTEXT, %2, %3)
  226.  
  227. <:#284,9360>
  228.  
  229. <:#284,9360>defstr stuff;
  230.  
  231. <:#284,9360>PostMessage(Hdlg,0x111,1,0)
  232.  
  233. <:#284,9360>for i = 1 to cnt
  234.  
  235. <:#284,9360>    GetLBText(hwnd, array(i), &stuff)
  236.  
  237. <:#284,9360>    FileOpen(stuff, 1, "")
  238.  
  239. <:#284,9360>    pause (002)
  240.  
  241. <:#284,9360>'    message(strcat$("selected ", array(i), " {stuff}"))
  242.  
  243. <:#284,9360>next
  244.  
  245. <:#284,9360>end function
  246.  
  247. <:#284,9360>
  248.  
  249. <:#284,9360>
  250.  
  251. @Function@<:#293,9360>function findem(hdlg)
  252.  
  253. <:#284,9360>hourglass(1)
  254.  
  255. ignorekeyboard(1)
  256.  
  257. <:#284,9360>if getglobalvar$("itran") <<<;> 1
  258.  
  259. <:#284,9360>    dim rect(4)
  260.  
  261. <:#284,9360>    GetWindowSize(hDlg,&rect)
  262.  
  263. <:#284,9360>    x=rect(1)
  264.  
  265. <:#284,9360>    y=rect(2)
  266.  
  267. <:#284,9360>    x1=rect(3)
  268.  
  269. <:#284,9360>    y1=rect(4)
  270.  
  271. <:#284,9360>    MoveWindow(hDlg,x,y,x1-x,y1-y+146)
  272.  
  273. <:#284,9360>endif
  274.  
  275. <:#284,9360>setglobalvar("itran", 1)
  276.  
  277. ignorekeyboard(1)
  278.  
  279. <:#284,9360>onerror endit
  280.  
  281. <:#284,9360>oncancel endit
  282.  
  283. <:#284,9360>again:
  284.  
  285. <:#284,9360>FileSpec = GetDlgitemtext(hdlg, 8000)
  286.  
  287. <:#284,9360>setglobalvar("txt", GetDlgitemtext(hdlg, 8001))
  288.  
  289. <:#284,9360>if strchr(1, filespec, "\") << 1
  290.  
  291. <:#284,9360>    filespec = strcat$("\", filespec)
  292.  
  293. <:#284,9360>endif
  294.  
  295. <:#284,9360>Subs = GetDlgitemtext(hdlg, 100)
  296.  
  297. <:#284,9360>handle = getdlgitem(hdlg, 9007)
  298.  
  299. <:#284,9360>appsendmessage(handle, 0x0405, 0, 0) ' lb_resetcontent clears the listbox
  300.  
  301. <:#284,9360>freeglobalvar(1000)
  302.  
  303. <:#284,9360>freeglobalvar(1001)
  304.  
  305. <:#284,9360>freeglobalvar(1002)
  306.  
  307. <:#284,9360>freeglobalvar(1003)
  308.  
  309. <:#284,9360>Size = 300
  310.  
  311. <:#284,9360>allocglobalvar(1000 size)
  312.  
  313. <:#284,9360>allocglobalvar(1001 size)
  314.  
  315. <:#284,9360>allocglobalvar(1002 1)
  316.  
  317. <:#284,9360>allocglobalvar(1003 1)
  318.  
  319. <:#284,9360>setglobalvar(1003 0)
  320.  
  321. <:#284,9360>setglobalvar(1002 size)
  322.  
  323. <:#284,9360>setglobalvar("hits", 0)
  324.  
  325. <:#284,9360>setdlgitemtext(hdlg, 8007, getglobalvar$(1003))
  326.  
  327. <:#284,9360>setdlgitemtext(hdlg, 8009, getglobalvar$(1003))
  328.  
  329. <:#284,9360>i = 1
  330.  
  331. <:#284,9360>while (i <;> 0)
  332.  
  333. <:#284,9360>    i = strchr(i FileSpec "\")
  334.  
  335. <:#284,9360>    if i << 1 then
  336.  
  337. <:#284,9360>        break
  338.  
  339. <:#284,9360>    endif
  340.  
  341. <:#284,9360>    j = i
  342.  
  343. <:#284,9360>    i = i + 1
  344.  
  345. <:#284,9360>wend
  346.  
  347. <:#284,9360>if j << 1 then
  348.  
  349. <:#284,9360>    if  False = (strchr(1 FileSpec "*")) or False = (strchr(1 FileSpec "?"))
  350.  
  351. <:#284,9360>        Message("Invalid Filespec")
  352.  
  353. <:#284,9360>        goto again
  354.  
  355. <:#284,9360>    else
  356.  
  357. <:#284,9360>        StartWhere = GetCurrentDir$()
  358.  
  359. <:#284,9360>        if (right$(startwhere, 1)) <<<;> "\" then
  360.  
  361. <:#284,9360>            StartWhere = "{StartWhere}\"
  362.  
  363. <:#284,9360>        endif
  364.  
  365. <:#284,9360>        ForWhat = FileSpec
  366.  
  367. <:#284,9360>    endif
  368.  
  369. <:#284,9360>else
  370.  
  371. <:#284,9360>    ForWhat = MID$(FileSpec j + 1 (Len(FileSpec) - j + 1))
  372.  
  373. <:#284,9360>    StartWhere = MID$(FileSpec 1 j)
  374.  
  375. <:#284,9360>endif
  376.  
  377. allocglobalvar("breakit", 1)
  378.  
  379. freeglobalvar("breakit")
  380.  
  381. allocglobalvar("breakit", 1)
  382.  
  383. FindIt(hdlg, StartWhere, ForWhat, Subs)
  384.  
  385. '<:f240,BArial,255,0,0>freeglobalvar("breakit")<:f>
  386.  
  387. count = getglobalvar$(1003)
  388.  
  389. <:#284,9360>setdlgitemtext(hdlg, 8007, count)
  390.  
  391. <:#284,9360>statusbarmsg("")
  392.  
  393. <:#284,9360>enablewindow(getdlgitem(hdlg, 71), 1)
  394.  
  395. <:#284,9360>setfocus(getdlgitem(hdlg, 71))
  396.  
  397. <:#284,9360>return 1
  398.  
  399. <:#284,9360>endit:
  400.  
  401. <:#284,9360>for i = 1000 to 1003
  402.  
  403. <:#284,9360>    allocglobalvar(i, 1)
  404.  
  405. <:#284,9360>next
  406.  
  407. <:#284,9360>for i = 1000 to 1003
  408.  
  409. <:#284,9360>    freeglobalvar(i)
  410.  
  411. <:#284,9360>next
  412.  
  413. <:#284,9360>statusbarmsg("")
  414.  
  415. <:#284,9360>end function
  416.  
  417. <:#284,9360>
  418.  
  419. @Function@<:#293,9360>function findit(hdlg, startwhere, forwhat, subs)
  420.  
  421. 'singlestep(1)
  422.  
  423. <:#284,9360>hourglass(1)
  424.  
  425. ignorekeyboard(1)
  426.  
  427. onerror endit
  428.  
  429. oncancel endit
  430.  
  431. if getglobalvar$("breakit")
  432.  
  433.     goto endit
  434.  
  435. endif
  436.  
  437. <+C>rmac = getrunningmacrofile$()
  438.  
  439. <+C>
  440.  
  441. <:#284,9360>dim dirs(300)
  442.  
  443. <:#284,9360>count = getglobalvar$(1003)
  444.  
  445. <:#284,9360>temp = strcat$(startwhere forwhat)
  446.  
  447. <:#284,9360>name = findfirst$(temp 1)
  448.  
  449. <:#284,9360>statusbarmsg(name)
  450.  
  451. <:#284,9360>while "" <<<;> name
  452.  
  453. <:#284,9360>    if "\" <<<;> right$(name, 1)
  454.  
  455. <:#284,9360>        count = count + 1
  456.  
  457. <:#284,9360>        size = getglobalvar$(1002)
  458.  
  459. <:#284,9360>        if size = count
  460.  
  461. <:#284,9360>            size = size + 100
  462.  
  463. <:#284,9360>            allocglobalvar(1000 size)
  464.  
  465. <:#284,9360>            allocglobalvar(1001 size)
  466.  
  467. <:#284,9360>            setglobalvar(1002 size)
  468.  
  469. <:#284,9360>        endif
  470.  
  471. <:#284,9360>        statusbarmsg("{startwhere}{name}")
  472.  
  473. <:#284,9360>        txt = getglobalvar$("txt")
  474.  
  475. <:#284,9360>        if txt <<<;> ""
  476.  
  477. <:#284,9360>            file = ckfile("{startwhere}{name}")
  478.  
  479. <:#284,9360>            if file = 0
  480.  
  481. <:#284,9360>                goto noadd
  482.  
  483. <:#284,9360>            endif
  484.  
  485. <:#284,9360>        endif
  486.  
  487. <:#284,9360>        setdlgitemtext(hdlg, 9007, "{startwhere}{name}")
  488.  
  489. <:#284,9360>        'count = getglobalvar$(1003)
  490.  
  491. <:#284,9360>        setdlgitemtext(hdlg, 8007, count)
  492.  
  493. <:#284,9360>        hits = getglobalvar$("hits")
  494.  
  495. <:#284,9360>        hits = hits + 1
  496.  
  497. <:#284,9360>        setglobalvar("hits", hits)
  498.  
  499. <:#284,9360>        setdlgitemtext(hdlg, 8009, hits)
  500.  
  501. <:#284,9360>        'filllist("{startwhere}{name}")
  502.  
  503. <:#284,9360>        'type("{startwhere}{name}<[>enter]") ******** DATA ***********
  504.  
  505. <:#284,9360>        setglobalarray(1000 count startwhere)
  506.  
  507. <:#284,9360>        setglobalarray(1001 count name)
  508.  
  509. <:#284,9360>        noadd:
  510.  
  511. <:#284,9360>    endif
  512.  
  513. <:#284,9360>    name = findnext$()
  514.  
  515. <:#284,9360>wend
  516.  
  517. <:#284,9360>setglobalvar(1003 count)
  518.  
  519. <:#284,9360>if subs <<<;> 1 then
  520.  
  521. <:#284,9360>    return 1
  522.  
  523. <:#284,9360>endif
  524.  
  525. <:#284,9360>temp = strcat$(startwhere "*.")
  526.  
  527. <:#284,9360>name = findfirst$(temp 16)
  528.  
  529. <:#284,9360>dircount = 0
  530.  
  531. <:#284,9360>while "" <<<;> name
  532.  
  533. <:#284,9360>    if "\" = right$(name, 1)
  534.  
  535. <:#284,9360>        if "." <<<;> mid$(name 1 1)
  536.  
  537. <:#284,9360>            temp = strcat$(startwhere name)
  538.  
  539. <:#284,9360>            dircount = dircount + 1
  540.  
  541. <:#284,9360>            dirs(dircount) = temp
  542.  
  543. <:#284,9360>        endif
  544.  
  545. <:#284,9360>    endif
  546.  
  547. <:#284,9360>    name = findnext$()
  548.  
  549. <:#284,9360>    statusbarmsg(name)
  550.  
  551. <:#284,9360>wend
  552.  
  553. <:#284,9360>for i = 1 to dircount
  554.  
  555. <:#284,9360>    temp = dirs(i)
  556.  
  557.     if getglobalvar$("breakit") = 1
  558.  
  559.         goto endit
  560.  
  561.     endif
  562.  
  563.     findit(hdlg, temp, forwhat, subs)
  564.  
  565. next
  566.  
  567. return 1
  568.  
  569. endit:
  570.  
  571. setglobalvar("breakit", 1)
  572.  
  573. <:#284,9360>end function
  574.  
  575. <:#284,9360>
  576.  
  577. <:#284,9360>
  578.  
  579. @Function@<:#293,9360>
  580.  
  581. @Function@<:#293,9360>function ckfile(file)
  582.  
  583. ignorekeyboard(1)
  584.  
  585. <:#284,9360>txt = getglobalvar$("txt")
  586.  
  587. <:#284,9360>extension=lcase$(strfield$(file, 2, "."))
  588.  
  589. <:#284,9360>dontsearch=lcase$("bmp com dll exe flt grp hlp ico sys wav")
  590.  
  591. <:#284,9360>if instr(0, dontsearch, extension) !=0
  592.  
  593. <:#284,9360>    return 0
  594.  
  595. <:#284,9360>    exit function
  596.  
  597. <:#284,9360>endif
  598.  
  599. <:#284,9360>statusbarmsg("Checking text of file:  {file}")
  600.  
  601. <:#284,9360>fh = fopen(file, "rb")
  602.  
  603. <:#284,9360>if fh << 1
  604.  
  605. <:#284,9360>    message("Unable to open file {file}")
  606.  
  607. <:#284,9360>    return 0
  608.  
  609. <:#284,9360>endif
  610.  
  611. <:#284,9360>onerror endit
  612.  
  613. <:#284,9360>oncancel endit
  614.  
  615. <:#284,9360>fseek(fh, 0, fend)
  616.  
  617. <:#284,9360>last = ftell(fh)
  618.  
  619. <:#284,9360>fseek(fh, 0, fbegin)
  620.  
  621. <:#284,9360>start = 0
  622.  
  623. <:#284,9360>while (1)
  624.  
  625. <:#284,9360>    data = fread(fh, 3200)
  626.  
  627. <:#284,9360>    ck = instr(0, data, txt)
  628.  
  629. <:#284,9360>    if ck <<<;> 0 and ck <<<;> ""
  630.  
  631. <:#284,9360>        break
  632.  
  633. <:#284,9360>    endif
  634.  
  635. <:#284,9360>    start = start + 3200
  636.  
  637. <:#284,9360>    where = ftell(fh)
  638.  
  639. <:#284,9360>    if where <;>= last
  640.  
  641. <:#284,9360>        break
  642.  
  643. <:#284,9360>    endif
  644.  
  645. <:#284,9360>wend
  646.  
  647. <:#284,9360>endit:
  648.  
  649. <:#284,9360>fclose(fh)
  650.  
  651. <:#284,9360>return ck
  652.  
  653. <:#284,9360>end function
  654.  
  655. <:#284,9360>
  656.  
  657. <:#284,9360>
  658.  
  659. <:#284,9360>62
  660.  
  661. @Function@<:#293,9360>DIALOG filesfound
  662.  
  663. <:#284,9360>-2134376448 14 56 27 222 50 "" "" "Find Files"
  664.  
  665. <:#284,9360>FONT 8 "Helv"
  666.  
  667. <:#284,9360>6 7 58 8 1002 1342177280 "static" "Searc&h For:" 0 
  668.  
  669. <:#284,9360>69 5 90 12 8000 1350631552 "edit" "" 0 
  670.  
  671. <:#284,9360>69 18 85 9 100 1342242819 "button" "Include &Subdirectories" 0 
  672.  
  673. <:#284,9360>6 32 61 10 1001 1342177280 "static" "Text to search for:" 0 
  674.  
  675. <:#284,9360>69 30 89 12 8001 1350631552 "edit" "" 0 
  676.  
  677. <:#284,9360>4 60 66 8 1000 1342177280 "static" "&Select files to open:" 0 
  678.  
  679. <:#284,9360>4 71 212 71 9007 1352728587 "listbox" "" 0 
  680.  
  681. <:#284,9360>177 52 40 14 71 1342373889 "button" "Open" 0 
  682.  
  683. <:#284,9360>177 5 40 14 70 1342373889 "button" "Search" 0 
  684.  
  685. <:#284,9360>177 21 40 14 2 1342373888 "button" "Cancel" 0 
  686.  
  687. <:#284,9360>104 50 52 10 1003 1342177280 "static" "Files searched" 0 
  688.  
  689. <:#284,9360>82 49 18 9 8007 1342177280 "static" "" 0 
  690.  
  691. <:#284,9360>104 61 48 9 1005 1342177280 "static" "Files found" 0 
  692.  
  693. <:#284,9360>82 61 18 9 8009 1342177280 "static" "" 0 
  694.  
  695. <:#284,9360>END DIALOG
  696.  
  697.  
  698.  
  699. @Function@function stopit()
  700.  
  701. setglobalvar("breakit", 1)
  702.  
  703. end function
  704.  
  705.  
  706. >
  707.  
  708. [Embedded]
  709. 00012566
  710. >
  711. [macsum] 8
  712. ff.smm 0 1 6 11
  713. initbox 659 1 1 58
  714. openem 748 3 9 64
  715. findem 1383 1 15 97
  716. findit 3266 4 12 181
  717. ckfile 4679 1 10 262
  718. filesfound 5397 0 -1 302
  719. stopit 6196 0 1 322
  720. [macse]
  721. 14 ff.smm
  722. 0 1317
  723. 13
  724. 11 00000107
  725. 0 3 "Macro not available while running under HP NewWave."
  726. 6 1
  727. 15
  728. 9
  729. 0 296 1
  730. 0 32 1
  731. 0 802
  732. 13
  733. 8 2
  734. 5 300
  735. 8 3
  736. 0 271 1000 "{3}"
  737. 0 271 1001 "{3}"
  738. 0 271 1002 1
  739. 0 271 1003 1
  740. 0 271 "txt" 1
  741. 0 271 "itran" 1
  742. 0 271 "hits" 1
  743. 0 264 "txt" ""
  744. 0 264 1002 "{3}"
  745. 20 00000557
  746. 19 00000557
  747. 0 268
  748. 13
  749. 8 4
  750. 6 0
  751. 7 ""
  752. 18 1
  753. 11 00000386
  754. 0 295
  755. 13
  756. 8 4
  757. 7 "{4}*.S?M"
  758. 8 4
  759. 5 0
  760. 8 5
  761. 0 31 8000 "{4}"
  762. 0 31 100 "{5}"
  763. 0 31 20 1
  764. 0 41 0 "{2}!initbox"
  765. 0 41 70 "{2}!findem"
  766. 0 41 71 "{2}!openem"
  767. 0 26 "." "filesfound"
  768. 13
  769. 8 6
  770. 0 266 1000
  771. 0 266 1001
  772. 0 266 1002
  773. 0 266 1003
  774. 0 266 "txt"
  775. 0 266 "itran"
  776. 0 266 "hits"
  777. 6 1
  778. 15
  779. 9
  780. 14 initbox
  781. 0 296 1
  782. 0 44 "{0}" 71
  783. 13
  784. 0 284 "user,EnableWindow,HHH" [X] 0
  785. 6 1
  786. 15
  787. 9
  788. 14 openem
  789. 0 296 1
  790. 0 32 1
  791. 0 44 "{0}" 9007
  792. 13
  793. 8 4
  794. 0 1036 "{4}" 1041 0 0
  795. 13
  796. 8 5
  797. 0 1050
  798. 13
  799. 8 6
  800. 5 9
  801. 6 6
  802. 3 1
  803. 8 7
  804. 6 5
  805. 5 1
  806. 18 5
  807. 11 00000198
  808. 0 3 "No files selected to open."
  809. 5 0
  810. 15
  811. 9
  812. 0 39 13
  813. 13
  814. 8 8
  815. 6 5
  816. 6 7
  817. 18 3
  818. 11 00000313
  819. 0 3 "Select {7} files or less; {6} file already open."
  820. 5 0
  821. 15
  822. 9
  823. 6 5
  824. 21 9 [X]
  825. 0 284 "user,sendmessage,HHHHN" "{4}" 1042 "{5}" &9
  826. 0 284 "User,PostMessage,HHHHJ" "{0}" 273 1 0
  827. 5 1
  828. 8 11
  829. 6 5
  830. 6 11
  831. 18 2
  832. 12 00000515
  833. 10 00000623
  834. 5 1
  835. 6 11
  836. 3 0
  837. 8 11
  838. 10 00000437
  839. 6 11
  840. 22 9
  841. 0 284 "user,sendmessage,HHHHC" "{4}" 1034 [X] &10
  842. 2 102 1 "{10}" 1 ""
  843. 0 274 002
  844. 10 00000480
  845. 6 3
  846. 15
  847. 9
  848. 14 findem
  849. 0 296 1
  850. 0 32 1
  851. 0 265 "itran"
  852. 13
  853. 5 1
  854. 18 1
  855. 11 00000294
  856. 5 4
  857. 21 2 [X]
  858. 0 284 "user,GetWindowRect,HHN" "{0}" &2
  859. 5 1
  860. 22 2
  861. 8 3
  862. 5 2
  863. 22 2
  864. 8 4
  865. 5 3
  866. 22 2
  867. 8 5
  868. 5 4
  869. 22 2
  870. 8 6
  871. 6 5
  872. 6 3
  873. 3 1
  874. 6 6
  875. 6 4
  876. 3 1
  877. 5 146
  878. 3 0
  879. 0 284 "user,MoveWindow,HHHHHHH" "{0}" "{3}" "{4}" [X] [X] 1
  880. 0 264 "itran" 1
  881. 0 32 1
  882. 20 00001615
  883. 19 00001615
  884. 0 42 "{0}" 8000
  885. 13
  886. 8 7
  887. 0 42 "{0}" 8001
  888. 13
  889. 0 264 "txt" [X]
  890. 0 13 1 "{7}" "\"
  891. 13
  892. 5 1
  893. 18 5
  894. 11 00000480
  895. 0 16 "\" "{7}"
  896. 13
  897. 8 7
  898. 0 42 "{0}" 100
  899. 13
  900. 8 8
  901. 0 44 "{0}" 9007
  902. 13
  903. 8 9
  904. 0 1036 "{9}" 1029 0 0
  905. 0 266 1000
  906. 0 266 1001
  907. 0 266 1002
  908. 0 266 1003
  909. 5 300
  910. 8 10
  911. 0 271 1000 "{10}"
  912. 0 271 1001 "{10}"
  913. 0 271 1002 1
  914. 0 271 1003 1
  915. 0 264 1003 0
  916. 0 264 1002 "{10}"
  917. 0 264 "hits" 0
  918. 0 265 1003
  919. 13
  920. 0 43 "{0}" 8007 [X]
  921. 0 265 1003
  922. 13
  923. 0 43 "{0}" 8009 [X]
  924. 5 1
  925. 8 11
  926. 6 11
  927. 5 0
  928. 18 3
  929. 11 00000968
  930. 0 13 "{11}" "{7}" "\"
  931. 13
  932. 8 11
  933. 6 11
  934. 5 1
  935. 18 5
  936. 11 00000921
  937. 10 00000968
  938. 6 11
  939. 8 12
  940. 6 11
  941. 5 1
  942. 3 0
  943. 8 11
  944. 10 00000815
  945. 6 12
  946. 5 1
  947. 18 5
  948. 11 00001236
  949. 5 0
  950. 0 13 1 "{7}" "*"
  951. 13
  952. 18 0
  953. 5 0
  954. 0 13 1 "{7}" "?"
  955. 13
  956. 18 0
  957. 1 2
  958. 11 00001132
  959. 0 3 "Invalid Filespec"
  960. 10 00000345
  961. 10 00001223
  962. 0 290
  963. 13
  964. 8 13
  965. 0 807 "{13}" 1
  966. 13
  967. 7 "\"
  968. 18 1
  969. 11 00001212
  970. 7 "{13}\"
  971. 8 13
  972. 6 7
  973. 8 14
  974. 10 00001350
  975. 6 12
  976. 5 1
  977. 3 0
  978. 0 14 "{7}"
  979. 13
  980. 6 12
  981. 3 1
  982. 5 1
  983. 3 0
  984. 0 15 "{7}" [X] [X]
  985. 13
  986. 8 14
  987. 0 15 "{7}" 1 "{12}"
  988. 13
  989. 8 13
  990. 0 271 "breakit" 1
  991. 0 266 "breakit"
  992. 0 271 "breakit" 1
  993. 16 FindIt "{0}" "{13}" "{14}" "{8}"
  994. 0 265 1003
  995. 13
  996. 8 15
  997. 0 43 "{0}" 8007 "{15}"
  998. 0 789 ""
  999. 0 44 "{0}" 71
  1000. 13
  1001. 0 284 "user,EnableWindow,HHH" [X] 1
  1002. 0 44 "{0}" 71
  1003. 13
  1004. 0 284 "user,SetFocus,HH" [X]
  1005. 5 1
  1006. 15
  1007. 9
  1008. 5 1000
  1009. 8 11
  1010. 5 1003
  1011. 6 11
  1012. 18 2
  1013. 12 00001710
  1014. 10 00001739
  1015. 5 1
  1016. 6 11
  1017. 3 0
  1018. 8 11
  1019. 10 00001629
  1020. 0 271 "{11}" 1
  1021. 10 00001675
  1022. 5 1000
  1023. 8 11
  1024. 5 1003
  1025. 6 11
  1026. 18 2
  1027. 12 00001834
  1028. 10 00001861
  1029. 5 1
  1030. 6 11
  1031. 3 0
  1032. 8 11
  1033. 10 00001753
  1034. 0 266 "{11}"
  1035. 10 00001799
  1036. 0 789 ""
  1037. 6 1
  1038. 15
  1039. 9
  1040. 14 findit
  1041. 0 296 1
  1042. 0 32 1
  1043. 20 00001382
  1044. 19 00001382
  1045. 0 265 "breakit"
  1046. 13
  1047. 11 00000101
  1048. 10 00001382
  1049. 0 802
  1050. 13
  1051. 8 5
  1052. 5 300
  1053. 21 6 [X]
  1054. 0 265 1003
  1055. 13
  1056. 8 7
  1057. 0 16 "{1}" "{2}"
  1058. 13
  1059. 8 8
  1060. 0 280 "{8}" 1
  1061. 13
  1062. 8 9
  1063. 0 789 "{9}"
  1064. 7 ""
  1065. 6 9
  1066. 18 1
  1067. 11 00000807
  1068. 7 "\"
  1069. 0 807 "{9}" 1
  1070. 13
  1071. 18 1
  1072. 11 00000778
  1073. 6 7
  1074. 5 1
  1075. 3 0
  1076. 8 7
  1077. 0 265 1002
  1078. 13
  1079. 8 10
  1080. 6 10
  1081. 6 7
  1082. 18 0
  1083. 11 00000447
  1084. 6 10
  1085. 5 100
  1086. 3 0
  1087. 8 10
  1088. 0 271 1000 "{10}"
  1089. 0 271 1001 "{10}"
  1090. 0 264 1002 "{10}"
  1091. 0 789 "{1}{9}"
  1092. 0 265 "txt"
  1093. 13
  1094. 8 11
  1095. 6 11
  1096. 7 ""
  1097. 18 1
  1098. 11 00000590
  1099. 16 ckfile "{1}{9}"
  1100. 13
  1101. 8 12
  1102. 6 12
  1103. 5 0
  1104. 18 0
  1105. 11 00000590
  1106. 10 00000778
  1107. 0 43 "{0}" 9007 "{1}{9}"
  1108. 0 43 "{0}" 8007 "{7}"
  1109. 0 265 "hits"
  1110. 13
  1111. 8 13
  1112. 6 13
  1113. 5 1
  1114. 3 0
  1115. 8 13
  1116. 0 264 "hits" "{13}"
  1117. 0 43 "{0}" 8009 "{13}"
  1118. 0 272 1000 "{7}" "{1}"
  1119. 0 272 1001 "{7}" "{9}"
  1120. 0 281
  1121. 13
  1122. 8 9
  1123. 10 00000219
  1124. 0 264 1003 "{7}"
  1125. 6 3
  1126. 5 1
  1127. 18 1
  1128. 11 00000866
  1129. 5 1
  1130. 15
  1131. 9
  1132. 0 16 "{1}" "*."
  1133. 13
  1134. 8 8
  1135. 0 280 "{8}" 16
  1136. 13
  1137. 8 9
  1138. 5 0
  1139. 8 14
  1140. 7 ""
  1141. 6 9
  1142. 18 1
  1143. 11 00001157
  1144. 7 "\"
  1145. 0 807 "{9}" 1
  1146. 13
  1147. 18 0
  1148. 11 00001115
  1149. 7 "."
  1150. 0 15 "{9}" 1 1
  1151. 13
  1152. 18 1
  1153. 11 00001115
  1154. 0 16 "{1}" "{9}"
  1155. 13
  1156. 8 8
  1157. 6 14
  1158. 5 1
  1159. 3 0
  1160. 8 14
  1161. 6 14
  1162. 6 8
  1163. 23 6
  1164. 0 281
  1165. 13
  1166. 8 9
  1167. 0 789 "{9}"
  1168. 10 00000928
  1169. 5 1
  1170. 8 15
  1171. 6 14
  1172. 6 15
  1173. 18 2
  1174. 12 00001247
  1175. 10 00001370
  1176. 5 1
  1177. 6 15
  1178. 3 0
  1179. 8 15
  1180. 10 00001168
  1181. 6 15
  1182. 22 6
  1183. 8 8
  1184. 0 265 "breakit"
  1185. 13
  1186. 5 1
  1187. 18 0
  1188. 11 00001322
  1189. 10 00001382
  1190. 16 findit "{0}" "{8}" "{2}" "{3}"
  1191. 10 00001212
  1192. 5 1
  1193. 15
  1194. 9
  1195. 0 264 "breakit" 1
  1196. 6 4
  1197. 15
  1198. 9
  1199. 14 ckfile
  1200. 0 32 1
  1201. 0 265 "txt"
  1202. 13
  1203. 8 2
  1204. 0 20 "{0}" 2 "."
  1205. 13
  1206. 0 17 [X]
  1207. 13
  1208. 8 3
  1209. 0 17 "bmp com dll exe flt grp hlp ico sys wav"
  1210. 13
  1211. 8 4
  1212. 0 808 0 "{4}" "{3}"
  1213. 13
  1214. 5 0
  1215. 18 1
  1216. 11 00000212
  1217. 5 0
  1218. 15
  1219. 9
  1220. 6 1
  1221. 15
  1222. 9
  1223. 0 789 "Checking text of file:  {0}"
  1224. 0 259 "{0}" "rb"
  1225. 13
  1226. 8 5
  1227. 6 5
  1228. 5 1
  1229. 18 5
  1230. 11 00000348
  1231. 0 3 "Unable to open file {0}"
  1232. 5 0
  1233. 15
  1234. 9
  1235. 20 00000681
  1236. 19 00000681
  1237. 0 263 "{5}" 0 2
  1238. 0 262 "{5}"
  1239. 13
  1240. 8 6
  1241. 0 263 "{5}" 0 0
  1242. 5 0
  1243. 8 7
  1244. 5 1
  1245. 11 00000681
  1246. 0 782 "{5}" 3200
  1247. 13
  1248. 8 8
  1249. 0 808 0 "{8}" "{2}"
  1250. 13
  1251. 8 9
  1252. 6 9
  1253. 5 0
  1254. 18 1
  1255. 6 9
  1256. 7 ""
  1257. 18 1
  1258. 1 1
  1259. 11 00000579
  1260. 10 00000681
  1261. 6 7
  1262. 5 3200
  1263. 3 0
  1264. 8 7
  1265. 0 262 "{5}"
  1266. 13
  1267. 8 10
  1268. 6 10
  1269. 6 6
  1270. 18 2
  1271. 11 00000668
  1272. 10 00000681
  1273. 10 00000440
  1274. 0 260 "{5}"
  1275. 6 9
  1276. 15
  1277. 9
  1278. 6 1
  1279. 15
  1280. 9
  1281. DIALOG filesfound
  1282. -2134376448 14 56 27 222 50 "" "" "Find Files" 
  1283. FONT 8 "Helv" 
  1284. 6 7 58 8 1002 1342177280 "static" "Searc&h For:" 0 
  1285. 69 5 90 12 8000 1350631552 "edit" "" 0 
  1286. 69 18 85 9 100 1342242819 "button" "Include &Subdirectories" 0 
  1287. 6 32 61 10 1001 1342177280 "static" "Text to search for:" 0 
  1288. 69 30 89 12 8001 1350631552 "edit" "" 0 
  1289. 4 60 66 8 1000 1342177280 "static" "&Select files to open:" 0 
  1290. 4 71 212 71 9007 1352728587 "listbox" "" 0 
  1291. 177 52 40 14 71 1342373889 "button" "Open" 0 
  1292. 177 5 40 14 70 1342373889 "button" "Search" 0 
  1293. 177 21 40 14 2 1342373888 "button" "Cancel" 0 
  1294. 104 50 52 10 1003 1342177280 "static" "Files searched" 0 
  1295. 82 49 18 9 8007 1342177280 "static" "" 0 
  1296. 104 61 48 9 1005 1342177280 "static" "Files found" 0 
  1297. 82 61 18 9 8009 1342177280 "static" "" 0 
  1298. 14 stopit
  1299. 0 264 "breakit" 1
  1300. 6 0
  1301. 15
  1302. 9
  1303. 00012591
  1304.