I made a watchface with a button to change to background of the watchface,
Is it possible to also change the AOD background together with the normal watchface or
is it possible make a button to only change the AOD background?
-
- Administrator
-
-
Support Ukraine
If you experience any problems with the forum (it is not visible, there is no way to post messages, or some functionality does not work), please let us know. If you have problems with registration or you did not receive confirmation letter, let us know and we will activate your account manually.
If you get an "The submitted form was invalid. Try submitting again" error, delete cookies, then try again.
button change background watchface
Forum rules
When adding a new topic, use the template: Topic title [device name]
For example: How to create watch face [GTR 3 Pro]
All communication in this branch should only be in English.
When adding a new topic, use the template: Topic title [device name]
For example: How to create watch face [GTR 3 Pro]
All communication in this branch should only be in English.
- asoo
- Posts: 2130
- Joined: 03 Jan 2019, 01:48
- Location: ͼͽ Thailand ͼͽ
- Has thanked: 411 times
- Been thanked: 2050 times
if you want to change the AOD background together with the normal watchface. , you must to use something like thisAnoniem wrote: 28 Apr 2024, 08:28I made a watchface with a button to change to background of the watchface,
Is it possible to also change the AOD background together with the normal watchface or
is it possible make a button to only change the AOD background?
Code: Select all
hmFS.SysProSetInt('js_test_int', 123)You can read in the documentation how to use this function correctly and how to read the data afterwards
https://docs-testing.zepp.com/docs/1.0/ ... ProSetInt/
This is a sample watchface. When you select a background on the main page, when you enter AOD, the background of AOD will be the same as the background of the main page.
( select color background by click on the center screen )
This watch face is used to show examples of usage. hmFS.SysProSetInt only
Script may not be cover all function.
I recommend that you see more information at the previous link.
Download watchface example
This watchface make for "Amazfit balance" but it can convert to other device in zeppOS by use Sasha's Editor ( Version 10.4 or higher )
ͼͽ To request please use the interrelated forum in action ͼͽ
Please do not PM to me for requests ported watchface.
Please do not PM to me for requests ported watchface.
-
Anoniem
- WF maker
- Posts: 41
- Joined: 03 May 2022, 17:55
- Location: Enkhuizen
- Has thanked: 1 time
- Been thanked: 2 times
- Contact:
Thanks asoo, its working,
I used your example and copy/paste it into the watchface you created for me a time ago and its working, even the hands changed in AOD
I used your example and copy/paste it into the watchface you created for me a time ago and its working, even the hands changed in AOD
- Attachments
-
iwf_h2_1.2_AOD2.zip- (1.06 MiB) Downloaded 94 times
- asoo
- Posts: 2130
- Joined: 03 Jan 2019, 01:48
- Location: ͼͽ Thailand ͼͽ
- Has thanked: 411 times
- Been thanked: 2050 times
I'm glad that the code I showed as an example can allow you to do the operations you want.Anoniem wrote: 29 Apr 2024, 16:12Thanks asoo, its working,
I used your example and copy/paste it into the watchface you created for me a time ago and its working, even the hands changed in AOD
Have fun creating your work.
ͼͽ To request please use the interrelated forum in action ͼͽ
Please do not PM to me for requests ported watchface.
Please do not PM to me for requests ported watchface.
Who is online
Users browsing this forum: No registered users and 0 guests