Jarom

Bardzo aktywny
Zasłużony
Dołączył
23 Wrzesień 2016
Posty
3893
Reakcje/Polubienia
1228
Caffeine 1.64

ozpWHZL.png


Caffeine to małe narzędzie którego zadaniem jest zapobieganie zamykaniu komputera lub przechodzenia do trybu uśpienia.
Program działa w ten sposób, że raz na 59 sekund symuluje naciśnięcie klawisza (domyślnie jest to klawisz F15 ;) ), dzięki czemu komputer nie przechodzi w stan uśpienia ani nie uruchamia wygaszacza ekranu. Można zmienić to w ustawieniach programu, korzystając z odpowiednich opcji w wierszu poleceń. Innych zmian można natomiast dokonać klikając prawym przyciskiem myszy na ikonie programu widocznej w zasobniku systemowym.

Polecenia wiersza poleceń:
    • xx - where xx is a number which sets the number of seconds between simulated keypresses. This must be the first text on the commandline
    • -startoff - application starts disabled.
    • -exitafter:xx - application will terminate after xx minutes
    • -activefor:xx - application will become inactive after xx minutes
    • -inactivefor:xx - application will become active after xx minutes
    • -appexit - terminates current running instance of application
    • -appon - makes the current running instance of the application active
    • -appoff - makes the current running instance of the application inactive
    • -apptoggle - toggles the running state of the current running instance of the application
    • -apptoggleshowdlg - toggles the running state, and shows dialog
    • -replace - closes the current running instance, replacing it
    • -noicon - does not show a task tray icon
    • -useshift - simulate the shift key instead of F15
    • -showdlg - shows a dialog indicating whether caffeine is active
    • -ontaskbar - show a task bar button (use with -showdlg)
    • -allowss - prevent sleep, but allow the screensaver to start
    • -key:xx - simulate using
      Zaloguj lub Zarejestruj się aby zobaczyć!
      xx
      Note: the codes on the linked page are in Hex, convert them to decimal for use with this parameter
    • -keypress - simulate a full key press, not just a key up event
    • -oldicons - use more colourful tray icons


Krótki filmik pokazujący jak działa Caffeine



Versions

v1.64 - 25th September 17
Option for old icons added, 'cos not everyone likes the new ones

v1.63 - 19th February 17
Icons updated slightly to show up better on a white background.

v1.62 - 8th April 16
New icons, designed by
Zaloguj lub Zarejestruj się aby zobaczyć!


v1.61 - 10th October 15
Fixed bug with app not going active/inactive correctly when a timed period elapsed

v1.6 - 8th July 13
New command line options:
  • -allowss
  • -ontaskbar
  • -apptoggleshowdlg
  • -key:xx
  • -keypress
Added menu items to go Active/Inactive
Type in About box corrected
-apptoggle will re-show the dialog if it was originally shown

v1.5 - 2nd November 10
New command line options:
  • -inactivefor
  • -showdlg
  • -apptoggle
Simulated keypress changed from right context menu key to F15 as this is likely to be even less intrusive.

v1.4 - 18th July 09
New command line options:
  • -replace
  • -noicon
  • -useshift
Hovering over the tray icon now shows the status of the ap

v1.35 - 28th May 09
Simulated keypress changed from shift to the right context menu key (at the suggestion of Kevin Kleinfelter) as this is likely to be less intrusive.

v1.3 - 3rd February 09
Command line switches added to terminate the app after x minutes, disable the app after x minutes, and enable or disable the currently running instance of the app

v1.2 - 15th March 08
Command line switches added to set the interval and to start disabled

Zaloguj lub Zarejestruj się aby zobaczyć!
 
Ostatnia edycja:

Jarom

Bardzo aktywny
Zasłużony
Dołączył
23 Wrzesień 2016
Posty
3893
Reakcje/Polubienia
1228
Autor programu wybrał taki klawisz, ponieważ sam spotkał się z nim tylko kilka razy, a chodziło o to, żeby program nie robił jakichś problemów. Komendami można sobie (o ile dobrze pamiętam bo nie chce mi się czytać) ustawić klawisz Shift.
 

Camel1965

Bardzo aktywny
Zasłużony
Dołączył
8 Wrzesień 2010
Posty
37718
Reakcje/Polubienia
33906
Caffeine 1.95
February 1, 2021
  • -darkicons command line option removed (Caffeine now reads this from Windows)
  • -stes command line option added
  • The command line is now interpreted and shows in the tooltip. This means you can see what Caffine has recognised.
  • The menu also follows Windows dark mode


Zaloguj lub Zarejestruj się aby zobaczyć!
 
Do góry