Skip to content

Instantly share code, notes, and snippets.

View anilnatha's full-sized avatar
🎧
001100010010011110100001101101110011

Anil Natha anilnatha

🎧
001100010010011110100001101101110011
  • NASA / Jet Propulsion Laboratory
  • California
View GitHub Profile
@anilnatha
anilnatha / Copy Screenshot.scpt
Last active August 29, 2015 14:04
This AppleScript makes it easier to save screenshots to your clipboard than by using Apple's built-in keyboard shortcuts that do the same. I find Apple's keyboard shortcuts difficult to remember, which is why I created this script.
(*
Author: Anil Natha
Description: This applescript captures a screenshot and puts it into your clipboard. This AppleScript provides the user with three screen capture options, "Desktop", "Window", and "Selection".
If "Desktop" is chosen, it simply takes a screenshot of the currently selected desktop (this distinction is important for computers with multiple monitors).
If "Window" is chosen, the user can choose which window they wish to capture a screenshot of.
If "Selection" is chosen, the user can choose an area that should be used to capture a screenshot of.
Installation:
@anilnatha
anilnatha / Save Screenshot.scpt
Last active August 29, 2015 14:04
This AppleScript makes it easier to save screenshots to your filesystem than by using Apple's built-in keyboard shortcuts that do the same. I find Apple's keyboard shortcuts difficult to remember, which is why I created this script.
(*
Author: Anil Natha
Description: This applescript captures a screenshot and stores it at "~/Pictures/Screenshots" using a date/timestamp as its filename and once the screenshot is stored, opens a Finder Window scoped to the "~/Pictures/Screenshots" folder for quick access. This AppleScript provides the user with three screen capture options, "Desktop", "Window", and "Selection".
If "Desktop" is chosen, it simply takes a screenshot of the currently selected desktop (this distinction is important for computers with multiple monitors).
If "Window" is chosen, the user can choose which window they wish to capture a screenshot of.
If "Selection" is chosen, the user can choose an area that should be used to capture a screenshot of.
Installation: