Announcement

Collapse
No announcement yet.

Spectacle - create custom shorcut

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Spectacle - create custom shorcut

    Hi, everyone
    First post here.

    Goal: to create a shortcut for 1) take a screenshot of a selected area, 2) make Spectacle save it to clipboard, and 3) close the window of Spectacle after that

    What I've tried:
    • spectacle -b -c (it does what I want, except that it takes the full window)
    • spectacle -r -c (it opens the window, I can select the area, but then I have to select manually "copy" and close the window
    • spectacle -b -r -c (does the same)
    Any tips on which command line could do that? Or another software that could do that?
    If I find a command line, then I can create a custom shortcut for that.

    Thank you!!!!

    #2
    too many dashes
    Code:
    spectacle -brc

    Comment


      #3
      thank you

      That keeps doing the same: Spectacle opens, I select the area, BUT then I have to manually click on save and manually close spectacle's window.
      I want it to close by it self, as soon as I select the area
      Do you know a way around?

      Comment


        #4
        you need to add the -o switch and give it a file name.

        Code:
        spectacle -brco ~/Desktop/mumf2

        Comment


          #5
          Ahh maybe it's been improved since early 2024?
          It did exactly what you wanted for me when I tested.


          I'll bet I instinctively clicked inside the box after adjusting the area, or hit enter or whatever. I'm afk, though.
          I definitely did not manually save or close the app, I never need to do that, normally.
          Last edited by claydoh; Yesterday, 07:11 AM.

          Comment

          Working...
          X