Now if I lose the internet, meterConnectionIcon and DNS part of meterNetworkInfo change accordinly (once the skin refreshes). However, the WAN IP part doesn't change. What's the best way of getting it to update? It seems measureConnection is reliable, but would an OnChange function suffice? I already tried it and it didn't work, so I'm guessing UpdateRate takes precendence?
balala wrote:Try to add an OnChangeAction=[!CommandMeasure "measureWAN" "Reset"] option to the [measureConnection] measure.
Hmm, odd. This worked when I disabled my ethernet...but it didn't work when I enabled it. I've no idea why that would happen, as on both accounts, the [measureConnection] measure changes.
DanielPodo wrote:Hmm, odd. This worked when I disabled my ethernet...but it didn't work when I enabled it. I've no idea why that would happen, as on both accounts, the [measureConnection] measure changes.
Yeah, you're right. Add to the previous OnChangeAction option the following bang: [!CommandMeasure "measureWAN" "Update"] (into the [measureConnection] measure). This way, you'll have the following option: OnChangeAction=[!CommandMeasure "measureWAN" "Reset"][!CommandMeasure "measureWAN" "Update"].
Merry Christmas.
balala wrote:Yeah, you're right. Add to the previous OnChangeAction option the following bang: [!CommandMeasure "measureWAN" "Update"] (into the [measureConnection] measure). This way, you'll have the following option: OnChangeAction=[!CommandMeasure "measureWAN" "Reset"][!CommandMeasure "measureWAN" "Update"].
Merry Christmas.