[TxMt] tm_dialog - mmm.. Lot's of questions.

Steven.Klass at smsc.com Steven.Klass at smsc.com
Wed Mar 14 23:07:06 UTC 2007


Hi all,

I am having a problem getting started with tm_dialog.  I followed the 
instructions (intro_to_tm_dialog.mov -- 
http://macromates.com/blog/archives/2006/10/28/new-dialog-system-for-commands/ 
) but the first error I found was this: 
    > tm_dialog
 /Applications/TextMate.app/Contents/SharedSupport/Support/bin/tm_dialog: 
line 5: /bin/tm_dialog_v5: No such file or directory

( In this 20 seconds I learned the ctrl-R - whoa KICK BUTT!! -- but sadly 
`which tm_dialog` didn't work (strange tm_dialog worked)..)

The script was easy so I just will use tm_dialog_v5, but then the 
following error occurred. Upon simply creating an empty nib and attempting 
to use tm_dialog with it I get the following error:
    > tm_dialog_v5 ~/Desktop/test.nib
    tm_dialog: you have updated the Dialog plug-in to v8 but the tm_dialog 
tool is still at v5

Since the movie ended abruptly I figured someone has a working example 
buried in the TM application.  I dug into the SharedBundles and started 
looking around hoping to find a completion to the movie - or a bunch of 
people who have created some nibs.  I only found 10. (Uh-oh)  Doing some 
digging I can't seem to find any code which calls a nib other than the 
subversion example but I don't understand how that works - it doesn't 
appear to actually call it (i.e It doesn't ever seem to do a tm_dialog??) 
So I am left with a bunch of questions I hope you experts can help me 
with.

1.  How can I get tm_dialog v8 or how do I get this to work as is?
2.  Can someone give me a crude example of how to call a nib from a bundle 
command and use it's output?
3.  When creating a nib I want to get a password from a user - how do I 
obfuscate the input?
4.  How can I store that password so I can use it in other functions 
within the bundle?
5.  There was mention of a python property list parser - does anyone know 
how this works with tm_dialog (example would be great), where it is and 
how to use it?


Thanks a lot from A paying customer - who just bought the book too!!
 
---

Steven M. Klass

Strategic Manager, Design Automation - Analog Mixed Signal

SMSC
3930 East Ray Road, Suite 200
Phoenix, Arizona 85044
(480) 704-7046 (Desk)
(480) 225-1112 (Mobile)
steven.klass at smsc.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070314/87016174/attachment.html>


More information about the textmate mailing list