Duration field script

57 views
Skip to first unread message

karam mohammed 1

unread,
Nov 9, 2025, 7:27:27 PM (9 days ago) Nov 9
to mementodatabase
Hello, I need to Create an Entry Action script that asks mefor a Duration value (via an argument) and then uses this input to set the value of the 'Duration' field in the currently opened entry.

karam mohammed 1

unread,
Nov 9, 2025, 7:33:16 PM (9 days ago) Nov 9
to mementodatabase
Aurgments are not Duration but are two single choice list as 3 and 5 . So duration field must be set to 2

Mmm

unread,
Nov 10, 2025, 3:22:23 AM (9 days ago) Nov 10
to mementodatabase
Результат 2 – это время в  миллисекундах.

Чтобы получить результат "2 минуты" нужно 2 умножить на 60000.
Чтобы получить результат "20 минут" нужно 2 умножить на 600000.

понедельник, 10 ноября 2025 г. в 03:33:16 UTC+3, kara...@gmail.com:

karam mohammed 1

unread,
Nov 10, 2025, 7:24:31 AM (9 days ago) Nov 10
to mementodatabase
Thank you very much . It worked perfect . I really appreciate your assistance 
Reply all
Reply to author
Forward
0 new messages