View Single Post
  #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
Ads