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