python - How can I select and delete all (ctrl + shift + left arrow + del) with shell.SendKeys? -


Hey, I have been having some problems ...

How do I delete an entire text ? From any area with sendkeys?

How can I send Ctrl + Shift pressed with left arrow and delete the key later?

Edit:

For example, I have code that is part of

  ctypes.windll.user32.SetCursorPos (910,475) win32api. mouse_event (win32con.MOUSEEVENTF_LEFTDOWN, 0, 0, 0) win32api.mouse_event (win32con.MOUSEEVENTF_LEFTUP, 0, 0, 0) time.sleep (0.1) shell.SendKeys (inf_firstname)  

this Select part one field and paste the first name information (like macro), but I want

Captain?

What to do instead of Ctrl + A? Can you give a short example of the code that is not working for you?

Edit:

>

it seems to me you can try to call SendKeys at the same time. It should be able to:

  shell.SendKeys ( "^ a") shell.SendKeys ( "{DELETE}")  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -