ShareShortcuts

GUI Calculator - No Ads!

I know we’re tired of ads and that’s why you can use this

aaf
Bifurcar “GUI Calculator - No Ads!”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que aaf reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
3K
Guardado
0
Acciones
3
Categoría
Calculations
Versión
2.0
Idioma
EN

Vista previa

I know we’re tired of ads and that’s why you can use this. It even supports scientific callculations!

Here is an example: https://drive.google.com/file/d/1btn47P3QsMD0g_F1pq1LmBH7gWWk0WJS/view?usp=drivesdk


UPDATE LOG v1.1:

  • GUI!

Novedades

Versión 2.0

GUI is now available

Historial de versiones
2.0 3 de ago. de 2026

GUI is now available

1.1 3 de ago. de 2026

.

1.1 3 de ago. de 2026

Now in gui

1.0 28 de jul. de 2026

First release

Qué hace

3 acciones
  1. Text
  2. Set Name
  3. Show Web Page

Ver como código
Beta

Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.

#include 'actions/web'
#define color darkgray

const Text = "<!DOCTYPE html>\n<html lang=\\"en\\">\n<head>\n  <meta charset=\\"UTF-8\\">\n  <title>Calculator - No ads!</title>\n  <style>\n    body {\n      font-family: Arial, sans-serif;\n      margin: 0;\n      height: 100vh;\n      background: #f4f4f4;\n    }\n    /* Loader styles */\n    #loader {\n      position: fixed;\n      top: 0; left: 0;\n      width: 100%; height: 100%;\n      background: #4caf50;\n      color: #fff;\n      display: flex;\n      justify-content: center;\n      align-items: center;\n      font-size: 2em;\n      z-index: 9999;\n    }\n    /* Full screen calculator */\n    .calculator {\n      width: 100%;\n      height: 100%;\n      background: #fff;\n      display: none; /* hidden until loader finishes */\n      display: flex;\n      flex-direction: column;\n      justify-content: flex-start;\n      align-items: center;\n      padding: 20px;\n      box-sizing: border-box;\n    }\n    #display {\n      width: 100%;\n      height: 70px;\n      font-size: 2em;\n      margin-bottom: 20px;\n      text-align: right;\n      padding: 10px;\n      border: 1px solid #ccc;\n      border-radius: 5px;\n      box-sizing: border-box;\n    }\n    .buttons {\n      width: 100%;\n      flex: 1;\n      display: grid;\n      grid-template-columns: repeat(6, 1fr);\n      gap: 10px;\n    }\n    button {\n      font-size: 1.2em;\n      border: none;\n      border-radius: 5px;\n      background: #e0e0e0;\n      cursor: pointer;\n      transition: background 0.2s;\n    }\n    button:hover {\n      background: #d0d0d0;\n    }\n    .equal {\n      grid-column: span 2;\n      background: #4caf50;\n      color: #fff;\n    }\n    .equal:hover {\n      background: #45a049;\n    }\n  </style>\n</head>\n<body>\n  <!-- Loader -->\n  <div id=\\"loader\\">Loading...</div>\n\n  <!-- Calculator -->\n  <div class=\\"calculator\\" id=\\"calculator\\">\n    <input type=\\"text\\" id=\\"display\\" disabled>\n    <div class=\\"buttons\\">\n      <!-- Scientific functions -->\n      <button onclick=\\"appendValue('Math.sin(')\\">sin</button>\n      <button onclick=\\"appendValue('Math.cos(')\\">cos</button>\n      <button onclick=\\"appendValue('Math.tan(')\\">tan</button>\n      <button onclick=\\"appendValue('Math.sqrt(')\\">√</button>\n      <button onclick=\\"appendValue('Math.pow(')\\">xʸ</button>\n      <button onclick=\\"appendValue('Math.PI')\\">π</button>\n\n      <!-- Standard operations -->\n      <button onclick=\\"clearDisplay()\\">C</button>\n      <button onclick=\\"appendValue('/')\\">÷</button>\n      <button onclick=\\"appendValue('*')\\">×</button>\n      <button onclick=\\"appendValue('-')\\">−</button>\n      <button onclick=\\"appendValue('+')\\">+</button>\n      <button onclick=\\"deleteLast()\\">⌫</button>\n\n      <!-- Numbers -->\n      <button onclick=\\"appendValue('7')\\">7</button>\n      <button onclick=\\"appendValue('8')\\">8</button>\n      <button onclick=\\"appendValue('9')\\">9</button>\n      <button onclick=\\"appendValue('(')\\">(</button>\n      <button onclick=\\"appendValue(')')\\">)</button>\n      <button onclick=\\"appendValue('.')\\">.</button>\n\n      <button onclick=\\"appendValue('4')\\">4</button>\n      <button onclick=\\"appendValue('5')\\">5</button>\n      <button onclick=\\"appendValue('6')\\">6</button>\n      <button onclick=\\"appendValue('^')\\">^</button>\n      <button onclick=\\"appendValue('Math.log(')\\">log</button>\n      <button onclick=\\"appendValue('Math.exp(')\\">exp</button>\n\n      <button onclick=\\"appendValue('1')\\">1</button>\n      <button onclick=\\"appendValue('2')\\">2</button>\n      <button onclick=\\"appendValue('3')\\">3</button>\n      <button onclick=\\"appendValue('0')\\">0</button>\n      <button class=\\"equal\\" onclick=\\"calculate()\\">=</button>\n    </div>\n  </div>\n\n  <script>\n    const display = document.getElementById('display');\n    const loader = document.getElementById('loader');\n    const calculator = document.getElementById('calculator');\n\n    // Show loader for 1.5 seconds\n    window.onload = function() {\n      setTimeout(() => {\n        loader.style.display = 'none';\n        calculator.style.display = 'flex';\n      }, 1500);\n    };\n\n    function appendValue(value) {\n      display.value += value;\n    }\n    function clearDisplay() {\n      display.value = '';\n    }\n    function deleteLast() {\n      display.value = display.value.slice(0, -1);\n    }\n    function calculate() {\n      try {\n        display.value = eval(display.value);\n      } catch {\n        display.value = 'Error';\n      }\n    }\n  </script>\n</body>\n</html>\n"
setName(Text, "Calculator.html")
showWebpage()
Abrir en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

Más de aaf

Ver todo

También te puede gustar

Ver todo
Publicidad