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
#Convert clipboard to uppercase/lowercase | |
import clipboard | |
text = clipboard.get() | |
if text == '': | |
print 'No text in clipboard' | |
else: | |
uppercase = text.upper() | |
if uppercase != text: | |
new_clip = uppercase | |
else: |
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
import markdown | |
import clipboard | |
input_file = clipboard.get() | |
s = input_file | |
md = markdown.Markdown() |
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
#Summary: Takes copied text and creates new task in OmniFocus | |
#By: Jason Verly | |
#Rev: 2013-02-04 | |
#Rev Note: Added Page Title & URL to clipped txt | |
import webbrowser | |
import clipboard | |
import urllib | |
import console | |
import sys |
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
# More information: http://n8henrie.com/2013/03/send-multiple-tasks-to-omnifocus-at-once-with-drafts-and-pythonista | |
# Script name: MultiLineOmniFocus | |
# Drafts "URL Action": pythonista://MultiLineOmniFocus?action=run&argv=[[draft]] | |
# Modified from email script by OMZ: https://gist.github.com/omz/4073599 | |
import smtplib | |
from email.mime.multipart import MIMEMultipart | |
from email import encoders | |
import sys |
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
import socket | |
import console | |
console.clear() | |
fqdn = socket.getfqdn() + '.local' | |
ip_addr = socket.gethostbyname(fqdn) | |
print ip_addr |
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
import photos | |
import Image | |
choose = photos.pick_image() | |
final = choose.resize((800,600),Image.ANTIALIAS) | |
saveit = photos.save_image(final) | |
if saveit is True: |
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
import Image, ImageOps, ImageFilter | |
import photos | |
import console | |
import clipboard | |
import datetime | |
img = photos.pick_image() | |
today = datetime.datetime.now() |
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
#Summary: Takes copied text and creates new task in OmniFocus | |
#By: Jason Verly | |
#Rev: 2013-02-04 | |
#Rev Note: Added Page Title & URL to clipped txt | |
import webbrowser | |
import clipboard | |
import urllib | |
import console | |
import sys |
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
#Summary: Takes copied text and creates new task in OmniFocus | |
#By: Jason Verly | |
#Rev: 2013-02-02 | |
import webbrowser | |
import clipboard | |
import urllib | |
import console | |
task = console.input_alert('Task', 'Enter task description') |
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
#Summary: Takes copied text and creates new task in OmniFocus | |
#By: Jason Verly | |
#Rev: 2013-02-02 | |
import webbrowser | |
import clipboard | |
import urllib |
OlderNewer