Open the Otto search bar
this.$api.command.open_search(query)
query
: (Optional, String) A string to pre-fill the search bar with
Get the position of Otto
this.$api.command.get_otto_location()
Returns an array with the x and y position of Otto in pixels .
Get the state of the Otto
this.$api.command.get_otto_state()
Returns true if Otto is visible, else returns false.