Changes

Available without finished trigger.
Line 192: Line 192:  
am or pm depending on the time.
 
am or pm depending on the time.
 
</pre><br>
 
</pre><br>
 +
 +
=== Android version ===
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
{android_version}
 +
Returns the number of the android version.
 +
</pre><br>
 +
 +
=== Android version (SDK level) ===
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
{android_version_sdk}
 +
Returns the SDK level of the Android version.
 +
e.g. Android 14 has an SDK level of 34
 +
</pre><br>
 +
 +
=== Battery current now (mA) ===
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
{battery_current_now}
 +
Amount of electrical current flowing from the battery at this moment, measured in milliamps (mA)
 +
</pre><br>
 +
 
=== Battery temp ºC===
 
=== Battery temp ºC===
 +
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
{battery_temp}
 
{battery_temp}
 
Temperature in degrees Celsius e.g. 34°
 
Temperature in degrees Celsius e.g. 34°
 
</pre><br>
 
</pre><br>
 +
 
=== Cell connection type ===
 
=== Cell connection type ===
 
{cell_connection:type}
 
{cell_connection:type}
Line 202: Line 224:  
cell connection type e.g. 3g, 4g, 5g.
 
cell connection type e.g. 3g, 4g, 5g.
 
</pre><br>
 
</pre><br>
 +
 
=== Cell id ===
 
=== Cell id ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 208: Line 231:  
e.g. The cell identifier for a cell in New York City could be 310-200-0000. The LAC (310-200)
 
e.g. The cell identifier for a cell in New York City could be 310-200-0000. The LAC (310-200)
 
</pre><br>
 
</pre><br>
 +
 +
=== Cell tower signal strength ===
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
{cell_signal_strength}
 +
Returns the signal strength received by your mobile device from the nearest cell tower. It is expressed in units called decibels-milliwatts (dBm), with -50 dBm being the strongest signal and -110 dBm the weakest.
 +
</pre><br>
 +
 
=== Clipboard text ===
 
=== Clipboard text ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 213: Line 243:  
Gets the text from the clipboard.
 
Gets the text from the clipboard.
 
</pre><br>
 
</pre><br>
 +
 
=== Current battery % ===
 
=== Current battery % ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 218: Line 249:  
Current battery level (numbers only) e.g. '80'
 
Current battery level (numbers only) e.g. '80'
 
</pre><br>
 
</pre><br>
 +
 
=== Current brightness ===
 
=== Current brightness ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 223: Line 255:  
Current brightness level (numbers only) e.g. '50'
 
Current brightness level (numbers only) e.g. '50'
 
</pre><br>
 
</pre><br>
 +
 
=== Current brightness (Android 9+ alternative) ===
 
=== Current brightness (Android 9+ alternative) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 229: Line 262:  
alternative method for devices with android 9+
 
alternative method for devices with android 9+
 
</pre><br>
 
</pre><br>
 +
 
=== Current IP address ===
 
=== Current IP address ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 234: Line 268:  
Current IP in 172.217.12.141 format (randomly generated IP).
 
Current IP in 172.217.12.141 format (randomly generated IP).
 
</pre><br>
 
</pre><br>
 +
 
=== Current IP address (V6) ===
 
=== Current IP address (V6) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 239: Line 274:  
Current IP in format in 2001:0db8:85a3:0000:0000:8a2e:0370:7334 format (randomly generated IP).
 
Current IP in format in 2001:0db8:85a3:0000:0000:8a2e:0370:7334 format (randomly generated IP).
 
</pre><br>
 
</pre><br>
 +
 
=== Current volume (Alarm) ===
 
=== Current volume (Alarm) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 244: Line 280:  
Current volume level used for alarms.
 
Current volume level used for alarms.
 
</pre><br>
 
</pre><br>
 +
 
=== Current volume (Bluetooth voice) ===
 
=== Current volume (Bluetooth voice) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 249: Line 286:  
Current volume level used for multimedia/calls via Bluetooth.
 
Current volume level used for multimedia/calls via Bluetooth.
 
</pre><br>
 
</pre><br>
 +
 
=== Current volume (Media / Music) ===
 
=== Current volume (Media / Music) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 254: Line 292:  
Current volume level used for multimedia.
 
Current volume level used for multimedia.
 
</pre><br>
 
</pre><br>
 +
 
=== Current volume (Notification) ===
 
=== Current volume (Notification) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 259: Line 298:  
Current volume level used for notification alerts.
 
Current volume level used for notification alerts.
 
</pre><br>
 
</pre><br>
 +
 
=== Current volume (Ringer) ===
 
