Skip to content

April 2023 (version 1.7)

Latest
Compare
Choose a tag to compare
@athrvvvv athrvvvv released this 30 Apr 11:28
· 6 commits to module since this release

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 to open and close 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 🔗

  1. PYPI page - https://pypi.org/project/appopener/
  2. Official documentation - https://appopener.readthedocs.io/en/latest/
  3. Github releases - https://github.com/athrvvvv/AppOpener/releases/
  4. Project changelog - https://github.com/athrvvvv/AppOpener/blob/module/CHANGELOG.md/
  5. Issue tracker - https://github.com/athrvvvv/AppOpener/issues/