| Ambos lados, revisión anteriorRevisión previa | |
| informatica:software:caffeine [2023/09/20 11:15] – [Configuración] tempwin | informatica:software:caffeine [2023/09/20 11:25] (actual) – [Configuración] tempwin |
|---|
| La aplicación acepta varios argumentos en línea de comandos: | La aplicación acepta varios argumentos en línea de comandos: |
| |
| * ''xx'': - where xx is a number which sets the number of seconds between simulated keypresses. This must be the first text on the commandline | * ''xx'': número de segundos (aquí representados como ''xx'' después de los cuales se pulsará una tecla. Debe ser el primer argumento. |
| * ''-startoff'': - application starts disabled. | * ''-startoff'': arrancar la aplicación sin activarse |
| * ''-exitafter''::xx - application will terminate after xx minutes | * ''-exitafter xx'': la aplicación se dentendrá después de ''xx'' minutos |
| * ''-activefor''::xx - application will become inactive after xx minutes | * ''-activefor xx'': la aplicación pasará a estado inactivo después de ''xx'' minutos. |
| * ''-inactivefor''::xx - application will become active after xx minutes | * ''-inactivefor xx'': la aplicación pasará a estado activo después de ''xx'' minutos. |
| * ''-appexit'': - terminates current running instance of application | * ''-appexit'': finaliza la instancia actual de la aplicación. |
| * ''-appon'': - makes the current running instance of the application active | * ''-appon'': pone en activo la instancia actual de la aplicación. |
| * ''-appoff'': - makes the current running instance of the application inactive | * ''-appoff'': pone inactiva la instancia actual de la aplicación. |
| * ''-apptoggle'': - toggles the running state of the current running instance of the application | * ''-apptoggle'': alterna el estado de la instancia actual de la aplicación |
| * ''-apptoggleshowdlg'': - toggles the running state, and shows dialog | * ''-apptoggleshowdlg'': alterna el estado actual y muestra un diálogo. |
| * ''-replace'': - closes the current running instance, replacing it | * ''-replace'': cierra la instancia actual y la reemplaza |
| * ''-noicon'': - does not show a task tray icon | * ''-noicon'': no muestra el icono en la barra de tareas |
| * ''-useshift'': - simulate the shift key instead of F15 | * ''-useshift'': simula la tecla <kbd>Shift</kbd> en lugar de <kbd>F15</kbd> |
| * ''-allowss'': - prevent sleep, but allow the screensaver to start | * ''-allowss'': previene la suspensión, pero permite el salvapantallas |
| * ''-stes'': - tell Windows to stay awake, don't use F15 | * ''-stes'': dice a Windows que esté despierto, no usa <kbd>F15</kbd> |
| * ''-showdlg'': - shows a dialog indicating whether caffeine is active | * ''-showdlg'': muestra un diálogo indicando si caffeine está activo. |
| * ''-ontaskbar'': - show a task bar button (use with -showdlg) | * ''-ontaskbar'': muestra el botón en la barra de tareas (usar con ''-showdlg'') |
| * ''-key''::xx - simulate using virtual key code xx | * ''-key xx'': simula el [[https://learn.microsoft.com/es-es/windows/win32/inputdev/virtual-key-codes?redirectedfrom=MSDN|código de tecla]] ''xx'' (debe ser en formato decimal) |
| * '' Note'':: the codes on the linked page are in Hex, convert them to decimal for use with this parameter | * ''-keypress'': simula una pulsación completa, no solo el evento "key up" |
| * ''-keypress'': - simulate a full key press, not just a key up event | * ''-oldicons'': usar iconos más coloridos en la barra de tareas. |
| * ''-oldicons'': - use more colourful tray icons | * ''-lighticons'': usar siempre los iconos claros. |
| * ''-lighticons'': - always use the light icons | * ''-darkicons'': usar siempre los iconos oscuros |
| * ''-darkicons'': - always use the dark icons | * ''-watchwindow xx'': activa solo cuando existe una ventana cuyo título contiene "xx" |
| * ''-watchwindow''::xx - active only when a window with xx in the title is found | * ''-activehours:........xxxxxxxx........'': usar con 24 puntos o ''x'' caracteres lo cual indicará desde la hora 0 a la 23. Caffeine estará activa solo en las horas con una ''x''. |
| * ''-activehours''::........xxxxxxxx........ - put 24 . or x characters - which indicate from hour 0 to hour 23 of the day. Caffeine will be active only in hours with an x | * ''-onac'': activa solo cuando el ordenador esté conectado a la corriente |
| * ''-onac'': - active only when the computer is on AC power (plugged in) | * ''-cpu xx'': activa solo cuando la CPU baje al ''xx'' % |
| * ''-cpu''::xx - active until the CPU drops below xx% | |