mirror of
https://github.com/drewcassidy/dotfiles
synced 2024-09-01 18:24:06 +00:00
add screenshot management scripts
This commit is contained in:
parent
08590a9116
commit
054b288de5
13
Applescript/Copy last screenshot to clipboard.applescript
Normal file
13
Applescript/Copy last screenshot to clipboard.applescript
Normal file
@ -0,0 +1,13 @@
|
||||
on run {input, parameters}
|
||||
set maxcount to 10
|
||||
set sourcepath to "/Users/drewcassidy/Documents/Images/Screenshots"
|
||||
set sourcefolder to (POSIX file sourcepath) as alias
|
||||
tell application "Finder"
|
||||
set screenshots to sort (get every document file of folder sourcefolder) by creation date
|
||||
set screenshotcount to number of items in screenshots
|
||||
|
||||
set latest to last item of screenshots as alias
|
||||
|
||||
set the clipboard to (read latest as TIFF picture)
|
||||
end tell
|
||||
end run
|
BIN
Applescript/Manage Screenshots.zip
Normal file
BIN
Applescript/Manage Screenshots.zip
Normal file
Binary file not shown.
BIN
Applescript/OCR screenshots.zip
Normal file
BIN
Applescript/OCR screenshots.zip
Normal file
Binary file not shown.
BIN
Applescript/Services/Put OCR text in comment.zip
Normal file
BIN
Applescript/Services/Put OCR text in comment.zip
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user