-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Example change for AppOpener v1.6 (#8)
* Example change for AppOpener v1.6 Update open_closest and close_closest attributes is now match_closest attribute in OPEN and CLOSE functions respectively v1.6 * Example change for AppOpener v1.6 Update open_closest and close_closest attributes is now match_closest attribute in OPEN and CLOSE functions respectively v1.6
- Loading branch information
Showing
4 changed files
with
20 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
# Closing application via AppOpener | ||
from AppOpener import close | ||
|
||
|
||
def main(): | ||
while True: | ||
inp = input("ENTER APP TO CLOSE: ") | ||
close(inp, output=False, close_closest=True) # Output text will be not printed <output=False> & closest the most matching application | ||
close(inp, output=False, | ||
match_closest=True) # Output text will be not printed <output=False> & closest the most matching application | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters