This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- By Rob Wells for the Morning Star | |
on open theStories | |
repeat with aStory in theStories | |
tell application "TextWrangler" | |
open aStory | |
tell the front text document | |
set encoding to "Unicode (UTF-8)" | |
educate quotes with replacing target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Preview the currently active BBEdit document using Marked. | |
tell application "BBEdit" | |
activate | |
-- Ask BBEdit for it's active document. | |
set the_document to active document of text window 1 | |
-- If the file doesn't alreay exist, ask the user to save it. | |
if not the_document's on disk then | |
save the_document |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<!-- | |
BBEdit Language Module for CoffeeScript | |
Put this file in | |
~/Library/Application Support/BBEdit/Language Modules | |
or equivalent. | |
Based off of the examples shipped in the BBEdit SDK. |