79428141

Date: 2025-02-10 19:50:13
Score: 2
Natty:
Report link

Figured out the answer. I just needed to run a bash script in the shortcut with this code

osascript -e 'tell app "Terminal"
    do script "cd /foldername\n./filename.ps1"
end tell'

And I can string as many commands together as I want with newlines

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Hypersapien