This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on run {input, parameters} | |
| --> command to run | |
| set myScript to "<SCRIPT NAME>" | |
| --> open window | |
| quit application "Terminal" | |
| tell application "Terminal" to activate | |
| tell application "Terminal" | |
| --> check if window is busy (or wait till isn't) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from dataclasses import dataclass | |
| @dataclass | |
| class Clr: | |
| """Color palette for printing in the terminal.""" | |
| GR: str = "\033[1;90m" | |
| R: str = "\033[1;91m" | |
| G: str = "\033[1;92m" |