I'm having difficulty with a script i've been using for a while, but I just recently upgraded to windows 7 and am having issues with it. For the most part it works, but the 'Hotkey, Enter, Done, On' doesn't actually call the 'Done' function.
Code:
+^PrintScreen::
{
SetTimer, WatchCursor, 100
Hotkey, Enter, Done, On
Hotkey, ESC, Quit, On
return
Done:
ClipBoard := Color
;CurrentColor := Color
;SelectedColor := ColorPicker(CurrentColor)
Quit:
SetTimer, WatchCursor, Off
Hotkey, ESC, Off
Hotkey, Enter, Off
ToolTip
return
WatchCursor:
MouseGetPos X, Y
PixelGetColor Color, %X%, %Y%, RGB
StringReplace,Color,Color,0x,,1
ToolTip, %Color%
return
}
When I hit enter, the clipboard doesn't have the color and the tooltip doesn't go away as it should. Escape works fine though. Any ideas?