Bug: shell script, AppleScript, or Shortcuts not working for current date string
Hello,
I've been trying to get my snippet to work for the current date string, but it seems to output as blank. Maybe it's not a bug and it's something wrong with my scripts?
I have my snippet set as \date and then I tried this shell script: date "+%B %d, %Y" to output the date. I've also tried AppleScript: return (current date) as string and the same thing occurs. Lastly, I tried creating a Shortcut in the Shortcuts app: Current Date → Format Date (date: medium, time: none, locale: default) → Stop and output: Formatted Date → If there's no output: Do Nothing and the same thing occurs.
Chip
I'm 64 years old and I'm an old orphan of the most beautiful app I've ever known: quickeys.
Although I have been using keyboard maestro for many years I have always missed the possibility of using shortcuts driven by combinations of characters typed in sequence as KC also allows you to do, so thanks to all of you.
I would like to take this opportunity to propose two wishes:
Context menu for creating shortcuts that open applications (with quickeys it was possible)
Coordinate with the keycue app so that even when KC is not in the foreground it is possible to bring up a window that summarizes all the shortcuts.
Come on guys you are so strong! 💪
@vivoperte QuicKeys was a true marvel, couldn't agree more.
Mind sharing some more insight into how context menus work in more detail?
https://github.com/user-attachments/assets/d54c7c55-708b-4151-ae87-2b18c2482c77 here an example of what contestual menu is, please look at movie
Hey @chippokiddo! I just released version 3.27.0 with some cool improvements to the scripting. Would you mind giving it a try? You can find it here: https://github.com/zenangst/KeyboardCowboy/releases/tag/3.27.0
Hi @zenangst, thanks for letting me know about the update! I repeated all three shell script, AppleScript, and Shortcuts, but unfortunately it still outputs as blank. I even tried changing the snippet from \date to cdate thinking the backslash may have been causing issues, but it wasn't.
Hey @chippokiddo, could you share a screenshot of the workflow? Also, which terminal shell are you using?
No problem. The terminal shell I'm using is zsh.
P.S. I have them currently disabled for now since they're not working.
Thanks @chippokiddo, I'll get cracking at debugging these when life allows.