[
  {
    "name" : "Using the FIELD command",
    "sortName" : "050",
    "difficulty" : "intermediate",
    "requirements" : [
    "ESVS"
    ],
    "accVersion" : 0,
    "tags" : [
    "Searching",
    "Commands"
    ],
    "summary" : "This tutorial will show you how to use the FIELD command to search for words in relation to the beginning or end of a verse or other unit of text.",
    "actions" : [
      {
        "text" : "First, open the ESV with Strong’s.",
        "action" : "open",
        "object" : "ESVS"
      },
      {
        "text" : "To perform a Word search, select Words from the Words/Verses pop-up menu.",
        "action" : "control",
        "object" : "wordsVersePopup|Words"
      },
      {
        "text" : "In this example, we’ll search for every verse which begins with the word ‘why’.\r\rType the word ‘why’ (without the quotes) in the Search Entry box.",
        "action" : "type",
        "object" : "entryBox",
        "textToType" : "why"
      },
      {
        "text" : "Select WITHIN from the Enter Command submenu of the Search menu.",
        "action" : "menu",
        "object" : "Search|Enter Command|WITHIN"
      },
      {
        "text" : "Replace the selected question mark by typing the number 1.",
        "action" : "type",
        "object" : "entryBox",
        "textToType" : "why <WITHIN 1 Words>"
      },
      {
        "text" : "Select FIELD from the Enter Command submenu of the Search menu.",
        "action" : "menu",
        "object" : "Search|Enter Command|FIELD"
      },
      {
        "text" : "The dialog which appears lets you choose between the beginning or the end of the current unit of text (variously known as the field or the scope) being searched.\r\rLeave this set to ‘Begin’ and click OK to dismiss the dialog and insert the FIELD command.",
        "action" : "control",
        "object" : "okBtn",
        "options" : [
          "modal"
        ]
      },
      {
        "text" : "Press the {macos Return}{windows Enter} key to perform your search.",
        "action" : "search"
      },
      {
        "text" : "Note how this search found 164 occurrences, or hits.",
        "action" : "point",
        "object" : "analyticsBtn"
        },
      {
        "text" : "By default, words joined by a search command are found within the scope of a single verse. Note how all the verses found by this search begin with the word ‘why’.",
        "action" : "point",
        "object" : "paneText"
        },
      {
        "text" : "To change the scope of this search to a different unit of text, click the plus icon to the right of the Entry Box.",
        "action" : "control",
        "object" : "addCondition"
        },
      {
        "text" : "Select Scope from the Condition pop-up menu.",
        "action" : "control",
        "object" : "extraChoiceType11|Scope"
        },
      {
        "text" : "Select Sentence from the Scope pop-up menu.",
        "action" : "control",
        "object" : "extraChoicePopup1|Sentence"
        },
      {
        "text" : "Press the {macos Return}{windows Enter} key to perform the search.",
        "action" : "search"
      },
      {
        "text" : "Note how this new search found 350 hits rather than 164.",
        "action" : "point",
        "object" : "analyticsBtn"
        },
      {
        "text" : "The word ‘why’ now appears not at the beginning of a verse, but at the beginning of a sentence no matter where in the verse that sentence begins.",
        "action" : "point",
        "object" : "paneText"
      },
      {
        "text" : "Let’s try one more. Choose Chapter from the Scope pop-up menu.",
        "action" : "control",
        "object" : "extraChoicePopup1|Chapter"
        },
      {
        "text" : "Press the {macos Return}{windows Enter} key to perform the search.",
        "action" : "search"
      },
      {
        "text" : "This search found just three chapters which begin with the word ‘why’.",
        "action" : "point",
        "object" : "paneText"
      }
     ],
    "completion" : "Congratulations! You now know how to use the FIELD command to search for words in relation to the beginning or end of a verse or other unit of text."
  }
]