Difference between revisions of "Osascript"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 5: Line 5:
 
* <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
 +
usage: osascript [-l language] [-e script] [-i] [-s {ehso}] [programfile] [argument ...]
  
  

Revision as of 18:03, 10 June 2022


Examples:

  • osascript -e 'display notification "My Notification text goes here" with title "My Title"'
  • osascript -e 'beep 1' or tput bel or say TEST
osascript --help
usage: osascript [-l language] [-e script] [-i] [-s {ehso}] [programfile] [argument ...]


See also

Advertising: