Shiffo
Active member
An action block that Converts an integer (minutes) to hh:mm format
Hope it helps
Cheers
Hope it helps
Cheers
I doesn't display any result: the variable is empty.This also goes via a script
Sorry but, at least in this case, you can achieve the same result in MD with the same number of statements as it is a basic mathematical calculation.It works for me without any problems.
The java script code greatly reduces the length of the macro and leaves it clean
I got faster versionThis also goes via a script
Used to markdown my friend? Yea I wish MD Forum supports markdown either.It would have been nice to have different JavaScript engines integrated into MacroDroid, but also to be able to update the versions. As a reminder:
### Latest Versions
- **Rhino**: The latest version is 1.7.15, released in May 2024.
- **QuickJS**: The latest version is from January 13, 2024.
- **Jetpack (Android)**: The most recent version is 1.0.0-beta01, released in November 2023.
- **JSEvaluator**: The latest version available is 6.0.0.
### Other engines are also available such as:
- **V8**: Used by Node.js and Google Chrome, V8 is a very powerful and well-documented JavaScript engine. It could use some adjustments, but it is widely supported and has a large community.
- **Duktape**: A lightweight and embeddable JavaScript engine, designed to be integrated into embedded applications. It is easy to integrate and offers good compatibility with ECMAScript.