A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » The Basics
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

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



 
 
Thread Tools Display Modes
  #1  
Old December 27th 12, 08:11 AM posted to microsoft.public.windowsxp.basics
anand singh
external usenet poster
 
Posts: 4
Default How to make Custom Windows shortcut keys for displaying my message onPopup dialog

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
Ads
  #2  
Old December 27th 12, 11:49 AM posted to microsoft.public.windowsxp.basics
Tim Meddick[_3_]
external usenet poster
 
Posts: 1,020
Default How to make Custom Windows shortcut keys for displaying my message on Popup dialog

"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" wrote in message
...
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


  #3  
Old December 27th 12, 12:45 PM posted to microsoft.public.windowsxp.basics
anand singh
external usenet poster
 
Posts: 4
Default How to make Custom Windows shortcut keys for displaying mymessage on Popup dialog

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.



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" wrote in message

...

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
  #4  
Old December 27th 12, 06:15 PM posted to microsoft.public.windowsxp.basics
Jeremy Nicoll - news posts[_2_]
external usenet poster
 
Posts: 16
Default How to make Custom Windows shortcut keys for displaying my message on Popup dialog

anand singh 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 replacing "aaa" by "284".
  #5  
Old December 28th 12, 04:59 AM posted to microsoft.public.windowsxp.basics
anand singh
external usenet poster
 
Posts: 4
Default How to make Custom Windows shortcut keys for displaying mymessage on Popup dialog

On Thursday, 27 December 2012 23:45:37 UTC+5:30, Jeremy Nicoll - news posts wrote:
anand singh 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 replacing "aaa" by "284".


Thank you dear. thank you very much
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 06:00 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 PCbanter.
The comments are property of their posters.