Welcome to the release of AppOpener v1.7
AppOpener is the python library to open/close any application without knowing it's absoulute path. The library works by making use of App Name and App Id.
What's Changed 🤔
- Fixed issue #15 (Now close "File Explorer" tensionfree)
- Should Fix issues #9, #10
- Added
throw_error
attribute toopen
andclose
function, to raise Exception when App is not found.
*Note: You can view full Changelog here
New Contributors 🤝
Install Package 📦
pip install AppOpener==1.7
Using throw_error
attribute:
from AppOpener import open, close
open("APPNAME", throw_error=True) # Throws error if the specified Appname is not found
close("APPNAME", throw_error=True) # Throws error if the specified Appname is not running
Quick start ⚡
from AppOpener import open, close, mklist, give_appnames
open("telegram, whatsapp") # Opens telegram and whatsapp
open("APPNAME", throw_error=True) # Raises Exception if App is not found (can be used in `close` function too)
close("telgrm", match_closest=True) # Closes telegram as "telgrm" is closest to "telegram"
mklist(name="app_data.json") # Generates an file, having key as AppName and value as AppIds.
appnames = give_appnames() # Save appnames as dictionary
Links 🔗
- PYPI page - https://pypi.org/project/appopener/
- Official documentation - https://appopener.readthedocs.io/en/latest/
- Github releases - https://github.com/athrvvvv/AppOpener/releases/
- Project changelog - https://github.com/athrvvvv/AppOpener/blob/module/CHANGELOG.md/
- Issue tracker - https://github.com/athrvvvv/AppOpener/issues/