New topic: Owning File type
<http://forums.realsoftware.com/viewtopic.php?t=41972> Page 1 of 1 [ 4 posts ] Previous topic | Next topic Author Message Jym Post subject: Owning File typePosted: Tue Dec 27, 2011 2:08 pm Joined: Sat Oct 01, 2005 5:19 pm Posts: 2804 How do I get my software to run if a user double clicks the file they created with the software? I went without this last semester however no matter what I said to the students they just couldn't get into their head they needed to open it from the software, so they all double clicked the file and of course it didn't do anything. Top kermit Post subject: Re: Owning File typePosted: Tue Dec 27, 2011 3:24 pm Joined: Mon May 30, 2011 12:56 am Posts: 300 In the project settings, make sure your app has a bundle identifier set. (normally something like com.companyname.product) Set the 'AcceptFileTypes' option so that it can accept files of 'your' type. Your file type needs to be defined in FileTypes Click on the ellipsis next to these file types, and set the 'role' to be 'editor' I think that should do it. You may need to save a file before Mac OSX wakes up to these settings. Top Jym Post subject: Re: Owning File typePosted: Tue Dec 27, 2011 4:10 pm Joined: Sat Oct 01, 2005 5:19 pm Posts: 2804 Ok thanks, I will give that a whirl, does it have anything to do with the Extension like it does on PC? Do I need to find one that doesn't already exist in the Mac world of software? Top kermit Post subject: Re: Owning File typePosted: Tue Dec 27, 2011 4:25 pm Joined: Mon May 30, 2011 12:56 am Posts: 300 That will no doubt help. If you use an existing one, there is always the chance that another app will 'claim' it. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 4 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
