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
-- End : Marking to-dos completed | |
tell application "Things" | |
tell list "Today" | |
set toDoToComplete to to do named "$pomodoroName" | |
set status of toDoToComplete to completed | |
set tag names of toDoToComplete to "⌘,✔" | |
end tell | |
move toDoToComplete to list "Next" | |
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
tell application "System Events" | |
keystroke " " using {option down} | |
end tell | |
--property theSubject : "test" | |
tell application "The Hit List" | |
--tell inbox to make new task with properties {timing task:theSubject, start date:current date} | |
--set myTask to id of first task in inbox |
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
-- pomodoro | |
tell application "Things" | |
show quick entry panel | |
end tell | |
tell application "Things" | |
tell list "Today" | |
set toDoToComplete to first to do | |
set status of toDoToComplete to completed |
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
(* | |
This script is meant to run at the end of a Concentrate activity. It gives you a choice to start another activity, or choose between two activities, or you can choose not to start a new activity. The idea is that you can run a Pause activity after a work activity. This scipt would be run at the end of the work activity. There is a companion script to be run at the end of a break activity, which automatically starts the work activity again. Or you can use this script at the end of a break activity to give you a choice wether or not to start the work activity again. | |
You only need to change the values in the section MANDATORY CUSTOMIZATIONS and you can make further customization below. The SCRIPT PART contains the code for the script, unless you want to you don't have to make changes there. | |
This script was created by Rouven, 2009 and is provided for free without any warranty, etc. | |
*) | |
---MANDATORY CUSTOMIZATIONS | |
--- Define the activities - enter the exact names (as they appear in Concentrate) of the two a |
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
# Add .bashrc in /etc/profile | |
if [ -f ~/.bashrc ]; then | |
source ~/.bashrc | |
fi |