Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to make Custom Windows shortcut keys for displaying my message on Popup dialog

129 views
Skip to first unread message

anand singh

unread,
Dec 27, 2012, 3:11:56 AM12/27/12
to
i am trying to display a popup message in window. this message should display when user presses shortcut key defined for it.

Please help ASAP

Thanks in advance

Tim Meddick

unread,
Dec 27, 2012, 6:49:46 AM12/27/12
to
"Right-click" on any chosen shortcut and select it's "Properties" page.

On the "Shortcut" tab, in the "Shortcut Key" box, assign your
shortcut-key-combination there.

Pressing *only* on a letter will give you an entry of :

CTRL + ALT + [KEY]

...but, for other choices of keys, you need to press the full combination,
i.e.;

SHIFT + ALT + [KEY]
CTRL + SHIFT + [KEY]

...if the key-combination is not been used on another shortcut already, it
will remain typed into the box, after you have released all the keys -
Then, press [Apply] or [OK] to save and exit the shortcut's properties
page.

Pressing the key-combination you just assigned, should then activate the
resource targeted in the associated shortcut.

==

Cheers, Tim Meddick, Peckham, London. :-)




"anand singh" <1nt08...@gmail.com> wrote in message
news:586089e1-cf4d-4eef...@googlegroups.com...

anand singh

unread,
Dec 27, 2012, 7:45:28 AM12/27/12
to Tim Meddick
Thanks for that post,
my real problem is suppose i want to display "hello good morning" somewhere written on some file, to a popup message by giving any shortcut key for it. Now i don't know how to do it... can you tell me whole process step wise

It would be very much helpful for me

Jeremy Nicoll - news posts

unread,
Dec 27, 2012, 1:15:37 PM12/27/12
to
anand singh <1nt08...@gmail.com> wrote:

>On Thursday, 27 December 2012 17:19:46 UTC+5:30, Tim Meddick wrote:
>> "Right-click" on any chosen shortcut and select it's "Properties" page...

> Thanks for that post, my real problem is suppose i want to display "hello
> good morning" somewhere written on some file, to a popup message by giving
> any shortcut key for it. Now i don't know how to do it... can you tell me
> whole process step wise

The "whole process" is: write a program in the programming language of your
choice, to display a pop-up message. Then create a shortcut to the program.
Then assign a key to the shortcut.


Or, if the message is fixed (ie never changes) edit a small text file and
put the message in it, then create shortcut to the file - NotePad will then
display it, but not in a popup.


Or, create a shortcut to cmd.exe (**) then edit the shortcut's properties to
tell it to run the command "echo" with the text you want displayed, so eg
the command in the shortcut would be something like

%SystemRoot%\system32\cmd.exe /K echo hello everyone!

This will display the message in a command window.


** navigate through folders until you find

C:\WINDOWS\system32 and in there find cmd.exe

Right-click it and choose 'send to >' ... 'desktop (create shortcut)'



--
Jeremy C B Nicoll - my opinions are my own.

Email sent to my from-address will be deleted. Instead, please reply
to newsre...@wingsandbeaks.org.uk replacing "aaa" by "284".

anand singh

unread,
Dec 27, 2012, 11:59:14 PM12/27/12
to
Thank you dear. thank you very much
0 new messages