system wide replace keystroke with other keystrokes

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ignore.server.problems@gmail.com

    system wide replace keystroke with other keystrokes

    Does anyone know a trick to replace a keystroke (say "F12") with a
    series of keystrokes (say "some lengthy text followed by F12") using
    Visual Studio 2005?

    -Jeroen
  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: system wide replace keystroke with other keystrokes

    Jeroen,

    Well, you would use VS.NET 2005 to develop a solution that you could
    use, you wouldn't use VS.NET 2005 directly to address this problem =)

    Unfortunately, what you need is a Global Keyboard Hook, which is
    something you can't do in .NET.


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

    <ignore.server. problems@gmail. comwrote in message
    news:adfbd698-b545-4184-b119-4b9ad25ec141@l3 2g2000hse.googl egroups.com...
    Does anyone know a trick to replace a keystroke (say "F12") with a
    series of keystrokes (say "some lengthy text followed by F12") using
    Visual Studio 2005?
    >
    -Jeroen

    Comment

    • christery@gmail.com

      #3
      Re: system wide replace keystroke with other keystrokes

      use, you wouldn't use VS.NET 2005 directly to address this problem =)

      nope still can use vs c/cpp, didnt check witch OS over 2000 but used
      in like http://www.codeguru.com/cpp/w-p/syst...hp/c5699/#more
      but from the name of the link its cpp, looks like plain K&R c code to
      me, with a win touch ;)

      now the interesting part is could one use .net to do something like
      this?

      never thought about that, OT had some problemd with java->fortran, had
      to go jni to communicate (on OpenVMS, will NOT recommend using it if u
      dont have to... directorys are not win/*nix style a\b\c or a/b/c but
      a.b.c so getting canonical names wont work...)
      //CY

      Comment

      Working...