=== Current volume (Ringer) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 264: Line 304:  
Current volume level used for ringtone.
 
Current volume level used for ringtone.
 
</pre><br>
 
</pre><br>
 +
 
=== Current volume (System sounds) ===
 
=== Current volume (System sounds) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 269: Line 310:  
Current volume level used for system sounds e.g. screen unlocking and locking, touch sounds among others.
 
Current volume level used for system sounds e.g. screen unlocking and locking, touch sounds among others.
 
</pre><br>
 
</pre><br>
 +
 
=== Current volume (Voice call) ===
 
=== Current volume (Voice call) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 274: Line 316:  
Current volume level used when a call is in progress.
 
Current volume level used when a call is in progress.
 
</pre><br>
 
</pre><br>
 +
 
=== Day of the month ===
 
=== Day of the month ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 279: Line 322:  
Day of the month, includes 0 at the beginning (days 1 to 9) e.g. 04 or 24.
 
Day of the month, includes 0 at the beginning (days 1 to 9) e.g. 04 or 24.
 
</pre><br>
 
</pre><br>
 +
 
=== Day of the week ===
 
=== Day of the week ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 284: Line 328:  
Day of the week, e.g. Monday or Friday.
 
Day of the week, e.g. Monday or Friday.
 
</pre><br>
 
</pre><br>
 +
 +
=== Device manufacturer ===
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
{device_manufacturer}
 +
Brand name of your device.
 +
</pre><br>
 +
 +
=== Device model ===
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
{device_model}
 +
Model name of your device.
 +
</pre><br>
 +
 +
=== Device uptime ===
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
{uptime}
 +
Time that the device has been on (this time is reset if the device is restarted) in hour : minute : second.
 +
</pre><br>
 +
 +
=== Device uptime (s) ===
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
{uptime_secs}
 +
Time that the device has been on (this time is reset if the device is restarted) in seconds e.g. 3000s
 +
</pre><br>
 +
 
=== Device serial ===
 
=== Device serial ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 289: Line 358:  
Not available on android 10+.
 
Not available on android 10+.
 
</pre><br>
 
</pre><br>
 +
 
=== Dictionary/Array size ===
 
=== Dictionary/Array size ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 295: Line 365:  
e.g. to query the size of an array called "my_array" [0,1,2] it would look like this [size=my_array] the result would be 3.
 
e.g. to query the size of an array called "my_array" [0,1,2] it would look like this [size=my_array] the result would be 3.
 
</pre><br>
 
</pre><br>
 +
 
=== Foreground app name ===
 
=== Foreground app name ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 300: Line 371:  
Name of the application in the foreground, if you are in macrodroid, the output will be MacroDroid.
 
Name of the application in the foreground, if you are in macrodroid, the output will be MacroDroid.
 
</pre><br>
 
</pre><br>
 +
 
=== Foreground app package ===
 
=== Foreground app package ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 305: Line 377:  
Package of the application in the foreground, if you are in macrodroid, the output will be MacroDroid.
 
Package of the application in the foreground, if you are in macrodroid, the output will be MacroDroid.
 
</pre><br>
 
</pre><br>
 +
 
=== Hour of day ===
 
=== Hour of day ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 310: Line 383:  
Time of day in 24h format.
 
Time of day in 24h format.
 
</pre><br>
 
</pre><br>
 +
 
=== Hour of day (12h) ===
 
=== Hour of day (12h) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 315: Line 389:  
Time of day in 12h format.
 
Time of day in 12h format.
 
</pre><br>
 
</pre><br>
 +
 
=== Hour of day (Leanding zero) ===
 
=== Hour of day (Leanding zero) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 320: Line 395:  
Time of day in 24h format, includes leading zero.
 
Time of day in 24h format, includes leading zero.
 
</pre><br>
 
</pre><br>
 +
 
=== IMEI ===
 
=== IMEI ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 325: Line 401:  
Obtains the IMEI number, since Android 10+ this information is no longer available.
 
Obtains the IMEI number, since Android 10+ this information is no longer available.
 
</pre><br>
 
</pre><br>
 +
 +
=== Language code ===
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
{language_code}
 +
Language code used e.g. English is 'en'
 +
</pre><br>
 +
 
=== Last known location (accuracy meters) ===
 
=== Last known location (accuracy meters) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 330: Line 413:  
Obtains the precision of the most recent known location, for example 10 meters, due to different causes the GPS may have a greater or lesser margin of positioning error, useful to know how precise the last known location is.
 
Obtains the precision of the most recent known location, for example 10 meters, due to different causes the GPS may have a greater or lesser margin of positioning error, useful to know how precise the last known location is.
 
</pre><br>
 
</pre><br>
 +
 
=== Last known location (altitude) ===
 
=== Last known location (altitude) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 335: Line 419:  
Gets the altitude above sea level of the last known location.
 
Gets the altitude above sea level of the last known location.
 
</pre><br>
 
</pre><br>
 +
 
=== Last known location (lat) ===
 
=== Last known location (lat) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 340: Line 425:  
Gets the latitude above sea level of the last known location.
 
Gets the latitude above sea level of the last known location.
 
</pre><br>
 
</pre><br>
 +
 
=== Last known location (lat,lon) ===
 
=== Last known location (lat,lon) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 345: Line 431:  
Gets the latitude and longitude above sea level of the last known location separated by ',' e.g. 23.44325,-23.215252
 
Gets the latitude and longitude above sea level of the last known location separated by ',' e.g. 23.44325,-23.215252
 
</pre><br>
 
</pre><br>
 +
 
=== Last known location (link) ===
 
=== Last known location (link) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 350: Line 437:  
Gets a Google Maps link with the last known location.
 
Gets a Google Maps link with the last known location.
 
</pre><br>
 
</pre><br>
 +
 
=== Last known location (lon) ===
 
=== Last known location (lon) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 355: Line 443:  
Gets the longitude above sea level of the last known location.
 
Gets the longitude above sea level of the last known location.
 
</pre><br>
 
</pre><br>
 +
 
=== Last known location (time) ===
 
=== Last known location (time) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 360: Line 449:  
Gets the last known time in format (year - month - day hour : minute : second).
 
Gets the last known time in format (year - month - day hour : minute : second).
 
</pre><br>
 
</pre><br>
 +
 
=== Last location speed (kmh) ===
 
=== Last location speed (kmh) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 365: Line 455:  
Obtains the current speed in km h (You need something to be monitoring your route, for example Waze or Google Maps), otherwise the value will be equal to 0.
 
Obtains the current speed in km h (You need something to be monitoring your route, for example Waze or Google Maps), otherwise the value will be equal to 0.
 
</pre><br>
 
</pre><br>
 +
 
=== Last location speed (mph) ===
 
=== Last location speed (mph) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 370: Line 461:  
Obtains the current speed in mph (You need something to be monitoring your route, for example Waze or Google Maps), otherwise the value will be equal to 0.
 
Obtains the current speed in mph (You need something to be monitoring your route, for example Waze or Google Maps), otherwise the value will be equal to 0.
 
</pre><br>
 
</pre><br>
 +
 
=== Location area code ===
 
=== Location area code ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 375: Line 467:  
The LAC is a 16-bit number that identifies a location area on a cellular network. Each location zone consists of 1 to 65534 radio transmission cells.
 
The LAC is a 16-bit number that identifies a location area on a cellular network. Each location zone consists of 1 to 65534 radio transmission cells.
 
</pre><br>
 
</pre><br>
 +
 
=== Macro category ===
 
=== Macro category ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
Name of the category of the macro that was invoked, e.g. utilities, maps & navigation, notifications, productivity or custom names, etc.
 
Name of the category of the macro that was invoked, e.g. utilities, maps & navigation, notifications, productivity or custom names, etc.
 
</pre><br>
 
</pre><br>
 +
 
=== Macro id ===
 
=== Macro id ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 384: Line 478:  
is a GUID number used to uniquely identify a macro file.
 
is a GUID number used to uniquely identify a macro file.
 
</pre><br>
 
</pre><br>
 +
 
=== Macro name ===
 
=== Macro name ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 389: Line 484:  
Name of the macro that was invoked.
 
Name of the macro that was invoked.
 
</pre><br>
 
</pre><br>
 +
 
=== Macrodroid is pro ===
 
=== Macrodroid is pro ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 394: Line 490:  
Boolean value (true or false) depending on whether macrodroid is pro or not.
 
Boolean value (true or false) depending on whether macrodroid is pro or not.
 
</pre><br>
 
</pre><br>
 +
 
=== Macrodroid version ===
 
=== Macrodroid version ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 399: Line 496:  
Version of macrodroid installed for example 5.40.x.
 
Version of macrodroid installed for example 5.40.x.
 
</pre><br>
 
</pre><br>
 +
 
=== Minute ===
 
=== Minute ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 404: Line 502:  
Current minute.
 
Current minute.
 
</pre><br>
 
</pre><br>
 +
 
=== Mobile country code ===
 
