[TxMt] tm_dialog and really long plists
Chris Thomas
chris at cjack.com
Thu Apr 26 12:46:32 UTC 2007
On Apr 25, 2007, at 10:20 PM, Brett Terpstra wrote:
>>
>> Yes, pass the plist as stdin instead of via -p, then you also do
>> not need to shell escape it.
>>
>> So from Ruby, with ‘params’ being a ruby hash:
>>
>> open("|\"$DIALOG\" -t#{token}", "w") { |io| io <<
>> params.to_plist }
>
> OK. Making sense so far, but how is the window token defined, and
> is it necessary when using a custom nib?
The tokens is returned when you create an async dialog. This being a
modal dialog, you don't need one.
> got back what looked like a perfect xml response but with this at
> the end:
>
> Received exception:undefined method
What text appears in the Console log when this happens?
Chris
More information about the textmate
mailing list