User Tag List

Results 1 to 5 of 5

Thread: Search Object Problem

  1. #1
    No Products Registered

    Join Date
    Aug 2007
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Search Object Problem

    I don't seem to be able to get the simple search (indexed search is fine) to work in the Search object. Does anyone have an easy example I could look at.
    Regards, Ken.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

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

    Re: Search Object Problem

    1) I added a File Object to the frame, so that I could get the MyDocuments address from it.
    2) Added a string to the frame to get the first filename that met the conditions.
    3) Set the search directory to be MyDocuments (from the File Object)
    4) Set the search wildcard to "*result*.*" (replace result with the word you want in the filename)
    5) Added an event:
    ......Upon pressing SpaceBar
    ...........Find text "*.*"
    6) Added a second event:
    ......Always
    ...........Set alterable string of string$ to Search filename$
    (Use the get result filename action of the Search object)

    This found me a file with result in the filename

    I don't know why you need to set the wildcards in a separate action, but you do!

  3. #3
    No Products Registered

    Join Date
    Aug 2007
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Search Object Problem

    Sarah, thanks for your help with this. However, I should have been more clear in my original post. What I am trying to do is find a word within a known file, not text which is part of the filename. Does simple search make this possible (finding text within a document), or do I have to use indexed search?
    Regards, Ken.

  4. #4
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Search Object Problem

    Have you loaded the Search Object example from the CD #2 of MMF2?

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

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

    Re: Search Object Problem

    The example on CD #2 is for an index search only. The example also has a few comments in it that suggest it isn't quite complete

Similar Threads

  1. Search function - Search a Word in a couple of strings for example
    By iamjot in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 22nd February 2012, 03:51 PM
  2. (Trying to) use the Search object...
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 28th June 2010, 01:02 PM
  3. Need help with Search Object
    By Patrix in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 11th July 2008, 01:24 PM
  4. Search Object Simple Search
    By juanjo in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 1st July 2008, 04:21 PM
  5. Search Object problem
    By Diego in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 27th August 2007, 04:43 PM

Posting Permissions

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