Ok, this is gonna sound really stupid, and I doubt it's possible, but
is there any way to make a program that'll stop you from typing
certain words? People are complaining that I type lol too much
(especially my gf...lol [see?...lol]), and I also could use it for
other things (which I shall not name here)so...is it somehow possible? 7 1445
Urza9814 wrote: Ok, this is gonna sound really stupid, and I doubt it's possible, but is there any way to make a program that'll stop you from typing certain words? People are complaining that I type lol too much (especially my gf...lol [see?...lol]), and I also could use it for other things (which I shall not name here)so...is it somehow possible?
You could use the new "BrainTap" peripheral and send it the appropriate
commands to keep you from typing "lol", however that would not be
standard C++.
NR
"Urza9814" <Ur*****@hotmai l.com> wrote in message
news:50******** *************** ***@posting.goo gle.com... Ok, this is gonna sound really stupid, and I doubt it's possible, but is there any way to make a program that'll stop you from typing certain words? People are complaining that I type lol too much (especially my gf...lol [see?...lol]), and I also could use it for other things (which I shall not name here)so...is it somehow possible?
You mean you don't want those letters typed ANYWHERE, in ANY PROGRAM? I
suppose it's possible, but it's got to be about the strangest request I've
ever heard. In Windows, you can use a "hook" to trap keypresses, but you'd
have to ask in a Windows newsgroup for how to implement that.
As a design issue, what would you do if the user (you?) were typing, and so
far had typed in the 'l' and the 'o"...what would happen when you hit the
'l' again? Nothing? And what about typing "lollipop", or other words that
contain "lol"? In any case, you're opening a rather large can of worms when
you start messing around with what the user can and cannot do, especially if
that user is not you!
As for preventing YOU from typing in "lol", have your girlfriend stick you
with a fork every time you do it. Eventually you'll learn. :-)
-Howard
Howard wrote: As for preventing YOU from typing in "lol", have your girlfriend stick you with a fork every time you do it. Eventually you'll learn. :-)
I like the "BrainTap" periferal idea better.
NR
> Ok, this is gonna sound really stupid,
Mmmm...
Jonathan
"Urza9814" <Ur*****@hotmai l.com> wrote in message
news:50******** *************** ***@posting.goo gle.com... [...] (especially my gf...lol [see?...lol]),
I suggest upgrading to GirlFriend 2.0. Fewer errors, better
performance, but fairly costly.
and I also could use it for other things (which I shall not name here)
Which sounds like the real reason, and probably an illicit one.
Although preventing someone from typing something doesn't
seem like a useful h@X0r tool, so I can't imagine what. Unless
this were a trojan to be installed on someone else's computer,
and you wanted to prevent them from entering their password,
or something.
so...is it somehow possible?
Besides underspecifying the problem, this isn't a C++-specific
question. If there is a solution, it could be implemented in any
number of languages. It's really a function of the hardware
and operating system in question, and varies according to
each, so you should look for a forum where people talk about
your platform.
Dave
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ( http://www.grisoft.com).
Version: 6.0.521 / Virus Database: 319 - Release Date: 9/23/2003
"David B. Held" <dh***@codelogi cconsulting.com > wrote in message news:<bm******* ***@news.astoun d.net>... "Urza9814" <Ur*****@hotmai l.com> wrote in message news:50******** *************** ***@posting.goo gle.com...
I suggest upgrading to GirlFriend 2.0. Fewer errors, better performance, but fairly costly.
lol...I'll think about it... :-P Which sounds like the real reason, and probably an illicit one. Although preventing someone from typing something doesn't seem like a useful h@X0r tool, so I can't imagine what. Unless this were a trojan to be installed on someone else's computer, and you wanted to prevent them from entering their password, or something.
no...not a 'h@X0r tool'...but...w ell...I'm 13...and there's stuff I do
that I really shouldn't...I'l l just say that...
Besides underspecifying the problem, this isn't a C++-specific question. If there is a solution, it could be implemented in any number of languages. It's really a function of the hardware and operating system in question, and varies according to each, so you should look for a forum where people talk about your platform.
what I mean is, is it possible in C++? I don't have a compiler for
anything else, and most aren't free anyways
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.521 / Virus Database: 319 - Release Date: 9/23/2003
"Urza9814" <Ur*****@hotmai l.com> wrote in message
You're missing the point:
"....you should look for a forum where people talk about your platform." what I mean is, is it possible in C++? I don't have a compiler for anything else, and most aren't free anyways
This newsgroup discusses aspects of the C++ language itself, not
platform-specific implementation issues. Check in a newsgroup that
discusses whatever operating system you're using.
-Howard This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Hal |
last post by:
I am experiencing blocking problems on SQL Server 2000, SP3a. I have
read the posts and set up a job SQL agent to report on these
occurences I save the results to a table before executing an sp to
kill the offending process id. I am puzzled as to how a process that
does no updating can be guilty of blocking. Typically, I think what
is happening is a process that does no updates is blocking processes
that are trying to do updates. Can...
|
by: David Sworder |
last post by:
This message was already cross-posted to C# and ADO.NET, but I forgot to
post to this "general" group... sorry about that. It just occured to me
after my first post that the "general" group readers might have some
thoughts on this perplexing .NET blocking issue.
(see below)
=====
Hi,
|
by: Mario |
last post by:
Hello,
I couldn't find a solution to the following problem (tried
google and dejanews), maybe I'm using the wrong keywords?
Is there a way to open a file (a linux fifo pipe actually) in
nonblocking mode in c++? I did something ugly like
--- c/c++ mixture ---
mkfifo( "testpipe", 777);
|
by: Mike MacSween |
last post by:
Office 2000
From Access I've been starting an instance of word and doing a mail merge.
Everything hunky-dory until I applied SP1 yesterday.
Now this:
dim wrd as Object
set wrd = CreateObject("Word.Application")
|
by: Michi Henning |
last post by:
Hi,
I'm using a non-blocking connect to connect to a server.
Works fine -- the server gets and accepts the connection.
However, once the connection is established, I cannot
retrieve either the local or the remote endpoint from
the client-side socket.
The *really* strange thing is that Socket.LocalEndPoint is null.
According to the doc, that's impossible: reading the LocalEndPoint
| |
by: loosecannon_1 |
last post by:
I get a 90-120 second blocking when send 15 or so simultaneous queries
to SQL Server 2000 that query a view made up of two joined tables.
After each query is blocking for the same amount of time they all
return. Further identical queries of this type work in 3-4 seconds
(caching?) until hours later where it happens again. If I query the
tables directly (without the view) I still get the same blocking. If I
remove the join (it is a simple...
|
by: opi |
last post by:
My blocking TCP server hangs in the Accept method when the client
software sometimes gets an error. Are there any ways to stop this
blocking in the Accept method so I dont have to restart the server?
I would rather not use threading or non-blocking sockets.
Using VB.Net 2005.
|
by: =?Utf-8?B?Sm9hY2hpbQ==?= |
last post by:
I have an unmanaged C++ project which acts as a TCP client. However, the C++
client uses non-blocking mode and the tcplistener in the C# project is
blocking. I am not sure if this matters, but I'm not getting any data at the
C# client side even though the sending C++ side signals that the send was
successful. Do they both have to be of the same type, i.e. blocking or
non-blocking or could there be another error somewhere?
|
by: puzzlecracker |
last post by:
is it even possible or/and there is a better alternative to accept
input in a nonblocking manner?
|
by: Greg (codepug |
last post by:
For the purpose of viewing a document that I would like to modify on
rare occassion using word.
I would like to create a document with MS Word, and then have my
Access Application launch and display the document in a way that
allows the user to view the document, but prohibits the document from
being changed.
I used HyperLink to attempt this, but the Word application is
automatically launched, and the user can alter the document....
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |