Difference between revisions of "Scripting and Automation"

From BBEditExtras
Jump to: navigation, search
(User created scripts)
(User created scripts)
Line 12: Line 12:
 
* [http://db79.com/2011/07/29/BBEdit_Post_to_MetaWeblog_AppleScript.html Post to MetaWeblog]
 
* [http://db79.com/2011/07/29/BBEdit_Post_to_MetaWeblog_AppleScript.html Post to MetaWeblog]
 
* [http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1279416727 Send to Arduino]
 
* [http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1279416727 Send to Arduino]
 +
* [http://t.co/FDxZSOh Turn clipboard contents into plain text] (put in ~/Library/Services, invoke from AppName -> Services menu)

Revision as of 04:54, 2 August 2011

Scripts in BBEdit can be executable Unix files, AppleScript files, text factories, or Automator workflows. These are run simply by loading the item and calling it directly, without providing any inputs. (Naturally, AppleScript scripts and Automator actions can query the application, and #! scripts have some information passed to `argc` and `argv` as usual.)

The Scripts menu (and palette) contains all eligible items from the Scripts folder, which can be found in ~/Library/Application Support/BBEdit/Scripts.


User created scripts