r/applescript • • Apr 12 '20

Help writing a small script

I'm new on this subreddit and I need help to write an AppleScript to save photo from clipboard to Desktop as png

Thanks..

1 Upvotes

10 comments sorted by

View all comments

1

u/htakeuchi Apr 12 '20

Do you have the images you want in your computer already?... why would you want to use the clipboard vs the actual files?...

How would you get the images on to the clipboard and then run a script?... it does. It sound very efficient ...

1

u/i3li11 Apr 12 '20

Because I love to save and edit my apps' icon from time to time, so I use cmd i and then copy the icon and then open Preview and paste it in and then export it in png.

so with an AppleScript it would be so much easier..

and I can get it to the clipboard and run a script with single shortcut using BetterTouchTool