User Tag List

Results 1 to 9 of 9

Thread: search inside files?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Posts
    322
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    search inside files?

    Hi, I would like to put some pdf files in a cd-rom and be able to do simple searches on these files for simple phrases or words. Can this be done with any mmf2 object?

    I could create an index with keywords for every pdf file but this would be so time-consuming, so I was wondering if thise search inside the files themselves were possible...

  2. #2
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: search inside files?

    Search Object?

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Posts
    322
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: search inside files?

    How does this search object work? I'm testing it with 3 pdf files inside a sub-directory and setting it to look inside it, but I never get any results... In fact, considering disk access, it is in fact doing nothing... I post the simple example file I'm working in here.

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: search inside files?

    PDF files are binary, not plain text. It could be that the text is encrypted or so, not sure.

  5. #5
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: search inside files?

    PDF files seems to use some sort of compression. At least that's what it looked like when I checked one in a hex editor.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: search inside files?

    MMF2 can't currently open PDF files unless you use an ActiveX or some sort of .NET library.

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Posts
    322
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: search inside files?

    The point is not showing the pdf, is to search text inside of it. Do you have experience with this search object? If the files were plain text, would this attempt to search inside them work? Does anyone know a simple way to extract the text of a pdf file to text files?

  8. #8
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: search inside files?

    pdf files are meant to NOT be decoded. They are encoded in a compression format. The search object is for searching plain text files with no compression or encryption. To search other files you must first decode them and then save them into a plain unformatted text file. (eg .txt, and not .rtf)
    Working as fast as I can on Fusion 3

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Posts
    322
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: search inside files?

    Ok, so I saved the contents of the pdf files as txt just for searching purposes. I created a directory named "search" withe the txt files inside of it. Again, the search did not work... Isn't there a tutorial for this object or something?

    I updated the file on the forums with this nem txt version here.

    Thank you a lot!

Similar Threads

  1. search files
    By bubba_damage in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 22nd January 2018, 01:12 PM
  2. embedding MMF swf games inside othe flash files
    By Chokito in forum SWF/Flash Export Module Version 2.0
    Replies: 0
    Last Post: 28th November 2010, 10:33 PM
  3. Creating a list of files inside of a directory
    By MrCyberpunk in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 3rd June 2010, 05:52 AM
  4. Search inside edit box for text, trigger event.
    By Kingoftaurus in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 13th May 2010, 05:33 AM
  5. How do I put files inside the built .exe?
    By dragonguy in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 23rd November 2008, 02:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •