title: Code Processing Too Many Values in PySimpleGUI
body: <p>I have been making an app which lets the users check-boxes. Depending on what boxes they check it will display different information. I decided to use PySimpleGUI for this project. I made 6 check-boxes and one text input which I want the user to be able to choose between the check-boxes and enter a title of a movie in the text input box. Depending on what check-boxes they select it will display different information based on the movie whose title was entered in the text input.</p>
  <ul>
  <li>When I try to process the title value entered in the text input it process all values including the boolean values of the check-boxes. The information my code tries to process is: <code>{0: ;'my input', 'Title': True, 'Year': False...}</code>. I only need to process the <code>my input</code>/the movie title input and not the boolean values of the check-boxes.</li>
  </ul>
  <p>Here is an example of my code (for reference I am also using the IMDBPY library to search for movies (which I have made work, the problem is that the <code>id = search[0].movieID</code> line is processing too many values.):</p>
  <pre><code>         def run_code():
              global name
              while True:
                  event, value = window.read()
                  if event == 'SEARCH':
                      print(values)
                      name = str(values)[5:-2]
      
                  print('Please wait while your results load...')
                  search = ia.search_movie(name)
      
                  id = search[0].movieID
  
              if values['Title'] == True:
                  print(movie_title)
  </code></pre>
  <p>I am trying to make my code search for the ID of the film title which would be typed by the user in an input field and than (at the bottom) and print the movie title depending if they have the title checkbox selected. At this point I just get an error saying <code>id = search[0].movieID IndexError: list index out of range</code>) To my understanding <code>id = search[0].movieID</code> is taking too many values (which it is, it is taking in all the values, input and check-boxes) I only want it to take in the text input value.</p>
  <p>How should I spread out the values to deal with this issue?</p>