[haiku-development] Re: Scripting a BListView with hey

  • From: "Humdinger" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "humdingerb" for DMARC)
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 10 Nov 2017 16:19:35 +0100

On 10/11/2017, Rene Gollent <anevilyak@xxxxxxxxx> wrote:

On Fri, Nov 10, 2017 at 9:07 AM, Humdinger <dmarc-noreply@xxxxxxxxxxxxx>
wrote:
..., but iirc
the syntax for execute properties is "do PropertyName of ...".

What would be that "PropertyName"?
In the Time example, there is a checkmark view with the InternalName
"show clock box". Poking around, I see it as two unnamed child views.
I assume View 0 is the checkbox, View 1 is the label.
All these lines produce the error: "error 0x       0":

~/Desktop> hey Time do View "show clock box" of Window 0
~/Desktop> hey Time do View 0 of View "show clock box" of Window 0
~/Desktop> hey Time do View 1 of View "show clock box" of Window 0

    Thanks!
-- 
Regards,
Humdinger

--
Did you know:
  If half the Haiku supporters at http://www.goodsearch.com
  made 10 searches a day, we could have a fulltime developer.

Other related posts: