Giter VIP home page Giter VIP logo

caffeinepp's Introduction

caffeine++

Caffeine++ is a free, open-source console application written in C++ that can prevent the system from entering the power-saving mode. Basically, it prevents the screen from turning off and your computer from going to sleep. This application was developed as a command-line alternative to Linux caffeine on Windows.

caffeine++

Command Line Arguments

Caffeine++ supports command-line arguments with the following options:

arguments:
  -m,       -start-minimised       start with the window minimized
  -t time,  -timer                 runs for a specific time in seconds
  -i,       -hide-console          hide cmd
  -k,       -simulate-keypress     Simulate key process in the console
  • Hide console can be used if you want to "start the program as a service" by placing a shortcut in the startup folder in Windows.
  • Simulate keypress is an option used simply as graphic animation and nothing more

Examples

Run the app for an hour

> caffeine++.exe -t 3600

Run the app for an hour and hide the command window

> caffeine++.exe -t 3600 -i

Run the app infinitely and Simulate keypress

> caffeine++.exe -k

Command Line Arguments in Shortcut

The command line arguments can be used in the command prompt but also as parameters in the shortcut.

Examples

  • create a shortcut pointing to the executable file
  • open the shortcut’s Properties window
  • in the shortcut tab, add your parameters to the target field

248456477-12e0f4c6-00a7-46a4-adbd-931ca2d35897

248456472-9a19b8ce-350b-434d-a977-d644e0821b4d

Download

You can download the latest release from here!

Requirements

caffeine++ just like any other C++ application needs microsoft visual c++ redistributables to run. You can download latest x86 package from here.

License

GNU GENERAL PUBLIC LICENSE (Version 3, 29 June 2007)

Copyright (c) 2019 Harris Arvanitis

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.