My app is not in the "Open With..." list. I used "Other" to open the stack with my app. It
worked but the document icon still did not show up in Finder.
My client says he double-clicks the Recipes stack to open LC (it's the only stack he has.) Once
I assigned my standalone in Get Info it does work and Finder suggests it (and only it) when I
choose "Open with...", but the document icon is still missing. Blech.
What I learned today: If your stack has a custom extension, LC will open it and you can do some
basic things like navigation, but nothing else. Keyboard shortcuts don't work and the message
box does not see the stack at all. Even if I do something non-stack-related ("put the
fontnames") there is no response. The message box is totally broken. Double-clicking a control
does not open the property inspector. Right-clicking with the Edit tool does not show a menu.
When I changed the extension back to ".livecode" and restarted LC all works normally. Tested in
9.6.9 and LC 9.6.10.
Double blech.
On 10/18/23 3:59 PM, Paul Dupuis via use-livecode wrote:
Yes, that look right. The file extension is .rbox and the file type is 'rbox' for 'Recipe Box
Files'
I wonder since it only READS .rbox files and does not create them, if you need to context-click
(CTRL-CLICK) on a .rbox file and select "Open With.." to see if your app (an reader of .rbox
files) is in the list and open one to get macOS to associate viewing .rbox files with your App,
since it does not actually create .rbox files?
On 10/18/2023 3:54 PM, J. Landman Gay via use-livecode wrote:
On 10/18/23 10:35 AM, Paul Dupuis via use-livecode wrote:
If you have identified the document extension in the Standalone setting for macOS and set an
ics file of icons (or the appropriate sizes required by Apple) than documents created by
that app should display the icon.
No go. Here is the relevant part of the plist:
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>.rbox</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>StandaloneDoc.icns</string>
<key>CFBundleTypeName</key>
<string>Recipe Box Files</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>rbox</string>
</array>
<key>CFBundleTypeRole</key>
<string>Editor</string>
</dict>
</array>
The app does not create new files, it just opens the existing stack, originally a LC file. I
tried a "save as..." but that didn't work either. Is there a way to set the signature on an
existing file? I did try and the stack wouldn't open, presumably it's corrupted.
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode