Difference between revisions of "Osascript"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 7: | Line 7: | ||
* <code>osascript -e 'display notification "MY TEXT" with title "MY TITLE"'</code> | * <code>osascript -e 'display notification "MY TEXT" with title "MY TITLE"'</code> | ||
* <code>osascript -e 'display notification "My Notification text goes here" with title "My Title"'</code> | * <code>osascript -e 'display notification "My Notification text goes here" with title "My Title"'</code> | ||
− | * <code>osascript -e '[[beep]] 1'</code> or <code>[[tput]] bel</code> or <code>say TEST</code> | + | * <code>osascript -e '[[beep]] 1'</code> or <code>[[tput]] bel</code> or <code>[[say]] TEST</code> |
osascript --help | osascript --help |
Revision as of 09:05, 3 September 2022
osasscript
execute AppleScripts and other OSA language scripts
Examples:
osascript -e 'display notification "MY TEXT" with title "MY TITLE"'
osascript -e 'display notification "My Notification text goes here" with title "My Title"'
osascript -e 'beep 1'
ortput bel
orsay TEST
osascript --help usage: osascript [-l language] [-e script] [-i] [-s {ehso}] [programfile] [argument ...]
Related
See also
Advertising: