Skip to content

This Python script automatically opens and closes a specified application after a set interval. For good for infinity

License

Notifications You must be signed in to change notification settings

CscottT/infinity-loop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

infinity-loop

This Python script automatically opens and closes a specified application after a set interval. For good for infinity

Description: This Python script automates the opening and closing of a specified application with a customizable delay.

Usage:

Ensure you have Python installed.

  1. Edit the script:
    • Open the looper.py file in a text editor.
    • Replace YOUR PATH with the desired application path.
    • Adjust the delay variable to set the desired time between opening and closing.
  2. Run the script:
    python looper.py
  3. Stop the script: Press Ctrl+C to terminate the script.

Dependencies:

  • os
  • time
  • subprocess

Note:

  • This script uses subprocess to manage the application process, which is generally more reliable than taskkill.
  • Consider adding error handling and logging for more robust behavior.
  • For advanced usage, explore command-line arguments or configuration files.

License:

MIT License

Contributing:

Feel free to contribute to this project by submitting issues or pull requests.

Buy Me Coffee 3KFthrrU1xKsYrAVVWZ8iqqmqzg6RQwMXB

About

This Python script automatically opens and closes a specified application after a set interval. For good for infinity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%