BushelScript
A macOS scripting language with unparalleled connective power
require app Mail
tell Core to ask "Please enter a subject:"
tell Mail to make new outgoing message with properties {subject: that}
require library Shell
let 1 MiB be pow 2 to the 20
tell Shell to export 1 MiB to "size"
#!bash
mdfind -onlyin ~ "kMDItemPhysicalSize > $size" | wc -l | ruby -pe '$_.strip!'
#!
"Your home folder has " & that & " items at least 1 MiB in size."
require library Shell
require app Music
tell Shell to export (get name of every track of Music) to "track_names"
#!ruby
print ENV['track_names']
.split(ENV['BUSHEL_LIST_DELIMITER'])
.filter {|item| item =~ /Love/i }
.join("\n")
Script your life with
Native AppleEvent support: Never write another line of AppleScript.
Shell integration: Jump between different shells and interpreters at will.
Syntactic flexibility: Write your code in your native language. (Coming soon)
Continuous, open development: Striving for transparency and valuing feedback.
Design of BushelScript