This file contains hidden or 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
<?php | |
class Pretty_Code_Editor { | |
function __construct() { | |
add_action( 'admin_print_styles', array( $this, 'editor_styles' ) ); | |
add_action( 'admin_print_footer_scripts', array( $this, 'tabs' ) ); | |
} | |
function editor_styles() { ?> |
This file contains hidden or 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
set p to "<Path to todo.txt>" | |
set l to paragraphs of (do shell script "grep . " & p) | |
do shell script ">" & p | |
tell app "OmniFocus" to tell document 1 | |
repeat with v in l | |
make new inbox task with properties {name:v} | |
end repeat | |
end tell |
NewerOlder