Jump to content

Help with basic Terminal Workflow


Recommended Posts

Unfortunately the only way to take a screenshot of a program that I use is to manually paste in "screencapture -is ~/Desktop/*filenamehere.png*" onto terminal. Which is a hassle because I would need to pull up terminal, paste it, and type in the name of the file everytime I wanted to take a screenshot. And I take tons of screenshots. 

 

Ive tried making a simple terminal workflow that is hotkeyed. It kind of works but the problems are that

 

  1. It opens up a new terminal window every single time I use the workflow.
  2. I can only save the file as a specific file name.

 

How would I go making a work flow that:

  • opens terminal
  • pastes "screencapture -is ~/Desktop/" into terminal
  • prompts me enter the file name of my choice
  • allows me choose the area to be screenshotted
  • screenshot the area
  • closes terminal

 

Thanks for your time

Link to comment
21 minutes ago, AlfredNewGuy said:

Unfortunately the only way to take a screenshot of a program that I use is to manually paste in "screencapture -is ~/Desktop/*filenamehere.png*" onto terminal.

 

Why? What is it about that program that makes it impossible to use other methods?


You don’t need to open and close a Terminal. A Run Script node is more appropriate.


Download this workflow. Press the hotkey and it’ll ask you for a name. A png with that name will be saved to your Desktop.

Edited by vitor
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...