pixel-picker icon indicating copy to clipboard operation
pixel-picker copied to clipboard

Allow PixelPicker to be AppleScript'ed

Open acheronfail opened this issue 7 years ago • 0 comments

It would be nice to automate the picker with AppleScript, namely in the following ways:

  • [ ] activate the picker
  • [ ] move the picker to x, y coords (and optionally select the pixel)
  • [ ] copy the color in a given format

For reference:

  • https://developer.apple.com/library/content/documentation/AppleScript/Conceptual/AppleScriptX/Concepts/scriptable_apps.html
  • https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/ScriptableCocoaApplications/SApps_about_apps/SAppsAboutApps.html#//apple_ref/doc/uid/TP40001976
  • https://www.raywenderlich.com/133007/making-mac-app-scriptable-tutorial

acheronfail avatar Jun 02 '18 04:06 acheronfail