diff --git a/cleanup.ps1 b/cleanup.ps1 index 67fb6fd..56dfe84 100644 --- a/cleanup.ps1 +++ b/cleanup.ps1 @@ -65,6 +65,11 @@ $form.AcceptButton = $btnOK # Enter → OK $form.CancelButton = $btnCancel # Esc → Cancel # Show the dialog +$form.Add_Shown({ + $this.Activate() + $txt.Focus() +}) + $result = $form.ShowDialog() # Handle the user’s choice