Hello list,
I thought I'd like to work through some screencasts today. I was interested in tm_dialog with the Interface Builder.
Now there are some problems in my environment. First there was a problem that I use version 5 and I should have used version 6.
I've copied the tm_dialog from /Library/Application Support/... into the Textmate.app/...
When I call tm_dialog test.nib/ with an very early version out of the screencast it doesn't show an empty window?!
Could someone give me a hint?
Thanks. Regards
Karl-Heinz
Hm... looks like you need to provide parameters for the window to appear. I'll fix this. Meanwhile, an empty property list (-p '') should work.
Chris
On Dec 11, 2006, at 8:37 AM, Wild Karl-Heinz wrote:
Hello list,
I thought I'd like to work through some screencasts today. I was interested in tm_dialog with the Interface Builder.
Now there are some problems in my environment. First there was a problem that I use version 5 and I should have used version 6.
I've copied the tm_dialog from /Library/Application Support/... into the Textmate.app/...
When I call tm_dialog test.nib/ with an very early version out of the screencast it doesn't show an empty window?!
Could someone give me a hint?
Thanks. Regards
Karl-Heinz
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
In message "[TxMt] tm_dialog ..." on 11.12.2006, Chris Thomas chris@cjack.com writes:
CT> Hm... looks like you need to provide parameters for the window to CT> appear. I'll fix this. Meanwhile, an empty property list (-p '') CT> should work.
The example and tm_dialog reacting seems quite different.
- only tm_dialog -p '' -m Desktop/test.nib/ works. without -m the application do not close properly. - the given parameter list isn't a list. It's xml? Was that you propose?
Thanks for you time. Regards Karl-Heinz
CT> On Dec 11, 2006, at 8:37 AM, Wild Karl-Heinz wrote:
Hello list,
I thought I'd like to work through some screencasts today. I was interested in tm_dialog with the Interface Builder.
Now there are some problems in my environment. First there was a problem that I use version 5 and I should have used version 6.
I've copied the tm_dialog from /Library/Application Support/... into the Textmate.app/...
When I call tm_dialog test.nib/ with an very early version out of the screencast it doesn't show an empty window?!
Could someone give me a hint?
Thanks. Regards
Karl-Heinz
CT> Hm... looks like you need to provide parameters for the window to CT> appear. I'll fix this. Meanwhile, an empty property list (-p '') CT> should work.
OK, so if you don't provide a parameter list, tm_dialog waits for input on stdin. I had forgotten about this.
- only tm_dialog -p '' -m Desktop/test.nib/ works. without -m the application do not close properly.
This is now fixed (you'll need to update both tm_dialog and the Dialog.tmplugin). A caveat you should be aware of: for non-modal, non- async windows, you must either detach the process completely from TM or use HTML window output.
- the given parameter list isn't a list. It's xml? Was that you propose?
Just an empty argument. As long as the argument is present, tm_dialog won't wait for input on stdin.
Chris