![]() |
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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
"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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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 | |
|
|