From 2185c41cc1281855e94396137fc4ac5efe72dcae Mon Sep 17 00:00:00 2001 From: Dom Date: Wed, 22 Apr 2026 17:19:06 +0200 Subject: [PATCH] fix(ORA): Win+D au lieu de Alt+Tab pour le recovery overlay MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Alt+Tab bascule entre fenêtres. Win+D affiche le bureau Windows. Plus fiable quand l'élément cible est sur le bureau. Co-Authored-By: Claude Opus 4.6 (1M context) --- core/execution/observe_reason_act.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/execution/observe_reason_act.py b/core/execution/observe_reason_act.py index ec3e5a084..ea3d3deb3 100644 --- a/core/execution/observe_reason_act.py +++ b/core/execution/observe_reason_act.py @@ -920,13 +920,13 @@ Règles: else: print(f"⚠️ [ORA/recovery/overlay] Pattern non géré, essai Alt+Tab") if PYAUTOGUI_AVAILABLE: - pyautogui.hotkey('alt', 'tab') + pyautogui.hotkey('super', 'd') time.sleep(1.0) else: # Pas de dialogue connu → fenêtre devant → Alt+Tab pour basculer print(f"🔧 [ORA/recovery/overlay] Fenêtre devant — Alt+Tab pour basculer") if PYAUTOGUI_AVAILABLE: - pyautogui.hotkey('alt', 'tab') + pyautogui.hotkey('super', 'd') time.sleep(1.0) # --- Étape 3 : Retry l'action originale ---