Results 1 to 3 of 3
  1. #1
    Folder handled as a file

    Member Since
    Jun 13, 2008
    Posts
    2
    Folder handled as a file
    Hi all!

    Someone know if is it possible to use a folder as a single file? File with .rcproject extension are handled as imovie project file. If I remove the extension .rcproject, the file become a folder. How is it possible to reproduce this behaviour?

    How is it possible to create a new association between a folder and an application?

    Any help is appreciated.

    Thanks,

    -- Stefano

  2. #2
    Folder handled as a file

    Member Since
    Mar 04, 2008
    Posts
    477
    Are you writing the application yourself? I doubt just adding an extension to a particular application will automatically mean that i'll open or do anything with that app.

    Anyway, that kind of info is in the info.plist of the app. (you'll have to show package contents of the app). The thing you'll want to look for in particular is "CFBundleTypeExtensions".

    You can really add any extension to a folder and it'll be treated like a bundle. Like if you add .wdgt it'll turn into the widget icon. The folder, obviously, is still just an empty folder.

    I hope that helps, for whatever it is that you're trying to do.

  3. #3
    Folder handled as a file

    Member Since
    Jun 13, 2008
    Posts
    2
    I'm writing an application that save some informations into a folder. I want to handle this folder as single file; in other word if the user has this application it see a single file otherwise it see a folder with it's content.

    Thanks for your reply!

    -- Stefano

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. file and folder sharing
    By jmont32 in forum OS X - Operating System
    Replies: 1
    Last Post: 12-22-2014, 11:03 AM
  2. How do I find a file in a folder?
    By romatech in forum OS X - Operating System
    Replies: 10
    Last Post: 08-30-2013, 07:22 AM
  3. Folder that acts like a file
    By woozy in forum Running Windows (or anything else) on your Mac
    Replies: 2
    Last Post: 09-24-2011, 01:43 PM
  4. Can you do file sharing with just one folder?
    By Vanguard in forum OS X - Operating System
    Replies: 5
    Last Post: 02-13-2011, 03:51 PM
  5. Locking Folder/File
    By eurotune2 in forum OS X - Operating System
    Replies: 2
    Last Post: 12-30-2008, 07:51 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
  •