03-oct: superguardado automático

This commit is contained in:
minguezsanzjuanjose
2026-10-03 13:29:51 +02:00
parent 0579892b9e
commit f10ce5bef4
3 changed files with 36 additions and 12 deletions

View File

@@ -8,9 +8,18 @@
- **2026-09-29-migraci-n-de-watchers-al-vps** [servicios] Migración de watchers al VPS (aplicado en: sobremesa) - **2026-09-29-migraci-n-de-watchers-al-vps** [servicios] Migración de watchers al VPS (aplicado en: sobremesa)
- **2026-09-30-fix-telegram-watcher-telethon-1-44-encoding-utf-8** [watchers] Fix telegram_watcher (telethon 1.44 + encoding UTF-8) (aplicado en: portatil) - **2026-09-30-fix-telegram-watcher-telethon-1-44-encoding-utf-8** [watchers] Fix telegram_watcher (telethon 1.44 + encoding UTF-8) (aplicado en: portatil)
- **2026-10-02-superguardado-py-protocolo-guardado-total-automatico-portati** [scripts] superguardado.py: protocolo guardado total automatico portatil+sobremesa (aplicado en: portatil) - **2026-10-02-superguardado-py-protocolo-guardado-total-automatico-portati** [scripts] superguardado.py: protocolo guardado total automatico portatil+sobremesa (aplicado en: portatil)
- **2026-10-03-superwhisper-enter-ahk-f13-boton-auxiliar-logitech-tarea-pro** [scripts] SuperWhisper Enter: AHK F13 boton auxiliar Logitech + tarea programada (aplicado en: portatil)
## Historial ## Historial
### 2026-10-03 · SuperWhisper Enter: AHK F13 boton auxiliar Logitech + tarea programada
- **id**: `2026-10-03-superwhisper-enter-ahk-f13-boton-auxiliar-logitech-tarea-pro`
- **Equipo**: portatil
- **Categoria**: scripts
- **Transferible**: si
- **Aplicado en**: portatil
- **Detalle**: Script superwhisper_enter.ahk: F13 (boton auxiliar Logitech asignado en Logi Options+) espera cambio portapapeles (Super Whisper pega) y manda Enter + devuelve foco a OpenCode. Tarea programada SuperWhisper Enter al inicio de sesion. Rueda central = toggle Super Whisper (inicio/parar). F13 = Enter automatico.
### 2026-10-02 · superguardado.py: protocolo guardado total automatico portatil+sobremesa ### 2026-10-02 · superguardado.py: protocolo guardado total automatico portatil+sobremesa
- **id**: `2026-10-02-superguardado-py-protocolo-guardado-total-automatico-portati` - **id**: `2026-10-02-superguardado-py-protocolo-guardado-total-automatico-portati`
- **Equipo**: portatil - **Equipo**: portatil

View File

@@ -212,6 +212,18 @@
"portatil" "portatil"
], ],
"detalle": "Script scripts/superguardado.py en biblioteca_negocio_prolongo. 7 pasos: ESTADO_DIARIO + git biblioteca + engram cloud + sync_continuo + obsidian + git INFRAESTRUCTURA + aviso sonoro. Palabra clave: superguardado/guarda/memoria. Descripcion auto si no se indica." "detalle": "Script scripts/superguardado.py en biblioteca_negocio_prolongo. 7 pasos: ESTADO_DIARIO + git biblioteca + engram cloud + sync_continuo + obsidian + git INFRAESTRUCTURA + aviso sonoro. Palabra clave: superguardado/guarda/memoria. Descripcion auto si no se indica."
},
{
"id": "2026-10-03-superwhisper-enter-ahk-f13-boton-auxiliar-logitech-tarea-pro",
"fecha": "2026-10-03",
"equipo": "portatil",
"categoria": "scripts",
"titulo": "SuperWhisper Enter: AHK F13 boton auxiliar Logitech + tarea programada",
"transferible": true,
"aplicado_en": [
"portatil"
],
"detalle": "Script superwhisper_enter.ahk: F13 (boton auxiliar Logitech asignado en Logi Options+) espera cambio portapapeles (Super Whisper pega) y manda Enter + devuelve foco a OpenCode. Tarea programada SuperWhisper Enter al inicio de sesion. Rueda central = toggle Super Whisper (inicio/parar). F13 = Enter automatico."
} }
] ]
} }

View File

@@ -1,24 +1,23 @@
; superwhisper_enter.ahk ; superwhisper_enter.ahk
; XButton1 (botón auxiliar 1 del ratón) → espera a que Super Whisper ; F13 (botón auxiliar ratón Logitech) → espera a que Super Whisper
; termine de pegar y pulsa Enter automáticamente. ; termine de pegar, pulsa Enter y devuelve el foco a OpenCode.
;
; La rueda central (MButton) NO se toca — sigue funcionando normal
; para el toggle de Super Whisper (iniciar/parar transcripción).
; ;
; Flujo: ; Flujo:
; 1. Rueda central → inicia transcripción Super Whisper ; 1. Rueda central → inicia/para transcripción Super Whisper
; 2. Rueda central → para y pega el texto ; 2. F13 (botón auxiliar) → Enter automático + vuelve a OpenCode
; 3. XButton1 → Enter automático (cuando el portapapeles haya cambiado)
#Requires AutoHotkey v2.0 #Requires AutoHotkey v2.0
XButton1:: F13::
{ {
; Guardar ventana activa actual (OpenCode u otra)
ventanaActual := WinExist("A")
; Guardar portapapeles actual ; Guardar portapapeles actual
clipAntes := A_Clipboard clipAntes := A_Clipboard
; Esperar hasta 8 segundos a que Super Whisper pegue (portapapeles cambie) ; Esperar hasta 8 segundos a que Super Whisper pegue
limite := 80 ; 80 x 100ms = 8 segundos limite := 80
i := 0 i := 0
loop { loop {
Sleep 100 Sleep 100
@@ -32,6 +31,10 @@ XButton1::
; Pausa mínima para que el Ctrl+V termine ; Pausa mínima para que el Ctrl+V termine
Sleep 150 Sleep 150
; Enter ; Pulsar Enter
Send "{Enter}" Send "{Enter}"
; Volver a OpenCode si estaba activo antes
if (ventanaActual)
WinActivate("ahk_id " ventanaActual)
} }