Table of Contents

Alfred

My Snippets

Integrate with Warp Terminal

on alfred_script(q)
	tell application "System Events"

		tell application "Warp" to activate

		set numWin to count (windows of process "Warp")
		if numWin < 1 then keystroke "n" using command down

		delay 0.5
		keystroke q
		keystroke return

	end tell
end alfred_script

References

Alternatives for MS Windows