MinervaXcel

Simple Time-Based display

Nov 7th, 2014
426
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [Rainmeter]
  2. Update=1000
  3. Author=Minervaxcel (Minervaxcel.deviantart.com)
  4.  
  5. [Variables]
  6. SnoopUp=Solidcolor=0,255,0,1
  7. ;## Delete the above line "SnoopTest= ..... " when you're ready to set up the real skinparts ##
  8. TimeToSmoke=420
  9. TimeToChoke=420
  10.  
  11. [TimePlug]
  12. Measure=Time
  13. Format=%I%M
  14.  
  15. [MeasureJoin2]
  16. Measure=Calc
  17. IfCondition=TimePlug = #TimeToSmoke#
  18. IfTrueAction=[!WriteKeyValue Variables SnoopUp "Solidcolor=0,255,0,255"][!RefreshApp]
  19. ;IfTrueAction=[!ActivateConfig "SnoopLoop" "Snoop.ini"]
  20. IfCondition2=TimePlug = #TimeToChoke#
  21. IfTrueAction2=[!WriteKeyValue Variables SnoopUp "Solidcolor=0,255,0,1"][!RefreshApp]
  22. ;IfTrueAction2=[!DeactivateConfig "SnoopLoop" "Snoop.ini"]
  23.  
  24. ;## Here, delete the "IfTrueAction" and "IfTrueAction2" without ";" in front of them.
  25. ;## Remove ";" from in front of IfTrueAction and IfTrueAction2.
  26. ;##
  27. ;## The IfTrueAction and IfTrueAction2 that were there before are for testing purposes. You can try loading the skin to test the time-working. Just remember to set the times
  28. ;## To put in the times, change the variables "TimeToSmoke" and "TimeToChoke"  
  29. ;## The time goes like this: 420 = 4:20, 1220 = 12:20 etc. So, if you want to test it in 2 minutes, and the time is 12:25, midday. Then just put 1225
  30. ;##
  31. ;## To set it up completely, just edit in the path for the animation like this:
  32. ;## Take the path from the root of the skins folder. So, for example You'd have "Serenity" and then the file to open.
  33. ;## !ActivateConfig "Serenity" "Launcher.ini" as an example.
  34. ;##
  35. ;## So, just find "!ActivateConfig" and "!DeactivateConfig" and fill in the path, erasing the old path.
  36.  
  37. ##########TEST ELEMENTS########
  38. ;## You can delete this part as soon as you are ready for the real setup, these are debug elements. "SnoopLoop" and "TestString"
  39. [TestString]
  40. Meter=String
  41. MeasureName=TimePlug
  42. X=200
  43.  
  44. [SnoopLoop]
  45. Meter=Image
  46. Solidcolor=#SnoopUp#
  47. W=80
  48. H=80
  49. DynamicVariables=1
  50. ################################
Advertisement
Add Comment
Please, Sign In to add comment