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
on run {input, parameters} | |
tell application "Google Chrome" | |
set noteTitle to get title of active tab of first window | |
set noteURL to get URL of active tab of first window | |
display dialog "Set title:" with title "Send to nvAlt" default answer noteTitle | |
set noteTitle to the text returned of the result | |
display dialog "Enter a comment:" default answer "" |
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
on run {input, parameters} | |
tell application "Google Chrome" | |
set noteTitle to get title of active tab of first window | |
set noteURL to get URL of active tab of first window | |
if noteTitle is "" then | |
display dialog "Enter a title for the new note:" ¬ | |
with title "Send to Notes" ¬ | |
default answer "Untitled note" |
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
#!/bin/bash | |
# Check for TODO notes in script directory | |
# 2015-02-06 | |
# 2015-03-03 : filter out symbolic link, add formatting to display | |
searchloc="bin/*" | |
for i in $searchloc; do | |
[ ! -h $i ] && td=$(grep -s --exclude todo "TODO" $i) | |
[ ! -h $i ] && fm=$(grep -s --exclude todo "FIXME" $i) |