Page 1 of 1

new schedule.add_record should return the index of the new record

Posted: Wed Feb 26, 2025 10:08 pm
by EvilPLa
TL;DR
The new

Code: Select all

schedule.add_record()
should return the index of the new record. Unlike in the ui you don't acually see where the record is located. Temp records go in the current position, but the "current" value gets changed.
It would just make sense to return the index of the new record.

The docs should als mention that this new record comes already with the default wait condition for the type

Re: new schedule.add_record should return the index of the new record

Posted: Thu Feb 27, 2025 2:09 am
by Rseding91
Ok