Jump to content


Photo

Quick tooltip help


  • Please log in to reply
3 replies to this topic

#1 Bred

Bred
  • Members
  • 48 posts

Posted 24 June 2012 - 11:28 AM

Heres my script. It should pause/unpause the script with my hotkey, which it does.
But it does not show the Tooltip "Pause" msg when I pause it. It will only show it every other time I hit the hotkey (which unpauses it). Any ideas how to make it say the tool tip msg "Pause" every time hotkey is hit?


^+F1::
Pause
Tooltip Pause
SetTimer, RemoveToolTip, 1000
return

RemoveToolTip:
SetTimer, RemoveToolTip, Off
ToolTip
return

#2 HotKeyIt

HotKeyIt
  • Fellows
  • 6132 posts

Posted 24 June 2012 - 11:54 AM


^+F1::

[color=#FF0000]Tooltip Pause[/color]

Pause

[color=#40BF00];...[/color]


#3 Bred

Bred
  • Members
  • 48 posts

Posted 24 June 2012 - 06:47 PM

When I have the tooltip above the pause I can pause it but I cant unpause it also the tooltip msg wont go away, even if I move the line

SetTimer, RemoveToolTip, 1000

So thats not working

I want it to pause and unpause but to show the tooltip everytime I use the hotkey

#4 None

None
  • Members
  • 3199 posts

Posted 24 June 2012 - 07:23 PM

This is one solution (with the attached file in your library folder) this uses a different script to show the tooltip
script = 

(

#NoTrayIcon

#SingleInstance Force

Tooltip Pause

Sleep 1000

ToolTip

)



^+F1::

Script2Pipe(script)

Pause, Toggle, 1

return