Hex code for ALT+P+D

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Derek Smigelski

    Hex code for ALT+P+D

    I have found a code for ALT+P, however within C# I need to
    programatically execute the keystrokes of ALT+P+D every 1 hour. Any
    idea on what ALT+P+D hex code is?

    Thanks,
    Derek
  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Hex code for ALT+P+D

    Derek,

    You can use the SendKeys class to do this. I think what you want to do
    is:

    // Simulate the ALT, P, and D keys being hit.
    SendKeys.Send(" %(PD)");

    Hope this helps.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    "Derek Smigelski" <derek.smigelsk i@bestsoftware. com> wrote in message
    news:820e9de3.0 409160654.69491 7f6@posting.goo gle.com...[color=blue]
    >I have found a code for ALT+P, however within C# I need to
    > programatically execute the keystrokes of ALT+P+D every 1 hour. Any
    > idea on what ALT+P+D hex code is?
    >
    > Thanks,
    > Derek[/color]


    Comment

    Working...