Re: sendKey

2008-06-08 Thread Steve McKay
Gandalf wrote: I found some script that send keys , But I couldn't manage to send CTRL+c with none of them can any one tell me what i'm doing wrong: import win32api import win32com.client shell = win32com.client.Dispatch("WScript.Shell") shell.Run("Notepad") win32api.Sleep(100) shell.AppActiv

Re: sendKey

2008-06-08 Thread Kam-Hung Soh
Gandalf wrote: I found some script that send keys , But I couldn't manage to send CTRL+c with none of them can any one tell me what i'm doing wrong: import win32api import win32com.client shell = win32com.client.Dispatch("WScript.Shell") shell.Run("Notepad") win32api.Sleep(100) shell.AppActiv