topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday December 12, 2024, 9:39 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: notice user when Ctrl-C (or whatever) is pressed  (Read 9712 times)

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
IDEA: notice user when Ctrl-C (or whatever) is pressed
« on: September 28, 2005, 05:23 AM »
Hi,

is there a way to play a sample when I hit Ctrl-C to copy something, so that I know I really copied it? Might be useful for other hotkeys too where you don't immediately see that you really pressed it. Would be even better if the script could determine the volume of that sample, so one could set it like one likes it.

After thinking a bit about that I wonder if it might be even better to use a gfx solution instead - maybe display a 0.5 inch x 0.5 inch big object in one of the screen corners (definable in which)?

Or flash the mouse cursor?

Or....? Any ideas/comments? :)


skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: notice user when Ctrl-C (or whatever) is pressed
« Reply #1 on: September 28, 2005, 05:28 AM »
 :) Try AutoHotkey from www.autohotkey.com.

A simpel script like this will work:

;Notify.ahk
~^c::
ToolTip,Ctrl-C pressed.
Sleep,2000
ToolTip
Return

~!Tab::
ToolTip,
Return


You'll find more scripts at Skrommel Software.

Skrommel
« Last Edit: September 28, 2005, 05:52 AM by skrommel »

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: IDEA: notice user when Ctrl-C (or whatever) is pressed
« Reply #2 on: September 28, 2005, 05:42 AM »
Awesome, really awesome! :)

Is it possible that the ToolTip will auto-hide if I press Alt-TAB before the timer reached stopped? That way I could use a bigger value for the timer while keeping it limited to the window where I clicked it.

Thanks!!

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: notice user when Ctrl-C (or whatever) is pressed
« Reply #3 on: September 28, 2005, 05:53 AM »
 :) Try now. There was a small typo, too...

Skrommel

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: IDEA: notice user when Ctrl-C (or whatever) is pressed
« Reply #4 on: September 28, 2005, 06:10 AM »
Hehe, I just noticed that type :) I changed it a bit:

;Notify.ahk Skrommel @2005-09-28
~^c::
ToolTip,Ctrl-C pressed. Thanks for your attention. You can move on now ;)
Sleep,2000
ToolTip
Return

~!Tab::
ToolTip,
Return
;Notify.ahk Skrommel @2005-09-28

:)