This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
function:CALCULATE [2016/06/29 15:38] alain JMTX template + add internal links + forum Google search |
function:CALCULATE [2019/07/04 04:39] peternlewis |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | The CALCULATE function takes an arbitrary [token text](https://wiki.keyboardmaestro.com/Tokens) string, processes the text tokens, and then calculates value of the resulting numeric expression. | + | The CALCULATE function takes an arbitrary [[:Tokens|token text]] string, processes the text tokens, and then calculates value of the resulting numeric expression. |
CALCULATE(%ICUDateTime%yyyyMMdd%/10000) | CALCULATE(%ICUDateTime%yyyyMMdd%/10000) | ||
CALCULATE(%CurrentClipboard%) | CALCULATE(%CurrentClipboard%) | ||
- | ===== See Also ===== | + | ===== Examples ===== |
- | ---- | + | {{function:set-var-to-calculation-calculate.jpg?nolink|}} |
+ | |||
+ | ===== See Also ===== | ||
=== Actions === | === Actions === | ||
Line 22: | Line 24: | ||
* [[token:CurrentClipboard|%CurrentClipboard%]] | * [[token:CurrentClipboard|%CurrentClipboard%]] | ||
* [[:Tokens|See all Tokens]] | * [[:Tokens|See all Tokens]] | ||
- | |||
- | ---- | ||
==== Forum ==== | ==== Forum ==== | ||
- | - [[https://www.google.fr/search?q=site:forum.keyboardmaestro.com+CALCULATE(|Keyboard Maestro Forum topics about CALCULATE() function]] | + | - [[https://forum.keyboardmaestro.com/search?q=CALCULATE|Keyboard Maestro Forum topics about CALCULATE() function]] |