User Tag List

Results 1 to 4 of 4

Thread: List all .INI groups

  1. #1
    No Products Registered

    Join Date
    Oct 2006
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    List all .INI groups

    Hi,

    Is there a way that I can get a RTF box to list all of the groups found in a .INI file (with a line for each)?

    I've tried playing round with the load text and search functions, but all I seem to be able to do is load the whole thing, strings and all!

    I hope I've explained that enough - my head's pretty fuzzy now.

    Thanks a lot

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: List all .INI groups

    I'm not sure if INI is intended for that functionality - the object knows that the file has groups, but can't tell what they are unless they're referred to by name. Can you explain what you're trying to do in the bigger picture, and perhaps someone can suggest an alternative approach? (I think that the Named Variable Object has a "count keys" action available, for example.)

    Actually, to add to that - I suppose you could load the file as text into the String Parser 2, then extract anything between [ and ] characters.

  3. #3
    No Products Registered

    Join Date
    Oct 2006
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: List all .INI groups

    DavidN - that's a good idea, I'll try that.

    What I'm trying to do is a create a text box which you type into, while a list box below fills with words (groups from a .INI) which begin with the letters you've typed so far - if you see what I mean. Similar to what happens when you type into a windows explorer bar. There is an object which already does this mostly, the 'Combo Box'. This would be great, but you can't stop it from having the windows 3D look (it's about the only object you can't I think - with 'Active System Box' for example you can disable all 3D shading and make it flat).

    Does that make any sense at all? I'm sorry I haven't explained it better. I realise I'm probably trying to do something I can't...

    Thanks

  4. #4
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: List all .INI groups

    you could load the ini with string parser and use parsing to work it out...

    but thats a lot of working around.

Similar Threads

  1. List object simply doesn't load a list file...
    By Pedro Almeida in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 10th February 2012, 12:46 AM
  2. Replies: 0
    Last Post: 13th October 2009, 12:58 AM
  3. groups/folders in object list
    By dub in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 22nd February 2009, 11:37 AM
  4. Cannot "Load File List" for List & Combo Objects
    By Annie in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st February 2007, 02:34 PM
  5. bug: List object doesnt show list of files ...
    By Rushino in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st November 2006, 11:46 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
  •