ThatChord icon indicating copy to clipboard operation
ThatChord copied to clipboard

Automator Not Working

Open everythingability opened this issue 10 months ago • 1 comments

Image

Hi,

I appreciate this is probably a dead project but it is VERY COOL and when I tried the Automator bit, it failed.

macOS Sonoma 14.5 (23F79)

everythingability avatar Feb 21 '25 13:02 everythingability

Automator is crap... Here's an AppleScript (edit with Script Editor.app) script that kinda does what I want.

on run {}
		
	set theResponse to display dialog "Which chord?" default answer "" with icon note buttons {"Cancel", "Continue"} default button "Continue"
	--> {button returned:"Continue", text returned:"G7"}
	set theChord to text returned of theResponse as text
	log (theChord)
	
	set theCommand to "/Users/tas509/ThatChord/env/bin/python3.12 /Users/tas509/ThatChord/thatchord.py " & theChord
	
	do shell script theCommand
	
end run

everythingability avatar Feb 21 '25 13:02 everythingability