F5F Stay Refreshed Software Operating Systems App for capturing Mac screenshots easily.

App for capturing Mac screenshots easily.

App for capturing Mac screenshots easily.

S
Seabreeze1998
Member
57
03-27-2016, 02:16 PM
#1
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!
S
Seabreeze1998
03-27-2016, 02:16 PM #1

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!

S
SkylanderAlex
Member
207
03-27-2016, 03:09 PM
#2
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.
S
SkylanderAlex
03-27-2016, 03:09 PM #2

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.

B
Bexcharlie11
Junior Member
21
03-30-2016, 06:14 AM
#3
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.
B
Bexcharlie11
03-30-2016, 06:14 AM #3

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.

D
Dbzrocks64
Junior Member
16
03-30-2016, 10:02 AM
#4
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.
D
Dbzrocks64
03-30-2016, 10:02 AM #4

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.

C
CokeSk8er27
Junior Member
17
03-31-2016, 03:31 AM
#5
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 'скриншот загружен'")
C
CokeSk8er27
03-31-2016, 03:31 AM #5

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 'скриншот загружен'")

D
David_Martial
Member
231
03-31-2016, 01:20 PM
#6
Thank you! I'll keep an eye out for any concerns.
D
David_Martial
03-31-2016, 01:20 PM #6

Thank you! I'll keep an eye out for any concerns.

C
cbtaz001
Junior Member
49
04-02-2016, 05:41 AM
#7
The file is missing phantomjs at that path.
C
cbtaz001
04-02-2016, 05:41 AM #7

The file is missing phantomjs at that path.