It is currently March 28th, 2024, 2:02 pm

Auto tooltips display

Get help with creating, editing & fixing problems with skins
Post Reply
User avatar
xenium
Posts: 841
Joined: January 4th, 2018, 9:52 pm

Auto tooltips display

Post by xenium »

It's possible that the tooltips is automatically displayed when the skin is loaded and disappears after 10 seconds ?

Thanks
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Auto tooltips display

Post by balala »

xenium wrote:It's possible that the tooltips is automatically displayed when the skin is loaded and disappears after 10 seconds ?
No, I think it isn't, especially that ToolTips are a Windows feature, not a Rainmeter one. So, nor Rainmtere and nor a skin can't control them.
User avatar
Mor3bane
Posts: 943
Joined: May 7th, 2016, 7:32 am
Contact:

Re: Auto tooltips display

Post by Mor3bane »

You can however create Rainmeter-driven simulacrum tooltips.

These would be in the order of sliding skins or similar - like a dialog box that has an ActionTImer on it.

There should be "something" in these forums on that topic possibly by searching forum or google for "scripted tooltips" etc.

I have seen several examples that might help out, but since I am lazy i will just point you that way - especially since I am currently in the process of scripting some sliding "pop ups". (i dont know how yet lol) :lol:
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5380
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: Auto tooltips display

Post by eclectic-tech »

As balala said, it cannot be done using Windows tootips. As Mor3bane explained, it can be done in other ways.
Here is an example using a "Run Once" measure and a Timer Calc.

Code: Select all

[Rainmeter]
AccurateText=1
DynamicWindowSize=1

[MeasureOnLoad]
Measure=Calc
Formula=Counter
IfCondition=(MeasureOnLoad=1)
IfTrueAction=[!ShowMeter GreetingTip]
UpdateDivider=-1

[MeasureTimer10]
Measure=Calc
Formula=(MeasureTimer10+1)%10
IfCondition=(MeasureTimer10=9)
IfTrueAction=[!HideMeter GreetingTip][!DisableMeasure MeasureTimer10]

[MeterSimulator]
Meter=String
X=150
Y=200
FontColor=255,255,255
SolidColor=0,0,0,1
StringAlign=CenterCenter
ClipString=2
ClipStringW=200
Text="This is a simulated skin to demonstrate a popup tooltip when a skin is first loaded. It does nothing , other than provide a paragraph of text that can be a guide to how a popup tooltip would look and work."

[GreetingTip]
Meter=String
X=-100R
Y=-80R
SolidColor=227,227,227,210
Padding=8,8,8,8
Text="This is a sudo Tooltip.#CRLF#It will display for 10 seconds#CRLF#then disappear until the skin#CRLF#is unloaded and reloaded."
Hidden=1
{Click to show animation...}
tooltip.gif
User avatar
xenium
Posts: 841
Joined: January 4th, 2018, 9:52 pm

Re: Auto tooltips display

Post by xenium »

eclectic-tech wrote:As balala said, it cannot be done using Windows tootips. As Mor3bane explained, it can be done in other ways.
Here is an example using a "Run Once" measure and a Timer Calc.

Code: Select all

[Rainmeter]
AccurateText=1
DynamicWindowSize=1

[MeasureOnLoad]
Measure=Calc
Formula=Counter
IfCondition=(MeasureOnLoad=1)
IfTrueAction=[!ShowMeter GreetingTip]
UpdateDivider=-1

[MeasureTimer10]
Measure=Calc
Formula=(MeasureTimer10+1)%10
IfCondition=(MeasureTimer10=9)
IfTrueAction=[!HideMeter GreetingTip][!DisableMeasure MeasureTimer10]

[MeterSimulator]
Meter=String
X=150
Y=200
FontColor=255,255,255
SolidColor=0,0,0,1
StringAlign=CenterCenter
ClipString=2
ClipStringW=200
Text="This is a simulated skin to demonstrate a popup tooltip when a skin is first loaded. It does nothing , other than provide a paragraph of text that can be a guide to how a popup tooltip would look and work."

[GreetingTip]
Meter=String
X=-100R
Y=-80R
SolidColor=227,227,227,210
Padding=8,8,8,8
Text="This is a sudo Tooltip.#CRLF#It will display for 10 seconds#CRLF#then disappear until the skin#CRLF#is unloaded and reloaded."
Hidden=1
{Click to show animation...}tooltip.gif
:17good
Thank you very much!
Post Reply