Three or more hashtags.
#[^#]+#[^#]+#
Long hashtags (15+ characters): #hashtagpunchline
| /** | |
| * n8GmailFilter.gs | |
| * Adds extra powerful functions to my 'scripts' label, e.g. | |
| * the ability to send emails to Mail Drop for OmniFocus. | |
| * | |
| * Details and setup instructions at: http://n8henrie.com/2014/08/using-google-apps-script-to-send-tasks-to-omnifocus/ | |
| */ | |
| // CUSTOMIZE THESE VALUES | |
| var myLabelName = 'your gmail label'; |
| #!/usr/bin/osascript | |
| set today_midnight to ((current date) - 3600 * (hours of (current date)) - 60 * (minutes of (current date)) - (seconds of (current date))) | |
| set now to (current date) | |
| -- Heutige Events | |
| tell application "Calendar" | |
| tell calendar "Nachhilfe" | |
| set todays_events to every event whose start date is greater than or equal to today_midnight ¬ | |
| and start date is less than or equal to now |
| #!/usr/bin/osascript | |
| set backTo to ((current date) - 90 * days) as string | |
| set now to (current date) as string | |
| tell application "MoneyMoney" | |
| set exported to export accounts | |
| end tell | |
| set tempDir to (path to temporary items as text) | |
| set tempFile to tempDir & "accounts.xml" |
| # This is clicking "Allow" in System Preferences "Security & Privacy" screen | |
| # when you're on Screen Sharing. Otherwise it doesn't work. | |
| # To fix: | |
| # - Put "Security & Privacy" window in the top left screen | |
| # - open a Terminal on a side | |
| # - save click.oscript | |
| # - Run: osascript click.oscript | |
| # | |
| # The mouse click you send should hit "Allow" button. You may need to move the window a little bit. | |
| # Script originally from: https://discussions.apple.com/thread/3708948 |
| [ | |
| { "keys": ["ctrl+q"], "command": "exit" }, | |
| { "keys": ["ctrl+shift+n"], "command": "new_window" }, | |
| { "keys": ["ctrl+shift+w"], "command": "close_window" }, | |
| { "keys": ["ctrl+o"], "command": "prompt_open_file" }, | |
| { "keys": ["ctrl+shift+t"], "command": "reopen_last_file" }, | |
| { "keys": ["alt+o"], "command": "switch_file", "args": {"extensions": ["cpp", "cxx", "cc", "c", "hpp", "hxx", "h", "ipp", "inl", "m", "mm"]} }, | |
| { "keys": ["ctrl+n"], "command": "new_file" }, | |
| { "keys": ["ctrl+s"], "command": "save" }, |
| # Activate tab | |
| # $ osascript activate_tab.applescript 1, 2 | |
| on run argv | |
| set window_index to item 1 in argv | |
| set target_index to item 2 in argv | |
| tell application "Google Chrome" to set active tab index of first window to target_index | |
| tell application "Google Chrome" to activate | |
| end run |
| { | |
| "title": "AAA Demo – Tap, Hold & Secondary Function", | |
| "rules": [ | |
| { "description": "Button4 ••• CLICK=> Show Desktop, HOLD=> Mission Control & SECONDARY FUNCTIONS •••••••••••••••••• (HOLD+BUTTON1=> Next Tab, HOLD+BUTTON2=> Previous Tab, HOLD+BUTTON3=> Close Window, HOLD+BUTTON5=> Panic Button)", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "pointing_button": "button4", | |
| "modifiers": { | |
| "optional": [ |
| property pWindowWidth : 975 | |
| property pWindowHeight : 440 | |
| property pWindowChromeHeight : 23 | |
| property pDockPadding : 1 | |
| on run | |
| tell application "Finder" | |
| close every window | |
| my positionWindow(my makeWindow("/Users/mjt/"), 2) | |
| my positionWindow(my makeWindow("/Users/mjt/Downloads/"), 1) |