In the new bundle editor window, how do I:
* Make hierarchical menus?
* Move / reorder menu items?
Thanks - m.
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
Hi Matt, On 12 Feb 2014, at 13:50, Matt Neuburg matt@tidbits.com wrote:
In the new bundle editor window, how do I:
- Move / reorder menu items?
It’s a manual task currently. If you open an item as a txt file (hold down option while double clicking it), youll see each item has a UUID like:
<string>8DEB312B-16CD-4706-AAAE-352E7514D3FD</string>
Open the bundle .plist, and you’ll see these UUIDs entered under menu headings. Move these to move items.
- Make hierarchical menus?
Menu titles also have UUIDs, you need to create a new item in the the list (create the UUID with uuidgen in the terminal), and then list it’s UUID in the menu you wish it to appear in.
cheers, tim
Okey-dokey, thanks, I'll give it the old college try... I'll also inspect the format of an existing bundle's plist to give me a leg up. m.
On Feb 12, 2014, at 12:12 PM, Tim Bates timothy.c.bates@gmail.com wrote:
Hi Matt, On 12 Feb 2014, at 13:50, Matt Neuburg matt@tidbits.com wrote:
In the new bundle editor window, how do I:
- Move / reorder menu items?
It’s a manual task currently. If you open an item as a txt file (hold down option while double clicking it), youll see each item has a UUID like:
<string>8DEB312B-16CD-4706-AAAE-352E7514D3FD</string>
Open the bundle .plist, and you’ll see these UUIDs entered under menu headings. Move these to move items.
- Make hierarchical menus?
Menu titles also have UUIDs, you need to create a new item in the the list (create the UUID with uuidgen in the terminal), and then list it’s UUID in the menu you wish it to appear in.
cheers, tim
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
On Feb 12, 2014, at 12:12 PM, Tim Bates timothy.c.bates@gmail.com wrote:
Open the bundle .plist, and you’ll see these UUIDs entered under menu headings
This part is not true for me. My bundle .plist in its entirety looks like this:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>contactEmailRot13</key> <string></string> <key>contactName</key> <string>Matt Neuburg</string> <key>description</key> <string><strong></strong>New shiny bundle for X.</string> <key>name</key> <string>MattBundle</string> <key>uuid</key> <string>A82A9BCD-043E-4711-9CC2-DC88A72E12BE</string> </dict> </plist>
As you can see, no menus are listed. They are present and they work when I'm using the bundle, but there is nothing representing them in the .plist. Therefore there is nothing to rearrange. I'm not going to create the entire structure by hand; that's way too error-prone. This is a dastardly situation. m.
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com