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 isdate to (display dialog "When are you traveling?" default answer (current date)'s date string)'s text returned | |
| tell date isdate to set travelDate to date (((its month as integer) & "/" & day & "/" & year) as text) | |
| set lastOf to {} | |
| tell application "OmniOutliner" | |
| set theDoc to front document | |
| -- Find the When and Context column numbers | |
| set contextColumnNum to 0 |
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
| ### Based on: https://gist.github.com/b0644f5ed1d94bd32805 | |
| ### This version strips unicode characters from the downloaded script | |
| ### to work around the currently limited unicode support of the editor | |
| ### module. | |
| # This script downloads and opens a Gist from a URL in the clipboard. | |
| # It's meant to be put in the editor's actions menu. | |
| # | |
| # It works with "raw" and "web" gist URLs, but not with gists that | |
| # contain multiple files or non-Python files. |
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
| # YOU NEED TO INSERT YOUR APP KEY AND SECRET BELOW! | |
| # Go to dropbox.com/developers/apps to create an app. | |
| app_key = 'YOUR_APP_KEY' | |
| app_secret = 'YOUR_APP_SECRET' | |
| # access_type can be 'app_folder' or 'dropbox', depending on | |
| # how you registered your app. | |
| access_type = 'app_folder' |