• 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.
     

Touching screen switch shown data

Topics related to the creation, development, and designing of the watch faces.

Moderators: asoo, Watchmens

Forum rules
When adding a new topic, use the template: Topic title [device name]
For example: How to create watch face [T-Rex Pro]
All communication in this branch should only be in English.
Post Reply
Krunky
Posts: 2
Joined: 03 Apr 2020, 08:21
Location: Hungary
Contact:

Touching screen switch shown data

Post by Krunky »

Is it possible for T-Rex 3, that as I touch a specific part of the screen it switches in between showing the digital time and on a nother touch it shows the date and day? Unfortunately I couldn't do this yet. Can anyone help, please? :)

Thank You! :)
User avatar
asoo
Posts: 2113
Joined: 03 Jan 2019, 01:48
Location: ͼͽ Thailand ͼͽ
Has thanked: 406 times
Been thanked: 2031 times

Post by asoo »

Krunky wrote: 15 Sep 2025, 17:14
Is it possible for T-Rex 3, that as I touch a specific part of the screen it switches in between showing the digital time and on a nother touch it shows the date and day? Unfortunately I couldn't do this yet. Can anyone help, please? :)

Thank You! :)
This can be done on T-Rex3, you need to write a custom script to handle the parts you want.

This is an example watchface that switches the time and date by clicking on the screen.
Download
AnimationLKsmall.gif
AnimationLKsmall.gif (66.55 KiB) Viewed 989 times
Time_Date_Trex3.zip
(97.15 KiB) Downloaded 50 times
You can unpack this watchface file using program "Watch Face Editor for Amazfit watches on ZeppOS."
viewtopic.php?p=11643#p11643
For see the custom script and editing,
ͼͽ To request please use the interrelated forum in action ͼͽ
Please do not PM to me for requests ported watchface.
Krunky
Posts: 2
Joined: 03 Apr 2020, 08:21
Location: Hungary
Contact:

Post by Krunky »

Thanks for the help, but I'm unable to figure it out... :(
May You be so kind to help me put the correct code to my json?
I used SashaCX75's editor to put everything together but I dumbass in programming.
User avatar
asoo
Posts: 2113
Joined: 03 Jan 2019, 01:48
Location: ͼͽ Thailand ͼͽ
Has thanked: 406 times
Been thanked: 2031 times

Post by asoo »

Krunky wrote: 17 Sep 2025, 17:11
Thanks for the help, but I'm unable to figure it out... :(
May You be so kind to help me put the correct code to my json?
I used SashaCX75's editor to put everything together but I dumbass in programming.
If you want to add a custom script, you must add it to index.js. you can find "index.js" in the watch face .zip file.
The .json file you mentioned is likely just a script that the editor provides to store details for creating the watch face. You won't find custom scripts in .json.

If you want to request to modify or create watchface, I suggest you start a new topic
in Trex's "Watchface Creation (Order Table) forum"
viewforum.php?f=123
and attach your watchface file with the modification request.
If I have time, I'll try it out, or maybe have someone else can help you.
ͼͽ To request please use the interrelated forum in action ͼͽ
Please do not PM to me for requests ported watchface.
Post Reply

Return to “Watchfaces discussion”

Who is online

Users browsing this forum: No registered users and 1 guest