Skip to content

Commit

Permalink
Rephrase tab() and setCurrentTab() documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Sep 29, 2016
1 parent add0494 commit efba43f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/scriptable/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,14 @@ Returns array of with tab names.
###### tab(tabName)
Sets current tab name.
Sets current tab for the script.
E.g. following script selects third item (index is 2) from tab "Notes".
```js
tab('Notes')
select(2)
```
###### removeTab(tabName)
Expand Down Expand Up @@ -316,7 +323,7 @@ Aborts script evaluation with nonzero exit code.
###### setCurrentTab(tabName)
Set tab as current (focus tab without showing main window).
Focus tab without showing main window.
###### selectItems(row, ...)
Expand Down

0 comments on commit efba43f

Please sign in to comment.