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


A

anand singh

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
 
Ad

Advertisements

T

Tim Meddick

"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. :)
 
A

anand singh

"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. :)










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
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
 
J

Jeremy Nicoll - news posts

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)'
 
Ad

Advertisements

A

anand singh

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 (e-mail address removed) replacing "aaa" by "284".
Thank you dear. thank you very much
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top