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

Help with click shortcuts [GTR 3]

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 [GTR 3 Pro]
All communication in this branch should only be in English.
Post Reply
jorixine
Posts: 17
Joined: 18 Dec 2021, 11:45
Location: bsas
Has thanked: 5 times
Been thanked: 1 time
Contact:

Help with click shortcuts [GTR 3]

Post by jorixine »

Hello!

I've been playing around with a pipboy watchface.

Modified the index.js file to customize AOD and worked fine, then I wanted to add clicks (shortcuts) to heart, steps and weather data.

I copied the stanzas from another file that does that, modified the x and y axis and let the rest just about as it is.

The only click I got working is the weather, no matter where do I put my finger for the rest, it won't open heart nor steps.

I'll upload the zip file, could any of you give me a hand on this ?

Thanks!
Attachments
pipboygtr3_shortcuts.zip
(350.13 KiB) Downloaded 101 times
User avatar
asoo
Posts: 2117
Joined: 03 Jan 2019, 01:48
Location: ͼͽ Thailand ͼͽ
Has thanked: 409 times
Been thanked: 2035 times

Post by asoo »

I'm not sure if the problem is with clock script arrangement requirements or not, as far as i know if you write day-month-year script after the script that has a shortcut, sometimes the shortcut won't work. To fix it, move the day-month-year script to the top of the script that have shortcut. I recommended to put it after the script TIME.

You can see an example of editing the script in the file I've edited.
pipboygtr3_shortcuts.zip
(352.86 KiB) Downloaded 136 times
ͼͽ To request please use the interrelated forum in action ͼͽ
Please do not PM to me for requests ported watchface.
jorixine
Posts: 17
Joined: 18 Dec 2021, 11:45
Location: bsas
Has thanked: 5 times
Been thanked: 1 time
Contact:

Post by jorixine »

Just tested... It works fine now. Weird thing.

There's a little hand appearing when I click on it, that's new right?

The "clickable" area is defined after the positioning right?
User avatar
asoo
Posts: 2117
Joined: 03 Jan 2019, 01:48
Location: ͼͽ Thailand ͼͽ
Has thanked: 409 times
Been thanked: 2035 times

Post by asoo »

jorixine wrote: 27 Dec 2021, 18:30
Just tested... It works fine now. Weird thing.

1) There's a little hand appearing when I click on it, that's new right?

2) The "clickable" area is defined after the positioning right?
1)
Little hand is a image you can change it , in this case it is image number 128.png

2)
x, y = Coordinate to put image for icon click and start point for click area
h,w = area for use click and show click icon
ͼͽ 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 0 guests