From: Stefan Schmiedl Date: 2008-01-09T07:30:05+09:00 Subject: Re: prob only with ruby On Tue, 8 Jan 2008 13:58:11 -0800 (PST) Junkone wrote: > Nope. it does not work > b=analysis.Filter(0, "market") #= 3 # use nasdaq only > b=3 > It does not change anything at all. > However if i ran a similar code in vbscript, it does the magic. > > set application = CreateObject("Broker.Application") > application.visible=1 > set analysis=application.analysis() > analysis.Filter( 0, "market" ) = 3 > > so something is wrong with the way ruby does automation. Maybe the library does not know about the default property, which VB uses... So assuming that you're assigning the .Value property, try analysis.Filter(0, "market").Value = 3 in ruby. I wonder ... does p analysis.Filter(0, "market").methods return any useful information? s.