App for capturing Mac screenshots easily.
App for capturing Mac screenshots easily.
Hey there, Buzzy! I'm searching for a MacOS screenshot tool that supports SFTP uploads with fully compatible SSH keys. Screencloud isn't working well with my Retina display, so I want something smoother. Let me know if you need help finding the right option!
Consider Automator, an Apple tool that lets you build simple programs. I think you can transfer the image using SFTP from the terminal or another method. You might use Automator’s built-in features to capture a screen, convert it into a shell script (you may need to save the file temporarily and adjust the filename, then delete it afterward), and the script will handle the upload. I haven’t attempted this before, but I’ve found Automator plus shell scripts to be quite effective for similar work.
I performed this task precisely. Automator also supports voice commands for running scripts. I captured the selected area using a mouse, uploaded it online, and extracted the direct link with a simple Python script. It’s straightforward to accomplish.
Yes, you can get a random name for the screenshot using a generator. As for copying the URL to your clipboard, it’s generally not possible directly from the tool itself, but you can manually copy the link provided.
Take a look at my python script. It does all you need. Just add it to automator and assign shortcut to it. Oh you have to edit your username. mine is 'MRX' change it with your username and that's it. You may have to install some python packages Spoiler #!/usr/bin/env python # -*- coding: utf-8 -*- import subprocess import sys import threading import time sys.path.append('/usr/local/lib/python2.7/site-packages/pygtk.py') import os import pygtk, gtk, flickrapi import pyperclip import selenium from pyvirtualdisplay import Display from selenium import webdriver from selenium.webdriver.common.keys import Keys language = "en" if language == "en": os.system("say 'Lets take screenshot'") elif language == "ru": os.system("say 'укажи место для скриншота'") now = time.strftime("%c") screenshot_path = "/Users/MRX/Pictures/Screenshot-%s.jpg" % now def runAppleScript(appleScript=None): AppleProcess=subprocess.Popen(['osascript', '-'], stdin=subprocess.PIPE, stdout=subprocess.PIPE) AppleProcess.communicate(appleScript)[0] appleScript="""on run set shellCommand to "/usr/sbin/screencapture -i \\"" & "%s\\"" do shell script shellCommand end run""" % screenshot_path runAppleScript(appleScript) #driver = webdriver.Chrome('/Users/MRX/Applications/chromedriver') driver = webdriver.PhantomJS('/Users/MRX/Applications/phantomjs') driver.get('http://www.picz.ge/scripts/up.py?um=image'); driver.find_element_by_name('file_1').send_keys(screenshot_path) driver.find_element_by_name('reducesize').click(); driver.find_element_by_xpath(".//*[@id='content']/form/table/tbody/tr[3]/td[2]/input[2]").click(); driver.find_element_by_name('submit').click(); link = driver.find_element_by_name('directlink').get_attribute('value') pyperclip.copy(link) spam = pyperclip.paste() driver.quit() time.sleep(1) if language == "en": command3 = """/usr/local/bin/terminal-notifier -message "" -title 'Screenshot uploaded'""" p = subprocess.Popen('%s' % command3, stdout=subprocess.PIPE, shell=True) os.system("say 'Screenshot uploaded'") elif language == "ru": command3 = """/usr/local/bin/terminal-notifier -message "" -title 'скриншот загружен'""" p = subprocess.Popen('%s' % command3, stdout=subprocess.PIPE, shell=True) os.system("say 'скриншот загружен'")