I'm trying to write a function that displays multiple reminders.
It's easy to create a script that shows a tooltip or a msgbox after a certain time using "SetTimer" command, but the problem arises when I want to create multiple reminders.
Since all the reminders created with the function would call the same "SetTimer" label, they would interfere with each other. The first reminder that runs would delete the timer and subsequently, all upcoming reminders.
I thought of creating a dynamic name for each reminder like this:
Code: Select all
ReminderLabel:= "Reminder_" A_Now
SetTimer, %ReminderLabel%, %Remindertime%
Code: Select all
%Reminderlabel%:
{
msgbox, this is the reminder's text
SetTimer, %ReminderLabel%, Delete
}
Any help would be much appreciated.