Hi K, Good question and sample code, thanks.
_why added the new page of the manual entitled The Rules of Shoes. http://help.shoooes.net/Rules.html I guess it'll help you. And the following code, too. :-D Shoes.app do button "New" do dialog :title=> "Question" do t=edit_line Shoes.APPS.to_s button "submitt" do Shoes.APPS[0].set_from_other_app t.text close end end end @w=edit_line Shoes.APPS.to_s def set_from_other_app a @w.text = a end end Hope it helps, ashbb On Sat, Sep 27, 2008 at 6:44 AM, Krzysztof B. Wicher <[EMAIL PROTECTED]>wrote: > Hi > > Is there a way to comunicate between Shoe apps/windows/dialogs? > > If i run this simple application, it does not do what I want and Shoe's > console says "undefined method 'text=' for nil:NillClass Why? > > Shoes.app do > button "New" do > dialog :title=> "Question" do > t=edit_line "whatever" > button "submitt" do > @w.text=t.text > close > end > end > end > @w=edit_line > end > > I would be thankful for any comments. > > Regards > > K >
