Page 1 of 1

Help with click shortcuts [GTR 3]

Posted: 27 Dec 2021, 12:30
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!

Re: Help with click shortcuts [GTR 3]

Posted: 27 Dec 2021, 17:49
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

Re: Help with click shortcuts [GTR 3]

Posted: 27 Dec 2021, 18:30
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?

Re: Help with click shortcuts [GTR 3]

Posted: 28 Dec 2021, 00:38
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