Difference between revisions of "Action: Alarm Clock"

m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== About ==
+
<span style="color: #1665b0; font-size: 24px;">'''About this action'''</span>
 
 
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
This action allows you to set an alarm for your alarm clock application.
 
This action allows you to set an alarm for your alarm clock application.
 
</pre>
 
</pre>
'''''Note'''''
+
<span style="color: #1665b0; font-size: 24px;">'''Please note that'''</span>
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
<pre style="background-color: #FFFF99; color: #112A46; border-radius: 10px; padding: 10px;">
That this action relies on sending intents to your Alarm Clock application so it relies on the Alarm Clock correctly handling these intents.
+
This action relies on sending intents to your Alarm Clock application so it relies on the Alarm Clock correctly handling these intents.
  
 
Not all clock apps handle these intents, so in this case the action will not function.
 
Not all clock apps handle these intents, so in this case the action will not function.
</pre><br/>
 
==<p><b>Configuration available</b></p>==
 
 
=== Set alarm ===
 
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
Sets an alarm to sound at a specific time and date. You can set single or recurring alarms.
 
</pre><br/>
 
 
* ''''' Alarm type:'''''
 
 
''''' One off'''''
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
An alarm that will only be triggered once.
 
</pre>
 
 
''''' Repeated'''''
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
Alarm that may be repeated on certain days of the week.
 
This configuration only allows you to select days of the week and time of activation.
 
</pre><br/>
 
 
* ''''' Alarm time:'''''
 
 
''''' Fixed alarm'''''
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
Allows you to set a one-time fixed alarm for a specific day and time.
 
 
</pre>
 
</pre>
 
''''' Relative '''''
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
Determined from the time this action was used.
 
For example if the current time is 10:00 am, the 1 hour alarm will sound at 11:00 am.
 
</pre>
 
 
''''' Time until alarm'''''
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
Available for relative alarm only.
 
Admits the use of variable only of type Integer (only in minutes, for example for 3 hours is 180 (Minutes)).
 
</pre><br/>
 
 
=== Dismiss active alarm ===
 
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
Cancels an alarm that is already sounding.
 
No additional adjustment is required.
 
</pre><br/>
 
 
=== Disable alarm ===
 
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
Disable an alarm so that it will not sound in the future.
 
You only need to enter the name of the label you wish to deactivate.
 
</pre><br/>
 
 
==<p><b>Example</b></p>==
 
 
''''' Remind me to take the following pills in 8 hours, use the trigger of your choice, every time you activate the macro, you will get an alarm within 8 hours. '''''
 
<br>
 
 
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
 
Triggers
 
 
Empty Trigger
 
</pre><br>
 
 
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 
Actions
 
 
Set alarm
 
[Take medicine] One off (Relative) - Time
 
</pre>
 
 
<pre style="background-color: #387F3D; color: white; border-radius: 10px; padding: 10px;">
 
Constraints
 
 
</pre><br>
 
<pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;">
 
Local variables
 
 
Time (Integer) = 480
 
</pre><br>
 

Latest revision as of 22:16, 16 February 2024

About this action

This action allows you to set an alarm for your alarm clock application.

Please note that

This action relies on sending intents to your Alarm Clock application so it relies on the Alarm Clock correctly handling these intents.

Not all clock apps handle these intents, so in this case the action will not function.