Follow

on run {input, parameters}

set thedate to (do shell script "date +'%m/%d/%Y %H:%M'") as string
tell application "System Events"
keystroke "Brandon Nolet (" & thedate & "): "
end tell

end run

@brandon Congrats on learning AppleScript. It's a neat little language.

@ndegruchy haha I was wondering if anyone would be able to recognize it :P

Weird thing is that if the application you want to insert keystrokes into isn't allowed accessibility features, it'll tell you that the runner doesn't have permission. Not sure how that happened

I might be using this scripting language a lot over the next six months now :P That and automator

Sign in to participate in the conversation
Fosstodon

Fosstodon is a Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.