[TxMt] tm_dialog and really long plists
Allan Odgaard
throw-away-1 at macromates.com
Thu Apr 26 19:43:35 UTC 2007
On 26. Apr 2007, at 21:31, Brett Terpstra wrote:
> Got it! Just have to define res=[] before going into it so that
> res is available outside of the block. Works perfectly, thanks!
For popen3 you can also do:
res = Open3.popen3('"$DIALOG" -m select_photoset') do |stdin,
stdout, stderr|
stdin << plist; stdin.close
PropertyList::load(stdout)
end
More information about the textmate
mailing list