Re: Sendkeys.send key combinations for 'Alt T'
From: Tom Porterfield (tpporter_at_mvps.org)
Date: 12/07/04
- Next message: Peter Krikelis: "Re: Question about events and object arrays"
- Previous message: Scott Allen: "Re: How to get a file's date/time correctly?"
- In reply to: GrantS: "Sendkeys.send key combinations for 'Alt T'"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 7 Dec 2004 14:50:20 -0500
On 7 Dec 2004 11:40:54 -0800, GrantS wrote:
> I need to use a sendkeys key combination to automate the "accept
> files" that a remote user wants to send to me via Windows messenger. I
> am using automation to work with Windows Messenger client in a
> Winforms C# application.
>
> I have tried a number of code segment combinations for ALT T
> combination without success. The combinations might be correct but it
> might be failing for some other reason.
>
> My Attempts:
> System.Windows.Forms.SendKeys.Send("{%}+T");
>
> System.Windows.Forms.SendKeys.Send("{%}"+"T");
>
> System.Windows.Forms.SendKeys.Send("{%}"+"(T)");
You would use "%T". Placing the % in {} tells SendKeys to send the actual
% key rather than alt.
-- Tom Porterfield
- Next message: Peter Krikelis: "Re: Question about events and object arrays"
- Previous message: Scott Allen: "Re: How to get a file's date/time correctly?"
- In reply to: GrantS: "Sendkeys.send key combinations for 'Alt T'"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|