Skip to content

Commit

Permalink
Updated index.txt Fixed Grammatical errors.
Browse files Browse the repository at this point in the history
Fixed grammatical errors.
Added periods.
Removed any double spaces between words.
Added "" to references of functions.
Fixed inconsistencies of "::" when referring to a block of code.
  • Loading branch information
Aditya-Tripuraneni authored and vasily-v-ryabov committed Aug 11, 2022
1 parent ca6b5c2 commit a4379c7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ What is pywinauto

.. _Contributors: https://github.com/pywinauto/pywinauto/graphs/contributors

Released under the BSD 3-clause license
Released under the BSD 3-clause license.


What is it?
Expand Down Expand Up @@ -39,7 +39,7 @@ Manual installation
.. _Pillow: https://pypi.python.org/pypi/Pillow/2.7.0

To check you have it installed correctly
Run Python ::
Run Python::

>>> from pywinauto.application import Application
>>> app = Application(backend="uia").start("notepad.exe")
Expand Down Expand Up @@ -81,10 +81,10 @@ before resolving the dialog. At that point if we can't find a SaveAs dialog with
a ComboBox5 control then we wait a very short period of time and try again,
this is repeated up to a maximum time (currently 5 seconds!)

This is to avoid having to use time.sleep or a "wait" function explicitly.
This is to avoid having to use "time.sleep" or a "wait" function explicitly.

If your application performs long time operation, new dialog can appear or
disappear later. You can wait for its new state like so ::
disappear later. You can wait for its new state like so::

app.Open.Open.click() # opening large file
app.Open.wait_not('visible') # make sure "Open" dialog became invisible
Expand Down Expand Up @@ -144,7 +144,7 @@ Why write yet another automation tool if there are so many out there?
There are loads of reasons :-)

**Takes a different approach:**
Most other tools are not object oriented you end up writing stuff like::
Most other tools are not object oriented you end up writing stuff like::

window = findwindow(title = "Untitled - Notepad", class = "Notepad")
SendKeys(window, "%OF") # Format -> Font
Expand Down

0 comments on commit a4379c7

Please sign in to comment.