=== Mobile country code ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 409: Line 508:  
(MCC) is a three-digit country code used to identify the country of origin of a mobile network.
 
(MCC) is a three-digit country code used to identify the country of origin of a mobile network.
 
</pre><br>
 
</pre><br>
 +
 
=== Mobile network code ===
 
=== Mobile network code ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 414: Line 514:  
Mobile Network Code (MNC) is a two or three digit code that uniquely identifies a mobile network operator within a country.
 
Mobile Network Code (MNC) is a two or three digit code that uniquely identifies a mobile network operator within a country.
 
</pre><br>
 
</pre><br>
 +
 
=== Month ===
 
=== Month ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 419: Line 520:  
Current month.
 
Current month.
 
</pre><br>
 
</pre><br>
 +
 
=== Month (as digit) ===
 
=== Month (as digit) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 424: Line 526:  
Current month (in numerical format).
 
Current month (in numerical format).
 
</pre><br>
 
</pre><br>
 +
 
=== New line ===
 
=== New line ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 433: Line 536:  
world
 
world
 
</pre><br>
 
</pre><br>
 +
 
=== Power (on/off) ===
 
=== Power (on/off) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 439: Line 543:  
e.g. If the charger is connected the response will be on.
 
e.g. If the charger is connected the response will be on.
 
</pre><br>
 
</pre><br>
 +
 
=== RAM (Total) ===
 
=== RAM (Total) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 445: Line 550:  
On a device with 6 GB of RAM, macrodroid will return, for example, 5.79, which is the real value.
 
On a device with 6 GB of RAM, macrodroid will return, for example, 5.79, which is the real value.
 
</pre><br>
 
</pre><br>
 +
 
=== RAM (available) ===
 
=== RAM (available) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 450: Line 556:  
Returns available RAM value.
 
Returns available RAM value.
 
</pre><br>
 
</pre><br>
 +
 
=== Screen resolution ===
 
=== Screen resolution ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 455: Line 562:  
Device screen resolution (X and Y) separated by ',' e.g. 1080,2400.
 
Device screen resolution (X and Y) separated by ',' e.g. 1080,2400.
 
</pre><br>
 
</pre><br>
 +
 
=== Screen resolution (X) ===
 
=== Screen resolution (X) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 460: Line 568:  
Device screen resolution (X) using a reference screen X 1080 Y 2400 the output will be 1080.
 
Device screen resolution (X) using a reference screen X 1080 Y 2400 the output will be 1080.
 
</pre><br>
 
</pre><br>
 +
 
=== Screen resolution (Y) ===
 
=== Screen resolution (Y) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 465: Line 574:  
Device screen resolution (Y) using a reference screen X 1080 Y 2400 the output will be 2400.
 
Device screen resolution (Y) using a reference screen X 1080 Y 2400 the output will be 2400.
 
</pre><br>
 
</pre><br>
 +
 
=== Screen timeout (seconds) ===
 
=== Screen timeout (seconds) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 470: Line 580:  
</pre><br>
 
</pre><br>
 
=== Second ===
 
=== Second ===
 +
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
Current second.
 
Current second.
 
</pre><br>
 
</pre><br>
 +
 
=== Sim operator name ===
 
=== Sim operator name ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 478: Line 590:  
Name of your telephone company.
 
Name of your telephone company.
 
</pre><br>
 
</pre><br>
 +
 
=== Sim 2 operator name ===
 
=== Sim 2 operator name ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 483: Line 596:  
Name of your telephone company in the 2nd sim slot.
 
Name of your telephone company in the 2nd sim slot.
 
</pre><br>
 
</pre><br>
 +
 
=== Stopwatches ===
 
=== Stopwatches ===
 
* '''''Seconds'''''
 
* '''''Seconds'''''
Line 498: Line 612:  
Obtains the total time of the stopwatch in hour : minute : second format e.g. 00:00:00
 
Obtains the total time of the stopwatch in hour : minute : second format e.g. 00:00:00
 
</pre><br>
 
</pre><br>
 +
 
=== Storage free (external) ===
 
=== Storage free (external) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 503: Line 618:  
Total amount of free space (external) e.g. 136GB.
 
Total amount of free space (external) e.g. 136GB.
 
</pre><br>
 
</pre><br>
 +
 
=== Storage free (internal) ===
 
=== Storage free (internal) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 508: Line 624:  
Total amount of free space (internal) e.g. 136GB.
 
Total amount of free space (internal) e.g. 136GB.
 
</pre><br>
 
</pre><br>
 +
 
=== Storage total (external) ===
 
