Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 754609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T15:02:01+00:00 2026-05-14T15:02:01+00:00

The end result is very simple, I have to have something happen when a

  • 0

The end result is very simple, I have to have something happen when a user types in the letter “n” “o” “t” “e” in that order. ‘Note’ is the word.

I’m making a little application for a friend that will help him take notes, and I want my application to become visible when he types in “note” from anywhere on the machine.

Here’s what I’ve got so far:

if (e.KeyCode == neededLetter as Keys)
            {
                neededLetter = "o";
            }

I initialize the neededLetter variable with “N” but I’m stuck there. Any help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T15:02:01+00:00Added an answer on May 14, 2026 at 3:02 pm

    First, to do it from anywhere on the machine you’ll need to either hook all keyboard input or find some other way of catching the letters as they come in. I’m not sure how that’s done in C#, but it should be possible.

    For the actual typing, you’ll want something like (this isn’t perfect, necessarily):

    if (e.KeyCode == neededLetter as Keys)
    {
        if ( neededLetter == "n" )
        {
            neededLetter = "o";
        } else if ( neededLetter == "o" ) {
            neededLetter = "t";
        } else if ( neededLetter == "t" ) {
            neededLetter = "e";
        } else if ( neededLetter == "e" ) {
            // you now have the full sequence typed, show your app
        }
    } else { // not sure if this is valid, but it's the idea
        neededLetter = "n"; // reset the sequence if another letter is typed
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a parent-child relationship setup that is fairly basic. The end result is
I'm sure this is something very simple that I'm screwing up, but here goes:
I have a very complex Linq to SQL query that returns a result set
I am trying to implement something seemingly very simple, and I have been beating
I have written a simple jQuery script that changes the hash tag of a
ok this is very simple yet have been searching for 3 hours and still
I have what I think is a very simple problem. I'm coming from a
I have been tasked with building an application where an end user can have
I am implementing a very simple file database. I have 2 basic operations: void
I have a very simple ruby rack app which retrieves information from a webservice

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.