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
-- | |
-- OCR all documents added to a folder | |
-- | |
on adding folder items to this_folder after receiving added_items | |
try | |
repeat with i from 1 to number of items in added_items | |
set this_item to item i of added_items | |
set appName to my getAppName() | |
tell application appName | |
activate |
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
-- | |
-- Use GrowlVoice (version 2.0 or later) to dial a phone number from LaunchBar | |
-- http://www.growlvoice.com/ | |
-- | |
-- To Use: | |
-- Put this script in ~/Library/Application Support/LaunchBar/Actions | |
-- In LaunchBar preferences, Actions screen, Default Actions tab, | |
-- set the Phone Numbers field to this script | |
-- This script will appear by default as the action for a phone number, invoke it | |
-- to start a call to that number in GrowlVoice |
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
-- | |
-- Use GrowlVoice (version 2.0 or later) to dial a phone number from LaunchBar | |
-- http://www.growlvoice.com/ | |
-- | |
-- To Use: | |
-- Put this script in ~/Library/Application Support/LaunchBar/Actions | |
-- This script will appear as an action for a phone number, invoke it | |
-- to start a text to that number in GrowlVoice | |
-- | |
on handle_string(s) |
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
-- | |
-- Take text input from a launchbar action and send to iPhone via prowl | |
-- Put this file as ~/Library/Application Support/Launchbar/Actions/Prowl.scpt | |
-- Update prowlAPIKey in the script below | |
-- Then enter Launchbar, type "Prowl", once its selected hit "Space", then type | |
-- the text you want to send to your phone, hit "Enter" | |
-- | |
on handle_string(s) | |
set prowlAPIKey to "xxxxxx" | |
set prowlURL to "https://prowl.weks.net/publicapi/add" |
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
# | |
# Bulk Unwatch | |
# JIRA doesn't support unwatch from the bulk change action | |
# This script fills the gap | |
# Known to work with JIRA 5 via the REST API | |
# | |
# 1. Using JIRA, Issue Navigator, write a query to get all | |
# the issues you want to unwatch. Something like | |
# "issue in watchedIssues() AND status != Closed" | |
# works well as a starting point. |
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
-- | |
-- open currently open URL in Safari in Chrome | |
-- forked from https://gist.github.com/3151932 | |
-- | |
property theURL : "" | |
tell application "Safari" | |
set theURL to URL of current tab of window 1 | |
end tell | |
if appIsRunning("Google Chrome") then |
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
html { | |
zoom: 1.2; | |
font: 16px Georgia; | |
} | |
img, video { | |
zoom: .8; | |
} | |
* { | |
/* wrap long strings of text without spaces */ | |
word-wrap: break-word; |
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
-- | |
-- applescript to toggle connection state of vpn | |
-- http://markupboy.com/blog/view/toggling-vpn-with-applescript | |
-- http://www.plankdesign.com/blog/2012/06/toggle-your-network-settings-with-launchbar/ | |
-- | |
tell application "System Events" | |
tell current location of network preferences | |
-- set this to the name of your VPN config | |
set VPNservice to service "vpn service name" | |
set isConnected to connected of current configuration of VPNservice |
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
// put this file somewhere on your Mac | |
// download jquery and put it there as well | |
// then in Fluid, under the Userscripts option set the path pattern to match your | |
// inotes UL, then add the below, tweak for your path | |
// window.fluid.include("/Users/userid/Documents/Mac/Fluid/jquery-1.8.3.min.js"); | |
// window.fluid.include("/Users/userid/Documents/Mac/Fluid/fluid-inotes.js"); | |
// | |
// Note the auto userid and password filling this script does. Obviously adjust to | |
// your info. Line ~108 below. |
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
/* Start by setting display:none to make this hidden. | |
Then we position it in relation to the viewport window | |
with position:fixed. Width, height, top and left speak | |
speak for themselves. Background we set to 80% white with | |
our animation centered, and no-repeating */ | |
div.loading { | |
display: block; | |
position: fixed; | |
z-index: 1000; |
OlderNewer