SHARE
TWEET

Network Meter 2018

a guest Apr 20th, 2018 558 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [Rainmeter]
  2. AccurateText=1
  3. Update=1000
  4. Group=NetworkMeter
  5. MouseOverAction=[!SetOption MeterSettingsButton ImageAlpha 255][!UpdateMeter "MeterSettingsButton"][!Redraw]
  6. MouseLeaveAction=[!SetOption MeterSettingsButton ImageAlpha 0][!UpdateMeter "MeterSettingsButton"][!Redraw]
  7. MiddleMouseUpAction=[!Refresh]
  8. ; emulate addgadgets.com Network Meter behavior; double-click brings up "Network and Sharing Center" (both lines are equivalent)
  9. ;LeftMouseDoubleClickAction=[control.exe /name Microsoft.NetworkandSharingCenter]
  10. LeftMouseDoubleClickAction=[Shell:::{8E908FC9-BECC-40f6-915B-F4CA0E70D03D}]
  11. SkinHeight=(#BgHeight# * #Scale#)
  12. SkinWidth=(#BgWidth# * #Scale#)
  13.  
  14. [Metadata]
  15. Name=Network Meter
  16. Author=SilverAzide
  17. Information=Shows network activity. Inspired by Network Meter gadget by AddGadgets.com.
  18. License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
  19. Version=3.0.1
  20.  
  21. ;###################################################################################################
  22. ;                                           Network Meter
  23. ;###################################################################################################
  24.  
  25. [Variables]
  26. @Include="#@#NetworkVariables.inc"
  27. ; background
  28. BgHeight=182
  29. BgWidth=160
  30. ; text X margin
  31. TextPosX=8
  32.  
  33. ; if AccurateText=1, set this to 2 (pixels); otherwise, set this to 0 (for String meters only)
  34. AccTextOffset=2
  35.  
  36. ; graph smoothing factor (average sample size)
  37. ;   1 = maximum spikiness (same appearance as original addgadgets.com gadgets)
  38. ;   2 = minimal smoothing (default, may be more realistic indicator of performance)
  39. ;   3 = smoother (may be less accurate indicator of performance)
  40. ;  >3 = more smoothing (not recommended)
  41. SmoothFactor=2
  42.  
  43. ; dynamic variables; do not change
  44. AdapterFound=0
  45. DataIsInbound=0
  46. DataIsOutbound=0
  47. MaxBytesPerSec=0
  48.  
  49. ; dynamic variables to hold formatted text values; do not change
  50. TextNetIn=""
  51. TextNetInBits=""
  52. TextNetInBytesCurrent=""
  53. TextNetInBytesTotal=""
  54. TextNetOut=""
  55. TextNetOutBits=""
  56. TextNetOutBytesCurrent=""
  57. TextNetOutBytesTotal=""
  58.  
  59. ; network bitmap frame indices:
  60. ;   0 = error
  61. ;   1 = ok/idle
  62. ;   2 = in/down
  63. ;   3 = out/up
  64. ;   4 = both
  65. NetworkFrame=0
  66.  
  67. ;///////////////////////////////////////////////////////////////////////////////////////////////////
  68. ;                                              Styles
  69. ;///////////////////////////////////////////////////////////////////////////////////////////////////
  70.  
  71. [StyleTextNetInfo]
  72. FontSize=#FontSize1#
  73. FontFace=#FontName#
  74. StringAlign=Left
  75. AntiAlias=1
  76. TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
  77.  
  78. [StyleArrowDown]
  79. ImageName="#@#ArrowDown.png"
  80. ScaleMargins=0,0,0,0
  81. AntiAlias=1
  82. W=12
  83. H=12
  84. TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
  85. UpdateDivider=-1
  86.  
  87. [StyleArrowUp]
  88. ImageName="#@#ArrowUp.png"
  89. ScaleMargins=0,0,0,0
  90. AntiAlias=1
  91. W=12
  92. H=12
  93. TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
  94. UpdateDivider=-1
  95.  
  96. [StyleGraph]
  97. X=9
  98. Y=(#BgHeight# - 89)
  99. W=(#BgWidth# - 19)
  100. H=40
  101. AntiAlias=1
  102. AutoScale=1
  103. TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
  104.  
  105. ;///////////////////////////////////////////////////////////////////////////////////////////////////
  106. ;                                             Measures
  107. ;///////////////////////////////////////////////////////////////////////////////////////////////////
  108.  
  109. [CheckAdapterConfigEthernet]
  110. Measure=String
  111. String=#InterfaceEthernet#
  112. RegExpSubstitute=1
  113. Substitute="^(.+)$":"enabled","^$":"disabled"
  114. IfMatch="enabled"
  115. IfMatchAction=[!EnableMeasureGroup "MeasureEthernet"][!SetVariable AdapterFound 1]
  116. IfNotMatchAction=[!DisableMeasureGroup "MeasureEthernet"]
  117. UpdateDivider=-1
  118.  
  119. [CheckAdapterConfigWireless]
  120. Measure=String
  121. String=#InterfaceWireless#
  122. RegExpSubstitute=1
  123. Substitute="^(.+)$":"enabled","^$":"disabled"
  124. IfMatch="enabled"
  125. IfMatchAction=[!EnableMeasureGroup "MeasureWireless"][!SetVariable AdapterFound 1]
  126. IfNotMatchAction=[!DisableMeasureGroup "MeasureWireless"]
  127. UpdateDivider=-1
  128.  
  129. [CheckAdapterConfigBroadband]
  130. Measure=String
  131. String=#InterfaceBroadband#
  132. RegExpSubstitute=1
  133. Substitute="^(.+)$":"enabled","^$":"disabled"
  134. IfMatch="enabled"
  135. IfMatchAction=[!EnableMeasureGroup "MeasureBroadband"][!SetVariable AdapterFound 1]
  136. IfNotMatchAction=[!DisableMeasureGroup "MeasureBroadband"]
  137. UpdateDivider=-1
  138.  
  139. ; Windows versions prior to Windows 10 stored the version number as a string in the form "major.minor"
  140. ;   5.0 = Windows 2000
  141. ;   5.1 = Windows XP
  142. ;   5.2 = Windows XP 64-bit Edition, Windows Server 2003, Windows Server 2003 R2
  143. ;   6.0 = Windows Vista, Windows Server 2008
  144. ;   6.1 = Windows 7, Windows Server 2008 R2
  145. ;   6.2 = Windows 8, Windows Server 2012
  146. ;   6.3 = Windows 8.1, Windows Server 2012 R2 -- AND WINDOWS 10 !!
  147. [MeasureOSVersion]
  148. Measure=Registry
  149. RegHKey=HKEY_LOCAL_MACHINE
  150. RegKey=SOFTWARE\Microsoft\Windows NT\CurrentVersion
  151. RegValue=CurrentVersion
  152. UpdateDivider=-1
  153.  
  154. ; Windows versions Windows 10 and later stores the version number as two integers, major version and
  155. ; minor version; try getting major version and set to zero if OS is prior to Windows 10
  156. ;[MeasureOSVersion10andLater]
  157. ;Measure=Registry
  158. ;RegHKey=HKEY_LOCAL_MACHINE
  159. ;RegKey=SOFTWARE\Microsoft\Windows NT\CurrentVersion
  160. ;RegValue=CurrentMajorVersionNumber
  161. ;RegExpSubstitute=1
  162. ;Substitute="^$":"0"
  163. ;UpdateDivider=-1
  164.  
  165. ; check if no adapters are configured; if so, attempt to auto-configure
  166. ; NOTE: Windows 7 and earlier cannot do auto-configuration; PowerShell query does not work due to no MSFT_NetAdapter namespace
  167. [CalcAdapterConfigCheck]
  168. Measure=Calc
  169. IfCondition=([MeasureOSVersion] > 6.1) && (#AdapterFound# = 0) && (#InterfaceAutoConfig# = 1)
  170. IfTrueAction=[!Log "No network interfaces configured, auto-configuring..." Notice][!SetOption MeterTitleText Text "Configuring..."][!UpdateMeter "MeterTitleText"][!Redraw][!CommandMeasure MeasureRunGetEthernet "Run"]
  171. IfCondition2=([MeasureOSVersion] > 6.1) && (#AdapterFound# = 0) && (#InterfaceAutoConfig# = 0)
  172. IfTrueAction2=[!Log "No network interfaces configured; monitoring active interface only" Notice][!EnableMeasure CalcActiveInterface]
  173. IfCondition3=([MeasureOSVersion] < 6.2) && (#AdapterFound# = 0)
  174. IfTrueAction3=[!Log "No network interfaces configured; monitoring active interface only" Notice][!EnableMeasure CalcActiveInterface]
  175. DynamicVariables=1
  176. UpdateDivider=-1
  177.  
  178. ; if no interfaces configured and autoconfig is not available, monitor the "Best" interface only
  179. [CalcActiveInterface]
  180. Measure=Calc
  181. IfCondition=(MeasureAdapterType <> 71) && (#AdapterFound# = 0)
  182. IfTrueAction=[!Log "Active interface: [MeasureAdapterName] ([MeasureAdapterType])" Notice][!SetVariable InterfaceEthernet [MeasureAdapterName]][!SetVariable InterfaceWireless ""][!SetVariable InterfaceBroadband ""][!SetOptionGroup "MeasureEthernet" Reload 0][!EnableMeasureGroup "MeasureEthernet"][!DisableMeasureGroup "MeasureWireless"][!DisableMeasureGroup "MeasureBroadband"]
  183. IfCondition2=(MeasureAdapterType = 71) && (#AdapterFound# = 0)
  184. IfTrueAction2=[!Log "Active interface: [MeasureAdapterName] ([MeasureAdapterType])" Notice][!SetVariable InterfaceEthernet ""][!SetVariable InterfaceWireless [MeasureAdapterName]][!SetVariable InterfaceBroadband ""][!SetOptionGroup "MeasureWireless" Reload 0][!DisableMeasureGroup "MeasureEthernet"][!EnableMeasureGroup "MeasureWireless"][!DisableMeasureGroup "MeasureBroadband"]
  185. DynamicVariables=1
  186. Disabled=1
  187.  
  188. ;--------------------------------------------- Scripts ---------------------------------------------
  189.  
  190. [FormatScript]
  191. Measure=Script
  192. ScriptFile="#@#FixedPrecisionFormat.lua"
  193.  
  194. ;------------------------------------------- Network IN -------------------------------------------
  195.  
  196. [MeasureNetInEthernet]
  197. Measure=NetIn
  198. Interface=#InterfaceEthernet#
  199. Group=MeasureEthernet
  200. Disabled=1
  201.  
  202. [MeasureNetInEthernetTotal]
  203. Measure=NetIn
  204. Interface=#InterfaceEthernet#
  205. Cumulative=1
  206. Group=MeasureEthernet
  207. Disabled=1
  208.  
  209. [MeasureNetInWireless]
  210. Measure=NetIn
  211. Interface=#InterfaceWireless#
  212. Group=MeasureWireless
  213. Disabled=1
  214.  
  215. [MeasureNetInWirelessTotal]
  216. Measure=NetIn
  217. Interface=#InterfaceWireless#
  218. Cumulative=1
  219. Group=MeasureWireless
  220. Disabled=1
  221.  
  222. [MeasureNetInBroadband]
  223. Measure=NetIn
  224. Interface=#InterfaceBroadband#
  225. Group=MeasureBroadband
  226. Disabled=1
  227.  
  228. [MeasureNetInBroadbandTotal]
  229. Measure=NetIn
  230. Interface=#InterfaceBroadband#
  231. Cumulative=1
  232. Group=MeasureBroadband
  233. Disabled=1
  234.  
  235. [MeasureNetIn]
  236. Measure=Calc
  237. Formula=MeasureNetInEthernet + MeasureNetInWireless + MeasureNetInBroadband
  238. IfAboveValue=0
  239. IfAboveAction=[!SetVariable DataIsInbound 1]
  240. IfBelowValue=1
  241. IfBelowAction=[!SetVariable DataIsInbound 0]
  242. IfCondition=1
  243. IfTrueAction=[!CommandMeasure FormatScript "FormatNumber([MeasureNetIn], 4, '1k', 'TextNetIn')"]
  244. OnChangeAction=[!CommandMeasure FormatScript "FormatNumber([MeasureNetIn], 4, '1k', 'TextNetIn')"]
  245.  
  246. [MeasureNetInGraph]
  247. Measure=Calc
  248. Formula=MeasureNetIn
  249. AverageSize=#SmoothFactor#
  250.  
  251. [MeasureNetInBytesTotal]
  252. Measure=Calc
  253. Formula=MeasureNetInEthernetTotal + MeasureNetInWirelessTotal + MeasureNetInBroadbandTotal
  254. IfCondition=1
  255. IfTrueAction=[!CommandMeasure FormatScript "FormatNumber([MeasureNetInBytesTotal], 6, '1k', 'TextNetInBytesTotal')"]
  256. OnChangeAction=[!CommandMeasure FormatScript "FormatNumber([MeasureNetInBytesTotal], 6, '1k', 'TextNetInBytesTotal')"]
  257.  
  258. [MeasureNetInBytesBase]
  259. Measure=Calc
  260. Formula=MeasureNetInEthernetTotal + MeasureNetInWirelessTotal + MeasureNetInBroadbandTotal
  261. UpdateDivider=-1
  262.  
  263. [MeasureNetInBytesCurrent]
  264. Measure=Calc
  265. Formula=MeasureNetInBytesTotal - MeasureNetInBytesBase
  266. IfCondition=1
  267. IfTrueAction=[!CommandMeasure FormatScript "FormatNumber([MeasureNetInBytesCurrent], 6, '1k', 'TextNetInBytesCurrent')"]
  268. OnChangeAction=[!CommandMeasure FormatScript "FormatNumber([MeasureNetInBytesCurrent], 6, '1k', 'TextNetInBytesCurrent')"]
  269.  
  270. [MeasureNetInBits]
  271. Measure=Calc
  272. Formula=MeasureNetIn * 8
  273. IfCondition=1
  274. IfTrueAction=[!CommandMeasure FormatScript "FormatNumber([MeasureNetInBits], 4, '1k', 'TextNetInBits')"]
  275. OnChangeAction=[!CommandMeasure FormatScript "FormatNumber([MeasureNetInBits], 4, '1k', 'TextNetInBits')"]
  276.  
  277. ;------------------------------------------ Network OUT -------------------------------------------
  278.  
  279. [MeasureNetOutEthernet]
  280. Measure=NetOut
  281. Interface=#InterfaceEthernet#
  282. Group=MeasureEthernet
  283. Disabled=1
  284.  
  285. [MeasureNetOutEthernetTotal]
  286. Measure=NetOut
  287. Interface=#InterfaceEthernet#
  288. Cumulative=1
  289. Group=MeasureEthernet
  290. Disabled=1
  291.  
  292. [MeasureNetOutWireless]
  293. Measure=NetOut
  294. Interface=#InterfaceWireless#
  295. Group=MeasureWireless
  296. Disabled=1
  297.  
  298. [MeasureNetOutWirelessTotal]
  299. Measure=NetOut
  300. Interface=#InterfaceWireless#
  301. Cumulative=1
  302. Group=MeasureWireless
  303. Disabled=1
  304.  
  305. [MeasureNetOutBroadband]
  306. Measure=NetOut
  307. Interface=#InterfaceBroadband#
  308. Group=MeasureBroadband
  309. Disabled=1
  310.  
  311. [MeasureNetOutBroadbandTotal]
  312. Measure=NetOut
  313. Interface=#InterfaceBroadband#
  314. Cumulative=1
  315. Group=MeasureBroadband
  316. Disabled=1
  317.  
  318. [MeasureNetOut]
  319. Measure=Calc
  320. Formula=MeasureNetOutEthernet + MeasureNetOutWireless + MeasureNetOutBroadband
  321. IfAboveValue=0
  322. IfAboveAction=[!SetVariable DataIsOutbound 1]
  323. IfBelowValue=1
  324. IfBelowAction=[!SetVariable DataIsOutbound 0]
  325. IfCondition=1
  326. IfTrueAction=[!CommandMeasure FormatScript "FormatNumber([MeasureNetOut], 4, '1k', 'TextNetOut')"]
  327. OnChangeAction=[!CommandMeasure FormatScript "FormatNumber([MeasureNetOut], 4, '1k', 'TextNetOut')"]
  328.  
  329. [MeasureNetOutGraph]
  330. Measure=Calc
  331. Formula=MeasureNetOut
  332. AverageSize=#SmoothFactor#
  333.  
  334. [MeasureNetOutBytesTotal]
  335. Measure=Calc
  336. Formula=MeasureNetOutEthernetTotal + MeasureNetOutWirelessTotal + MeasureNetOutBroadbandTotal
  337. IfCondition=1
  338. IfTrueAction=[!CommandMeasure FormatScript "FormatNumber([MeasureNetOutBytesTotal], 6, '1k', 'TextNetOutBytesTotal')"]
  339. OnChangeAction=[!CommandMeasure FormatScript "FormatNumber([MeasureNetOutBytesTotal], 6, '1k', 'TextNetOutBytesTotal')"]
  340.  
  341. [MeasureNetOutBytesBase]
  342. Measure=Calc
  343. Formula=MeasureNetOutEthernetTotal + MeasureNetOutWirelessTotal + MeasureNetOutBroadbandTotal
  344. UpdateDivider=-1
  345.  
  346. [MeasureNetOutBytesCurrent]
  347. Measure=Calc
  348. Formula=MeasureNetOutBytesTotal - MeasureNetOutBytesBase
  349. IfCondition=1
  350. IfTrueAction=[!CommandMeasure FormatScript "FormatNumber([MeasureNetOutBytesCurrent], 6, '1k', 'TextNetOutBytesCurrent')"]
  351. OnChangeAction=[!CommandMeasure FormatScript "FormatNumber([MeasureNetOutBytesCurrent], 6, '1k', 'TextNetOutBytesCurrent')"]
  352.  
  353. [MeasureNetOutBits]
  354. Measure=Calc
  355. Formula=MeasureNetOut * 8
  356. IfCondition=1
  357. IfTrueAction=[!CommandMeasure FormatScript "FormatNumber([MeasureNetOutBits], 4, '1k', 'TextNetOutBits')"]
  358. OnChangeAction=[!CommandMeasure FormatScript "FormatNumber([MeasureNetOutBits], 4, '1k', 'TextNetOutBits')"]
  359.  
  360. ;-------------------------------------- Max transfer speed ----------------------------------------
  361.  
  362. [MeasureMaxBytesPerSec]
  363. Measure=Calc
  364. Formula=Max(Max(MeasureNetIn, MeasureNetOut), #MaxBytesPerSec#)
  365. IfConditionMode=1
  366. IfCondition=((MeasureMaxBytesPerSec > #MaxBytesPerSec#) && (MeasureMaxBytesPerSec < 134217728))
  367. IfTrueAction=[!SetVariable MaxBytesPerSec ([MeasureMaxBytesPerSec])]
  368. DynamicVariables=1
  369.  
  370. [MeasureMaxBitsPerSec]
  371. Measure=Calc
  372. Formula=(#MaxBytesPerSec# * 8)
  373. DynamicVariables=1
  374.  
  375. ;------------------------------------------ IP Addresses ------------------------------------------
  376.  
  377. [MeasureIPLan]
  378. Measure=Plugin
  379. Plugin=SysInfo
  380. SysInfoType=IP_ADDRESS
  381. SysInfoData=Best
  382. DynamicVariables=1
  383. OnChangeAction=[!Log "Internal IP address change, refreshing external IP address" Notice][!CommandMeasure MeasureIPWeb "Reset"][!CommandMeasure MeasureIPWeb "Update"]
  384.  
  385. [MeasureIPWeb]
  386. Measure=Plugin
  387. Plugin=WebParser
  388. Url=https://secure.internode.on.net/webtools/showmyip?textonly=1
  389. RegExp="(.*)"
  390. StringIndex=1
  391. ForceReload=1
  392. UpdateRate=-1
  393. OnChangeAction=[!SetOption MeterExternalIPValueMouseRegion LeftMouseUpAction "http://whatismyipaddress.com/ip/[MeasureIPWeb]"]
  394. ;
  395. ; NOTE:  Websites that can be used for obtaining your external IP address:
  396. ;
  397. ;   Url=https://secure.internode.on.net/webtools/showmyip?textonly=1  RegExp="(.*)"
  398. ;   Url=http://checkip.dyndns.org                                     RegExp="(?siU)Address: (.*)</body>"
  399. ;   Url=http://ipdetect.dnspark.com                                   RegExp="(?siU)Address: (.*)</body>"
  400. ;
  401. ; NOTE:  Websites that can be used for displaying your location based on your external IP address:
  402. ;
  403. ;   http://addgadgets.com/ipaddress/index.php?ipaddr=[MeasureIPWeb]
  404. ;   http://whatismyipaddress.com/ip/[MeasureIPWeb]
  405. ;
  406.  
  407. ;----------------------------------------- Active Adapter ------------------------------------------
  408.  
  409. [MeasureAdapterName]
  410. Measure=Plugin
  411. Plugin=SysInfo
  412. SysInfoType=ADAPTER_DESCRIPTION
  413. SysInfoData=Best
  414. DynamicVariables=1
  415. OnChangeAction=[!Log "Network adapter changed to [MeasureAdapterName], refreshing ActiveNet info" Notice][!SetOption MeasureAdapterType Reload 0][!SetOption MeasureInterfaceName Reload 0][!SetVariable MaxBytesPerSec 0][!UpdateMeasure "CalcActiveInterface"]
  416. ;
  417. ; IMPORTANT:
  418. ;   The measure above is required to get the active adapter name, which is used as input to the
  419. ;   ActiveNet plugin measures.  The OnChangeAction is required to refresh all the measures when the
  420. ;   adapter changes.
  421. ;
  422.  
  423. [MeasureAdapterType]
  424. Measure=Plugin
  425. Plugin=ActiveNet
  426. Type=NetAdapterType
  427. Name=[MeasureAdapterName]
  428. UpdateInterval=-1
  429. ;
  430. ; For a list of adapter types, see:
  431. ;   https://msdn.microsoft.com/en-us/library/system.net.networkinformation.networkinterfacetype(v=vs.110).aspx
  432. ;   https://github.com/Microsoft/referencesource/blob/master/System/net/System/Net/NetworkInformation/interfacetype.cs
  433. ;
  434. ; The Rainmeter debug log will list type and numeric value (this is an example only):
  435. ;
  436. ;   DBUG (00:00:00.062) : 1: Intel(R) 82579LM Gigabit Network Connection
  437. ;   DBUG (00:00:00.062) :   Alias: Local Area Connection
  438. ;   DBUG (00:00:00.062) :   Type=Ethernet(6), Hardware=Yes, Filter=No
  439. ;   DBUG (00:00:00.078) : 2: Intel(R) Centrino(R) Ultimate-N 6300 AGN
  440. ;   DBUG (00:00:00.078) :   Alias: Wireless Network Connection
  441. ;   DBUG (00:00:00.078) :   Type=IEEE802.11(71), Hardware=Yes, Filter=No
  442. ;   DBUG (00:00:00.093) : 3: PANTECH UML290 Mobile Broadband
  443. ;   DBUG (00:00:00.093) :   Alias: Mobile Broadband Connection
  444. ;   DBUG (00:00:00.093) :   Type=Other(243), Hardware=Yes, Filter=No
  445. ;
  446. ; Common adapter type values:
  447. ;
  448. ;   NetAdapterType NetAdapterType
  449. ;   (string)       (number)       Remarks
  450. ;   -------------- -------------- -----------------------------------------
  451. ;   Ethernet       6
  452. ;   Wireless80211  71             Wireless 802.11 (all types)
  453. ;   Wwanpp         243            Mobile broadband (GSM)
  454. ;   Wwanpp2        244            Mobile broadband (CDMA)
  455. ;
  456.  
  457. [MeasureInterfaceName]
  458. Measure=Plugin
  459. Plugin=ActiveNet
  460. Type=NetInterfaceName
  461. Name=[MeasureAdapterName]
  462. UpdateInterval=-1
  463.  
  464. ;---------------------------------------- Wireless Adapter -----------------------------------------
  465.  
  466. ;[MeasureWiFiSSID]
  467. ;Measure=Plugin
  468. ;Plugin=WiFiStatus
  469. ;WiFiInfoType=SSID
  470. ;WiFiIntfID=#WiFiInterfaceID#
  471. ;RegExpSubstitute=1
  472. ;Substitute="(^-1$)":"Not Connected","(^0$)":"No Connection"
  473. ;Group=MeasureWireless
  474. ;Disabled=1
  475.  
  476. ;[MeasureWiFiQuality]
  477. ;Measure=Plugin
  478. ;Plugin=WiFiStatus
  479. ;WiFiInfoType=Quality
  480. ;WiFiIntfID=#WiFiInterfaceID#
  481. ;Group=MeasureWireless
  482. ;Disabled=1
  483.  
  484. ;[MeasureWiFiAuthentication]
  485. ;Measure=Plugin
  486. ;Plugin=WiFiStatus
  487. ;WiFiInfoType=AUTH
  488. ;WiFiIntfID=#WiFiInterfaceID#
  489. ;RegExpSubstitute=1
  490. ;Substitute="(^-1$)":"","(^0$)":""
  491. ;Group=MeasureWireless
  492. ;Disabled=1
  493.  
  494. ;[MeasureWiFiEncryption]
  495. ;Measure=Plugin
  496. ;Plugin=WiFiStatus
  497. ;WiFiInfoType=Encryption
  498. ;WiFiIntfID=#WiFiInterfaceID#
  499. ;Group=MeasureWireless
  500. ;Disabled=1
  501.  
  502. ;[MeasureWiFiBands]
  503. ;Measure=Plugin
  504. ;Plugin=WiFiStatus
  505. ;WiFiInfoType=PHY
  506. ;WiFiIntfID=#WiFiInterfaceID#
  507. ;Group=MeasureWireless
  508. ;Disabled=1
  509.  
  510. ;[MeasureWiFiList]
  511. ;Measure=Plugin
  512. ;Plugin=WiFiStatus
  513. ;WiFiInfoType=List
  514. ;WiFiListStyle=3
  515. ;Group=MeasureWireless
  516. ;Disabled=1
  517.  
  518. ;------------------------------------------ Connectivity ------------------------------------------
  519.  
  520. [MeasureNetworkIsLAN]
  521. Measure=Plugin
  522. Plugin=SysInfo
  523. SysInfoType=LAN_CONNECTIVITY
  524.  
  525. [MeasureNetworkIsWAN]
  526. Measure=Plugin
  527. Plugin=SysInfo
  528. SysInfoType=INTERNET_CONNECTIVITY
  529. IfCondition=(MeasureNetworkIsWAN = 1)
  530. IfTrueAction=[!HideMeter "MeterNoInternetImage"][!ShowMeter "MeterInternetImage"]
  531. IfFalseAction=[!HideMeter "MeterInternetImage"][!ShowMeter "MeterNoInternetImage"]
  532.  
  533. [MeasureNetworkIcon]
  534. Measure=Calc
  535. ; returns -2 (no network), 0 (LAN but no WAN), +2 (LAN and WAN)
  536. Formula=MeasureNetworkIsLAN + MeasureNetworkIsWAN
  537. IfConditionMode=1
  538.  
  539. IfCondition=(MeasureNetworkIcon = -2)
  540. IfTrueAction=[!SetVariable NetworkFrame 0]
  541.  
  542. IfCondition2=(MeasureNetworkIcon > -2) && (#DataIsInbound# = 1) && (#DataIsOutbound# = 0)
  543. IfTrueAction2=[!SetVariable NetworkFrame 2]
  544.  
  545. IfCondition3=(MeasureNetworkIcon > -2) && (#DataIsInbound# = 0) && (#DataIsOutbound# = 1)
  546. IfTrueAction3=[!SetVariable NetworkFrame 3]
  547.  
  548. IfCondition4=(MeasureNetworkIcon > -2) && (#DataIsInbound# = 1) && (#DataIsOutbound# = 1)
  549. IfTrueAction4=[!SetVariable NetworkFrame 4]
  550.  
  551. IfCondition5=(MeasureNetworkIcon > -2) && (#DataIsInbound# = 0) && (#DataIsOutbound# = 0)
  552. IfTrueAction5=[!SetVariable NetworkFrame 1]
  553. DynamicVariables=1
  554.  
  555. ;[MeasureIconToolTip]
  556. ;Measure=Calc
  557. ;Formula=MeasureAdapterType
  558. ;IfConditionMode=1
  559. ;IfCondition=(MeasureAdapterType = 71)
  560. ;IfTrueAction=[!SetOption MeterNetworkImageMouseRegion ToolTipTitle "Wireless Networks"][!SetOption MeterNetworkImageMouseRegion ToolTipText [MeasureWiFiList]]
  561. ;IfFalseAction=[!SetOption MeterNetworkImageMouseRegion ToolTipTitle [MeasureInterfaceName]][!SetOption MeterNetworkImageMouseRegion ToolTipText [MeasureAdapterName]]
  562.  
  563. ;-------------------------------------------- Commands --------------------------------------------
  564.  
  565. ; get name of ethernet adapter, then...
  566. [MeasureRunGetEthernet]
  567. Measure=Plugin
  568. Plugin=RunCommand
  569. Parameter="powershell -NonInteractive -Command "Get-WmiObject -Class MSFT_NetAdapter -Filter 'InterfaceType = 6 and Virtual = False' -Namespace root\StandardCimv2 | Sort -Property InterfaceDescription | Select -First 1 | Format-Table -Property InterfaceDescription -AutoSize -HideTableHeaders""
  570. OutputType=ANSI
  571. State=Hide
  572. Timeout=10000
  573. Substitute="#CRLF#":""
  574. IfMatch=^.+$
  575. IfMatchAction=[!Log "Found ethernet adapter: [MeasureRunGetEthernet]" Notice]
  576. FinishAction=[!SetVariable InterfaceEthernet [MeasureRunGetEthernet]][!WriteKeyValue Variables InterfaceEthernet "[MeasureRunGetEthernet]" "#@#NetworkVariables.inc"][!CommandMeasure MeasureRunGetWireless "Run"]
  577.  
  578. ; ...get name of wireless adapter, then restart
  579. [MeasureRunGetWireless]
  580. Measure=Plugin
  581. Plugin=RunCommand
  582. Parameter="powershell -NonInteractive -Command "Get-WmiObject -Class MSFT_NetAdapter -Filter 'InterfaceType = 71 and Virtual = False' -Namespace root\StandardCimv2 | Sort -Property InterfaceDescription | Select -First 1 | Format-Table -Property InterfaceDescription -AutoSize -HideTableHeaders""
  583. OutputType=ANSI
  584. State=Hide
  585. Timeout=10000
  586. Substitute="#CRLF#":""
  587. IfMatch=^.+$
  588. IfMatchAction=[!Log "Found wireless adapter: [MeasureRunGetWireless]" Notice]
  589. FinishAction=[!SetVariable InterfaceWireless [MeasureRunGetWireless]][!WriteKeyValue Variables InterfaceWireless "[MeasureRunGetWireless]" "#@#NetworkVariables.inc"][!WriteKeyValue Variables InterfaceAutoConfig 0 "#@#NetworkVariables.inc"][!Log "Network interface auto-config completed, restarting!" Notice][!Refresh]
  590.  
  591. ;///////////////////////////////////////////////////////////////////////////////////////////////////
  592. ;                                               Meters
  593. ;///////////////////////////////////////////////////////////////////////////////////////////////////
  594.  
  595. ;--------------------------------------- Background and Logo ---------------------------------------
  596.  
  597. [MeterBackgroundBase]
  598. Meter=Image
  599. SolidColor=0,0,0,1
  600. Antialias=1
  601. X=0
  602. Y=0
  603. W=(#BgWidth# * #Scale#)
  604. H=(#BgHeight# * #Scale#)
  605. UpdateDivider=-1
  606.  
  607. [MeterBackgroundFrame1]
  608. Meter=Image
  609. SolidColor=0,0,0,((#BgStyle# = 0) ? #BgAlpha# / 2 : ((#BgStyle# = 1) ? #BgAlpha# / 3 : 0))
  610. Antialias=1
  611. X=(4 - 1)
  612. Y=(4 - 1)
  613. W=(#BgWidth# - 8)
  614. H=(#BgHeight# - 8)
  615. UpdateDivider=-1
  616. TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
  617.  
  618. [MeterBackgroundFrame2]
  619. Meter=Image
  620. SolidColor=0,0,0,((#BgStyle# = 0) ? #BgAlpha# : ((#BgStyle# = 1) ? #BgAlpha# / 3 : 0))
  621. Antialias=1
  622. X=(5 - 1)
  623. Y=(5 - 1)
  624. W=(#BgWidth# - 10)
  625. H=(#BgHeight# - 10)
  626. UpdateDivider=-1
  627. TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
  628.  
  629. [MeterBackgroundFrame3]
  630. Meter=Image
  631. SolidColor=((#BgStyle# = 0) ? 164 : 0),((#BgStyle# = 0) ? 160 : 0),((#BgStyle# = 0) ? 160 : 0),((#BgStyle# = 0) ? #BgAlpha# : ((#BgStyle# = 1) ? #BgAlpha# / 3 : #BgAlpha#))
  632. Antialias=1
  633. X=(6 - 1)
  634. Y=(6 - 1)
  635. W=(#BgWidth# - 12)
  636. H=(#BgHeight# - 12)
  637. UpdateDivider=-1
  638. TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
  639.  
  640. [MeterBackgroundFill]
  641. Meter=Image
  642. SolidColor=((#BgStyle# = 0) ? 70 : 0),((#BgStyle# = 0) ? 70 : 0),((#BgStyle# = 0) ? 70 : 0),#BgAlpha#
  643. SolidColor2=0,0,0,#BgAlpha#
  644. GradientAngle=90
  645. Antialias=1
  646. X=(7 - 1)
  647. Y=(7 - 1)
  648. W=(#BgWidth# - 14)
  649. H=(#BgHeight# - 14)
  650. UpdateDivider=-1
  651. TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
  652.  
  653. [MeterNetworkImage]
  654. Meter=Image
  655. ImageName="#@#Network.png"
  656. ImageCrop=(72 * #NetworkFrame#),0,72,72,1
  657. ImageAlpha=255
  658. AntiAlias=1
  659. X=#TextPosX#
  660. Y=7
  661. W=30
  662. H=30
  663. DynamicVariables=1
  664. TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
  665.  
  666. [MeterInternetImage]
  667. Meter=Image
  668. ImageName="#@#NetworkInternet.png"
  669. Antialias=1
  670. X=(#BgWidth# - 24)
  671. Y=8
  672. W=13
  673. H=13
  674. Hidden=1
  675. TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
  676.  
  677. [MeterNoInternetImage]
  678. Meter=Image
  679. ImageName="#@#NetworkNoInternet.png"
  680. Antialias=1
  681. X=(#BgWidth# - 23)
  682. Y=8
  683. W=13
  684. H=13
  685. Hidden=0
  686. TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
  687.  
  688. ;---------------------------------------------- Text -----------------------------------------------
  689.  
  690. [MeterTitleText]
  691. Meter=String
  692. FontColor=#ColorFontTitle#
  693. FontSize=#FontSize2#
  694. FontFace=#FontName#
  695. StringAlign=Center
  696. StringStyle=Bold
  697. AntiAlias=1
  698. Text="Network Meter"
  699. X=(Max(#BgWidth# / 2, 87))
  700. Y=5
  701. UpdateDivider=-1
  702. TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
  703.  
  704. [MeterNetMaxSpeed]
  705. Meter=String
  706. MeasureName=MeasureMaxBitsPerSec
  707. FontColor=#ColorFontSubtitle#
  708. FontSize=#FontSize1#
  709. FontFace=#FontName#
  710. StringAlign=Left
  711. AntiAlias=1
  712. AutoScale=1k
  713. Text="Peak: %1bit/s"
  714. X=(41 + #AccTextOffset#)
  715. Y=15r
  716. TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
  717.  
  718. [MeterSettingsButton]
  719. Meter=Image
  720. ImageName="#@#Settings.png"
  721. ImageAlpha=0
  722. Antialias=1
  723. X=(#BgWidth# - 23)
  724. Y=2r
  725. W=12
  726. H=12
  727. UpdateDivider=-1
  728. TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
  729.  
  730. ;-------------------------------- IP addresses --------------------------------
  731.  
  732. [MeterInternalIPText]
  733. Meter=String
  734. MeterStyle=StyleTextNetInfo
  735. FontColor=#ColorInfoText1#
  736. Text="Int IP:"
  737. X=(#TextPosX# + #AccTextOffset#)
  738. Y=38
  739. UpdateDivider=-1
  740.  
  741. [MeterInternalIPValue]
  742. Meter=String
  743. MeasureName=MeasureIPLan
  744. MeterStyle=StyleTextNetInfo
  745. FontColor=#ColorInfoText1#
  746. Text="%1"
  747. X=(#TextPosX# + 32 + #AccTextOffset#)
  748. Y=0r
  749.  
  750. [MeterExternalIPText]
  751. Meter=String
  752. MeterStyle=StyleTextNetInfo
  753. FontColor=#ColorInfoText1#
  754. Text="Ext IP:"
  755. X=(#TextPosX# + #AccTextOffset#)
  756. Y=12r
  757. UpdateDivider=-1
  758.  
  759. [MeterExternalIPValue]
  760. Meter=String
  761. MeasureName=MeasureIPWeb
  762. MeterStyle=StyleTextNetInfo
  763. FontColor=#ColorInfoText1#
  764. ClipString=1
  765. Text="%1"
  766. W=(#BgWidth# - 14 - 50)
  767. H=14
  768. X=(#TextPosX# + 32 + #AccTextOffset#)
  769. Y=0r
  770.  
  771. [MeterRefreshExtIPButton]
  772. Meter=Image
  773. ImageName="#@#RefreshUp.png"
  774. Antialias=1
  775. X=(#BgWidth# - 24)
  776. Y=1r
  777. W=14
  778. H=14
  779. TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
  780.  
  781. ;------------------------------- mouse regions --------------------------------
  782.  
  783. [MeterNetworkImageMouseRegion]
  784. Meter=Image
  785. Solidcolor=0,0,0,0
  786. X=([MeterNetworkImage:X] * #Scale#)
  787. Y=([MeterNetworkImage:Y] * #Scale#)
  788. W=([MeterNetworkImage:W] * #Scale#)
  789. H=([MeterNetworkImage:H] * #Scale#)
  790. ToolTipTitle=[MeasureInterfaceName]
  791. ToolTipIcon=Info
  792. ToolTipText=[MeasureAdapterName]
  793. DynamicVariables=1
  794.  
  795. [MeterSettingsButtonMouseRegion]
  796. Meter=Image
  797. Solidcolor=0,0,0,0
  798. X=([MeterSettingsButton:X] * #Scale#)
  799. Y=([MeterSettingsButton:Y] * #Scale#)
  800. W=([MeterSettingsButton:W] * #Scale#)
  801. H=([MeterSettingsButton:H] * #Scale#)
  802. LeftMouseUpAction=[!ToggleConfig "#CURRENTCONFIG#\Config" "Settings.ini"]
  803. UpdateDivider=-1
  804.  
  805. [MeterExternalIPValueMouseRegion]
  806. Meter=Image
  807. Solidcolor=0,0,0,0
  808. X=([MeterExternalIPValue:X] * #Scale#)
  809. Y=([MeterExternalIPValue:Y] * #Scale#)
  810. W=([MeterExternalIPValue:W] * #Scale#)
  811. H=([MeterExternalIPValue:H] * #Scale#)
  812. LeftMouseUpAction=["http://addgadgets.com/ipaddress/"]
  813. MouseOverAction=[!SetOption MeterExternalIPValue FontColor #PaletteColor4#][!UpdateMeter "MeterExternalIPValue"][!Redraw]
  814. MouseLeaveAction=[!SetOption MeterExternalIPValue FontColor #ColorInfoText1#][!UpdateMeter "MeterExternalIPValue"][!Redraw]
  815. UpdateDivider=-1
  816.  
  817. [MeterRefreshExtIPButtonMouseRegion]
  818. Meter=Image
  819. Solidcolor=0,0,0,0
  820. X=([MeterRefreshExtIPButton:X] * #Scale#)
  821. Y=([MeterRefreshExtIPButton:Y] * #Scale#)
  822. W=([MeterRefreshExtIPButton:W] * #Scale#)
  823. H=([MeterRefreshExtIPButton:H] * #Scale#)
  824. LeftMouseUpAction=[!SetOption MeterRefreshExtIPButton ImageName "#@#RefreshUp.png"][!UpdateMeter MeterRefreshExtIPButton][!Redraw][!Log "Refreshing external IP" Notice][!CommandMeasure MeasureIPWeb "Reset"][!CommandMeasure MeasureIPWeb "Update"]
  825. MouseOverAction=[!SetOption MeterRefreshExtIPButton ImageName "#@#RefreshOver.png"][!UpdateMeter MeterRefreshExtIPButton][!Redraw]
  826. LeftMouseDownAction=[!SetOption MeterRefreshExtIPButton ImageName "#@#RefreshDown.png"][!UpdateMeter MeterRefreshExtIPButton][!Redraw]
  827. MouseLeaveAction=[!SetOption MeterRefreshExtIPButton ImageName "#@#RefreshUp.png"][!UpdateMeter MeterRefreshExtIPButton][!Redraw]
  828. UpdateDivider=-1
  829.  
  830. ;----------------------------- upload / download ------------------------------
  831.  
  832. [MeterUploadArrow2]
  833. Meter=Image
  834. MeterStyle=StyleArrowUp
  835. ImageTint=#PaletteColor1#
  836. X=#TextPosX#
  837. Y=64
  838.  
  839. [MeterUploadText2]
  840. Meter=String
  841. MeterStyle=StyleTextNetInfo
  842. FontColor=#PaletteColor1#
  843. Text="#TextNetOut#B/s"
  844. X=(#BgWidth# - 138)
  845. Y=63
  846. DynamicVariables=1
  847.  
  848. [MeterDownloadArrow2]
  849. Meter=Image
  850. MeterStyle=StyleArrowDown
  851. ImageTint=#PaletteColor2#
  852. X=#TextPosX#
  853. Y=78
  854.  
  855. [MeterDownloadText2]
  856. Meter=String
  857. MeterStyle=StyleTextNetInfo
  858. FontColor=#PaletteColor2#
  859. Text="#TextNetIn#B/s"
  860. X=(#BgWidth# - 138)
  861. Y=76
  862. DynamicVariables=1
  863.  
  864. ;--------------------------------------
  865.  
  866. [MeterCurrentBytesText]
  867. Meter=String
  868. MeterStyle=StyleTextNetInfo
  869. FontColor=#ColorInfoText1#
  870. Text="Current"
  871. X=(20 + #AccTextOffset#)
  872. Y=(#BgHeight# - 48)
  873. UpdateDivider=-1
  874.  
  875. [MeterRefreshCurrentButton]
  876. Meter=Image
  877. ImageName="#@#RefreshUp.png"
  878. Antialias=1
  879. X=60
  880. Y=1r
  881. W=14
  882. H=14
  883. TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
  884.  
  885. [MeterRefreshCurrentButtonMouseRegion]
  886. Meter=Image
  887. Solidcolor=0,0,0,0
  888. X=([MeterRefreshCurrentButton:X] * #Scale#)
  889. Y=([MeterRefreshCurrentButton:Y] * #Scale#)
  890. W=([MeterRefreshCurrentButton:W] * #Scale#)
  891. H=([MeterRefreshCurrentButton:H] * #Scale#)
  892. LeftMouseUpAction=[!SetOption MeterRefreshCurrentButton ImageName "#@#RefreshUp.png"][!UpdateMeter MeterRefreshCurrentButton][!Redraw][!Log "Resetting session network statistics" Notice][!UpdateMeasure "MeasureNetInBytesBase"][!UpdateMeasure "MeasureNetOutBytesBase"]
  893. MouseOverAction=[!SetOption MeterRefreshCurrentButton ImageName "#@#RefreshOver.png"][!UpdateMeter MeterRefreshCurrentButton][!Redraw]
  894. LeftMouseDownAction=[!SetOption MeterRefreshCurrentButton ImageName "#@#RefreshDown.png"][!UpdateMeter MeterRefreshCurrentButton][!Redraw]
  895. MouseLeaveAction=[!SetOption MeterRefreshCurrentButton ImageName "#@#RefreshUp.png"][!UpdateMeter MeterRefreshCurrentButton][!Redraw]
  896.  
  897. [MeterTotalBytesText]
  898. Meter=String
  899. MeterStyle=StyleTextNetInfo
  900. FontColor=#ColorInfoText1#
  901. Text="Total"
  902. X=(#BgWidth# - 69 + #AccTextOffset#)
  903. Y=(#BgHeight# - 48)
  904. UpdateDivider=-1
  905.  
  906. [MeterRefreshTotalButton]
  907. Meter=Image
  908. ImageName="#@#RefreshUp.png"
  909. Antialias=1
  910. X=(#BgWidth# - 42)
  911. Y=1r
  912. W=14
  913. H=14
  914. TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
  915.  
  916. [MeterRefreshTotalButtonMouseRegion]
  917. Meter=Image
  918. Solidcolor=0,0,0,0
  919. X=([MeterRefreshTotalButton:X] * #Scale#)
  920. Y=([MeterRefreshTotalButton:Y] * #Scale#)
  921. W=([MeterRefreshTotalButton:W] * #Scale#)
  922. H=([MeterRefreshTotalButton:H] * #Scale#)
  923. LeftMouseUpAction=[!SetOption MeterRefreshTotalButton ImageName "#@#RefreshUp.png"][!UpdateMeter MeterRefreshTotalButton][!Redraw][!Log "Resetting all network statistics" Notice][!ResetStats][!RefreshGroup NetworkMeter]
  924. MouseOverAction=[!SetOption MeterRefreshTotalButton ImageName "#@#RefreshOver.png"][!UpdateMeter MeterRefreshTotalButton][!Redraw]
  925. LeftMouseDownAction=[!SetOption MeterRefreshTotalButton ImageName "#@#RefreshDown.png"][!UpdateMeter MeterRefreshTotalButton][!Redraw]
  926. MouseLeaveAction=[!SetOption MeterRefreshTotalButton ImageName "#@#RefreshUp.png"][!UpdateMeter MeterRefreshTotalButton][!Redraw]
  927.  
  928. [MeterUploadArrow3]
  929. Meter=Image
  930. MeterStyle=StyleArrowUp
  931. ImageTint=#PaletteColor1#
  932. X=#TextPosX#
  933. Y=(#BgHeight# - 34)
  934.  
  935. [MeterUploadArrow4]
  936. Meter=Image
  937. MeterStyle=StyleArrowUp
  938. ImageTint=#PaletteColor1#
  939. X=(#BgWidth# - 81)
  940. Y=0r
  941.  
  942. [MeterCurrentBytesUp]
  943. Meter=String
  944. MeterStyle=StyleTextNetInfo
  945. FontColor=#PaletteColor1#
  946. Text="#TextNetOutBytesCurrent#B"
  947. X=(20 + #AccTextOffset#)
  948. Y=-2r
  949. DynamicVariables=1
  950.  
  951. [MeterTotalBytesUp]
  952. Meter=String
  953. MeterStyle=StyleTextNetInfo
  954. FontColor=#PaletteColor1#
  955. Text="#TextNetOutBytesTotal#B"
  956. X=(#BgWidth# - 69 + #AccTextOffset#)
  957. Y=0r
  958. DynamicVariables=1
  959.  
  960. [MeterDownloadArrow3]
  961. Meter=Image
  962. MeterStyle=StyleArrowDown
  963. ImageTint=#PaletteColor2#
  964. X=#TextPosX#
  965. Y=14r
  966.  
  967. [MeterDownloadArrow4]
  968. Meter=Image
  969. MeterStyle=StyleArrowDown
  970. ImageTint=#PaletteColor2#
  971. X=(#BgWidth# - 81)
  972. Y=0r
  973.  
  974. [MeterCurrentBytesDown]
  975. Meter=String
  976. MeterStyle=StyleTextNetInfo
  977. FontColor=#PaletteColor2#
  978. Text="#TextNetInBytesCurrent#B"
  979. X=(20 + #AccTextOffset#)
  980. Y=-2r
  981. DynamicVariables=1
  982.  
  983. [MeterTotalBytesDown]
  984. Meter=String
  985. MeterStyle=StyleTextNetInfo
  986. FontColor=#PaletteColor2#
  987. Text="#TextNetInBytesTotal#B"
  988. X=(#BgWidth# - 69 + #AccTextOffset#)
  989. Y=0r
  990. DynamicVariables=1
  991.  
  992. --------------------------------------------------------------PING
  993.  
  994. [Rainmeter]
  995. Update=100
  996. BackgroundMode=2
  997. SolidColor=0,0,0,255
  998.  
  999. [MeasurePing]
  1000. Measure=Plugin
  1001. Plugin=PingPlugin
  1002. DestAddress=www.google.es
  1003.  
  1004. [MeterPing]
  1005. Meter=String
  1006. MeasureName=MeasurePing
  1007. X=110
  1008. Y=80
  1009. W=200
  1010. H=20
  1011. FontColor=255,255,255,255
  1012. Text=%1ms
  1013.  
  1014.  
  1015. ;---------------------------------------------- Graph ----------------------------------------------
  1016.  
  1017. [GraphBackground]
  1018. Meter=Image
  1019. ImageName="#@#Grid.png"
  1020. DynamicVariables=1
  1021. Antialias=1
  1022. X=#TextPosX#
  1023. Y=(#BgHeight# - 90)
  1024. W=(#BgWidth# - 18)
  1025. H=42
  1026. ImageAlpha=70
  1027. TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
  1028.  
  1029. ; NOTE: draw graph lines from last to first for better appearance
  1030. [MeterGraph]
  1031. Meter=Line
  1032. MeterStyle=StyleGraph
  1033. MeasureName=MeasureNetInGraph
  1034. MeasureName2=MeasureNetOutGraph
  1035. LineCount=2
  1036. LineColor=#PaletteColor2#
  1037. LineColor2=#PaletteColor1#
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top