Hello everyone,
I have installed a program here that allows me to make phone calls.
There is one thing about this program that amazes me, and I would like to be able to do the same thing in one of my own programs.
For example, if I set F8 as the hotkey to dial a selected number,
then I go to any other program and select a phone number and press F8, the call starts.
I was wondering how something like this could work.
And above all, if there is a code in this group from which I could then develop something.
Currently, with a read poll using a timer of 1 seconds in the Clipboard, if I see that there is a phone number in the clipboard,
I start the call.
But it would be better with the F8 key.
Thank you.
Translated with DeepL.com (free version)
How to read a string from another app
- MarcoBoschi
- Posts: 1091
- Joined: Thu Nov 17, 2005 11:08 am
- Location: Padova - Italy
- Contact:
Re: How to read a string from another app
Did I understand correctly that the F8 hotkey becomes global and is triggered regardless of which program is currently active?
- MarcoBoschi
- Posts: 1091
- Joined: Thu Nov 17, 2005 11:08 am
- Location: Padova - Italy
- Contact:
Re: How to read a string from another app
Yes,
notepad, outlook, excel david infocenter and also cmd prompt
notepad, outlook, excel david infocenter and also cmd prompt
Marco Boschi
[email protected]
[email protected]
- Antonio Linares
- Site Admin
- Posts: 44515
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: How to read a string from another app
Dear Marco,
Please review FWH\source\winapi\help.c and you will see how we trap F1
I guess we can use it for other keys
Please review FWH\source\winapi\help.c and you will see how we trap F1
I guess we can use it for other keys
- Antonio Linares
- Site Admin
- Posts: 44515
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- MarcoBoschi
- Posts: 1091
- Joined: Thu Nov 17, 2005 11:08 am
- Location: Padova - Italy
- Contact:
Re: How to read a string from another app
Many thanks Antonio,
I will take a look next days.
The important feature (wich I fine very interestinf) is that the function can intercept from any other apps runing on the same pc a string.
in this case a phone number, but something else could be interesting, for instance a reference to a My Document that a customer sends to me, and I can open this document directly with my app.
I will take a look next days.
The important feature (wich I fine very interestinf) is that the function can intercept from any other apps runing on the same pc a string.
in this case a phone number, but something else could be interesting, for instance a reference to a My Document that a customer sends to me, and I can open this document directly with my app.
Marco Boschi
[email protected]
[email protected]