How to refresh widget text with an action script and not with option given in the widget itself to refresh every "x" time.
I don't know how to use refresh widget in the script action given.
Refresh widget text
Moderator: Martin
Re: Refresh widget text
You can use functions refreshWitget() or setWidgetElementProperty()
Regards, piskor
-
- Posts: 90
- Joined: 12 Feb 2016 03:23
Re: Refresh widget text
By using refreshwidget() , my flow ended with an error.
Error - method not supported
Error - method not supported
Re: Refresh widget text
refreshWidget(widgetName, reloadImages)
refreshWidget(String widgetName, Boolean reloadImages)
Refreshes the widget and optionally also reloads images.
refreshWidget(String widgetName, Boolean reloadImages)
Refreshes the widget and optionally also reloads images.
-
- Posts: 90
- Joined: 12 Feb 2016 03:23
Re: Refresh widget text
I don't have any image in one widget and in another i have lots of images, so how to do that?
Re: Refresh widget text
refreshWidget(widgetWithImagesName, true)
refreshWidget(widgetWithoutImagesName, false)
refreshWidget(widgetWithoutImagesName, false)
Regards, piskor