Forum breadcrumbs - You are here:WeLoveGod RallysPublic Forums: futurebasicRe: Counterpart File Extensions R …
You need to log in to create posts and topics.
Re: Counterpart File Extensions Request
77,940 Posts
#1 · March 24, 2022, 8:10 am
Quote from Forum Archives on March 24, 2022, 8:10 amPosted by: bernfbe <bernfbe@...>
Max wrote:I’m requesting the simple addition of two new file extensions
“.fbh” and “.fbm”
Max,I can't speak for Brian (he's sleeping right now) but adding personal preferred extensions to the FB app gets the thumbs down from me.However, below is a possible workaround.1. Dig down into the FB bundle and copy the document icon file FutureBasic.app/Contents/Resources/fbedocicon.icns2. Build this FB app and drop it into the Applications folder.// ---------------#plist CFBundleIdentifier @"com.myteam.FBExt"#plist CFBundleDocumentTypes @[@{CFBundleTypeExtensions:@[@"fbh",@"fbm"],CFBundleTypeIconFile:@"fbedocicon",CFBundleTypeName:@"Doc",CFBundleTypeRole:@"Editor",LSHandlerRank:@"Owner"}]// your file extension(s)include resources "fbedocicon.icns"// ---------------3. Create another FB file.4. Click on the file in the Finder and Get Info (cmd-I)5. Change its file extension to one of the above.6. Click on the 'Open with:' popup and choose FutureBasic.7. Click the 'ChangeAll...' button.The double-clicked file should open in the FB editor.Note: The Finder may take its time showing the file icon (restarting the Mac may help).No guarantees the above will work.Bernie--
To unsubscribe, send ANY message to: [email protected] To access the list archives, go to: http://freegroups.net/groups/futurebasic/
Posted by: bernfbe <bernfbe@...>
Max wrote:
I’m requesting the simple addition of two new file extensions
“.fbh” and “.fbm”
Max,
I can't speak for Brian (he's sleeping right now) but adding personal preferred extensions to the FB app gets the thumbs down from me.
However, below is a possible workaround.
1. Dig down into the FB bundle and copy the document icon file FutureBasic.app/Contents/Resources/fbedocicon.icns
2. Build this FB app and drop it into the Applications folder.
// ---------------
#plist CFBundleIdentifier @"com.myteam.FBExt"
#plist CFBundleDocumentTypes @[@{CFBundleTypeExtensions:@[@"fbh",@"fbm"],CFBundleTypeIconFile:@"fbedocicon",CFBundleTypeName:@"Doc",CFBundleTypeRole:@"Editor",LSHandlerRank:@"Owner"}]// your file extension(s)
include resources "fbedocicon.icns"
// ---------------
3. Create another FB file.
4. Click on the file in the Finder and Get Info (cmd-I)
5. Change its file extension to one of the above.
6. Click on the 'Open with:' popup and choose FutureBasic.
7. Click the 'ChangeAll...' button.
The double-clicked file should open in the FB editor.
Note: The Finder may take its time showing the file icon (restarting the Mac may help).
No guarantees the above will work.
Bernie
--
To unsubscribe, send ANY message to: [email protected] To access the list archives, go to: http://freegroups.net/groups/futurebasic/
Click for thumbs down.0Click for thumbs up.0