diff --git a/core/execution/observe_reason_act.py b/core/execution/observe_reason_act.py index 3806c8336..1104889ca 100644 --- a/core/execution/observe_reason_act.py +++ b/core/execution/observe_reason_act.py @@ -934,9 +934,11 @@ Règles: time.sleep(0.3) pyautogui.click() time.sleep(0.5) - pyautogui.hotkey('super', 'd') + # Win+D via xdotool (pyautogui.hotkey ne traverse pas la VM) + subprocess.run(['setxkbmap', 'fr'], timeout=2) + subprocess.run(['xdotool', 'key', 'super+d'], timeout=2) time.sleep(1.0) - print(f"✅ [ORA/recovery/overlay] Clic + Win+D envoyé") + print(f"✅ [ORA/recovery/overlay] Clic + Win+D (xdotool) envoyé") # --- Étape 3 : Retry l'action originale --- act_ok = self.act(decision, step_params)