=== Storage total (external) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 513: Line 630:  
Actual amount of space on external storage, e.g. On a theoretical 256 GB device the real value can be 221GB.
 
Actual amount of space on external storage, e.g. On a theoretical 256 GB device the real value can be 221GB.
 
</pre><br>
 
</pre><br>
 +
 
=== Storage total (internal) ===
 
=== Storage total (internal) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 518: Line 636:  
Actual amount of space on internal storage, e.g. On a theoretical 256 GB device the real value can be 221GB.
 
Actual amount of space on internal storage, e.g. On a theoretical 256 GB device the real value can be 221GB.
 
</pre><br>
 
</pre><br>
 +
 
=== String variable value ===
 
=== String variable value ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 523: Line 642:  
Length of a string variable, for the example we have a variable called my_var with the value 'hello world' the output would be 11
 
Length of a string variable, for the example we have a variable called my_var with the value 'hello world' the output would be 11
 
</pre><br>
 
</pre><br>
 +
 
=== System setting (Global) ===
 
=== System setting (Global) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 531: Line 651:  
For this example we will use the 'development_settings_enabled' key as a reference, which stores an int value (1 or 0) depending on whether the developer options are active or not.
 
For this example we will use the 'development_settings_enabled' key as a reference, which stores an int value (1 or 0) depending on whether the developer options are active or not.
 
</pre><br>
 
</pre><br>
 +
 
=== System setting (Secure) ===
 
=== System setting (Secure) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 541: Line 662:  
corresponds to the google assistant.
 
corresponds to the google assistant.
 
</pre><br>
 
</pre><br>
 +
 
=== System setting (System) ===
 
=== System setting (System) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 549: Line 671:  
For this example we will use the key 'time_12_24' as a reference, which stores a value of the time format used, the associated value is 12
 
For this example we will use the key 'time_12_24' as a reference, which stores a value of the time format used, the associated value is 12
 
</pre><br>
 
</pre><br>
 +
 
=== System time ===
 
=== System time ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 554: Line 677:  
The current time as maintained by your operating system.
 
The current time as maintained by your operating system.
 
</pre><br>
 
</pre><br>
 +
 
=== System time (ms) ===
 
=== System time (ms) ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 559: Line 683:  
The current time according to your device's internal clock, measured in milliseconds since the Unix epoch. The Unix epoch is a reference point in time, set as January 1, 1970, at 00:00:00 Coordinated Universal Time (UTC).
 
The current time according to your device's internal clock, measured in milliseconds since the Unix epoch. The Unix epoch is a reference point in time, set as January 1, 1970, at 00:00:00 Coordinated Universal Time (UTC).
 
</pre><br>
 
</pre><br>
 +
 
=== Week of year ===
 
=== Week of year ===
 
</pre><br>
 
</pre><br>
Line 565: Line 690:  
Returns the week number of the year, e.g. Wednesday, January 3, week is 1.
 
Returns the week number of the year, e.g. Wednesday, January 3, week is 1.
 
</pre><br>
 
</pre><br>
 +
 
=== Webhook Base Url ===
 
=== Webhook Base Url ===
 
</pre><br>
 
</pre><br>
Line 571: Line 697:  
Returns the base url of your webhook e.g. https://trigger.macrodroid.com/0d5c-49e12-6/ but it does not include the identifier only the base url, a complete url should look like this Returns the base url of your webhook e.g. https://trigger.macrodroid.com/0d5c-49e12-6/mywebhook
 
Returns the base url of your webhook e.g. https://trigger.macrodroid.com/0d5c-49e12-6/ but it does not include the identifier only the base url, a complete url should look like this Returns the base url of your webhook e.g. https://trigger.macrodroid.com/0d5c-49e12-6/mywebhook
 
</pre><br>
 
</pre><br>
 +
 
=== Wifi SSID ===
 
=== Wifi SSID ===
 
</pre><br>
 
</pre><br>
Line 577: Line 704:  
Name of the Wi-Fi network you are connected to.
 
Name of the Wi-Fi network you are connected to.
 
</pre><br>
 
</pre><br>
 +
 
=== Wifi signal strength ===
 
=== Wifi signal strength ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Line 582: Line 710:  
It represents the signal power in decibels per kilowatt. The higher the number (a negative number), the stronger the signal. For example, -60 dBm is louder than -70 dBm.
 
It represents the signal power in decibels per kilowatt. The higher the number (a negative number), the stronger the signal. For example, -60 dBm is louder than -70 dBm.
 
</pre><br>
 
</pre><br>
 +
 
=== Year ===
 
=== Year ===
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
editors
1,599

edits