[haiku-bugs] Re: [Haiku] #12652: Third tab (net time) breaks scripting

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Tue, 16 Feb 2016 17:25:34 -0000

#12652: Third tab (net time) breaks scripting
---------------------------------------+----------------------------
   Reporter:  ttcoder                  |      Owner:  axeld
       Type:  bug                      |     Status:  new
   Priority:  normal                   |  Milestone:  R1
  Component:  Preferences/Time & Date  |    Version:  R1/Development
 Resolution:                           |   Keywords:
 Blocked By:                           |   Blocking:
Has a Patch:  0                        |   Platform:  All
---------------------------------------+----------------------------

Comment (by ttcoder):

 Addendum: I might have found a way to automate time syncing, after all:

 {{{
 hey application/x-vnd.Haiku-Time set Selection of View 0 of View 0 of
 Window 0 to 2  # select the third tab
 hey application/x-vnd.Haiku-Time let View 0 of View 2 of View 0 of View 0
 of View 0 of Window 0 do 'sync'  # we can't reach any children of the tab-
 view, but we can script the tab-view itself, make it execute
 kMsgSynchronize
 }}}

 Will confirm over the next few days

--
Ticket URL: <https://dev.haiku-os.org/ticket/12652#comment:1>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: