RosettaCodeData/Task/Command-line-arguments/AppleScript/command-line-arguments.appl...

6 lines
95 B
AppleScript

#!/usr/bin/env osascript
-- Print first argument
on run argv
return (item 1 of argv)
end run