EN | FR | ES | DE | NL |
---|---|---|---|---|
About {app} | À propos de {app} | Acerca de {app} | Über „{app}“ | |
Hide {app} | Masquer {app} | Ocultar {app} | „{app}“ ausblenden | |
Hide Others | Masquer les autres | Ocultar otros | Andere ausblenden | |
Preferences | Réglages | Configuración | Einstellungen |
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
#!/usr/bin/python | |
import xml.dom.minidom | |
import sys | |
input = sys.stdin.read() | |
dom = xml.dom.minidom.parseString(input) | |
pretty_xml_as_string = dom.toprettyxml(indent=' ', newl='\n') |
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
try | |
set mydoc to "" | |
tell application "BBEdit" | |
set mydoc to file of (document 1 of window 1) | |
end tell | |
tell application "LaunchBar" | |
open mydoc | |
end tell | |
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
Do not ignore the many ways in the world. | |
Do not seek after pleasures for yourself. | |
Do not rely on anything whatsoever. | |
Think little about yourself; think deeply about the world. | |
Never, in all your life, think greedy or desirous thoughts. |
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
(* Pipe eslint output into a BBEdit results window *) | |
try | |
tell application "BBEdit" | |
set mydoc to file of (document 1 of window 1) | |
end tell | |
set posixPath to POSIX path of mydoc | |
set cmd to "/usr/local/bin/node /usr/local/bin/eslint -c ~/.eslintrc.js -f unix " & (quoted form of POSIX path of mydoc) & " | /usr/local/bin/bbresults" | |
do shell script cmd | |
on error |
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
(* | |
Copy UNIX command to return to current location in active BBEdit document | |
*) | |
tell application "BBEdit" | |
set mydocs to every text document in window 1 | |
if (length of mydocs is greater than 0) then | |
set props to get properties of selection | |
set mydoc to first item of mydocs |
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
launch application "Stickies" | |
tell application "System Events" to tell process "Stickies" | |
click menu item "New Note" of menu "File" of menu bar 1 | |
set frontmost to true | |
click menu item "Paste" of menu "Edit" of menu bar 1 | |
end tell |
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
(* | |
Copy paths of all open text documents in the active BBEdit window to your clipboard | |
*) | |
tell application "BBEdit" | |
set mydocs to every text document in window 1 | |
set urls to "" | |
repeat with doc in mydocs | |
set myurl to (URL of doc) | |
if (myurl is not missing value) then |
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
(* | |
Open source of current Safari document in BBEdit | |
David Miller | |
https://readmeansrun.com | |
*) | |
set mycontents to "" | |
set myname to "" | |
try |
NewerOlder