Google Image Search by Screen Region or Finder [Macro: KM10]

Purpose: Perform Google Image Search by Screen Region or selected files in Finder

google_image_search

This Google Image Search solution does not require other application to function (eg Python, Alfred). It is developed to be used as seamless and intuitive as possible. It use the default application to open the URL.

Usage
The Trigger key is Shift+Ctrl+Meta+I with the following behavior upon Trigger:

  • If Finder is the front application
    Selected image files will be used for Google Image search.
    However if long-pressed Meta key, it will trigger Screen Region Capture for Image Search instead.
  • For other applications,
    Screen Region Capture for Image Search will be activated.

Screen Region Capture:

  • Before using it, make sure the temp image directory that is used to store captured image is created (see the Red Action in the following image).
  • If capture need to be cancelled, just press ESC key or single click to cancel.

image

Macro:
[KAP] Google Image Search by Screen Region or Finder.kmmacros (29.7 KB)

Version 1.1.1

  • Rename temp-image.jpg to image.jpg as this appears in Search input Field

v1.1

  • Open URL in Default Application
  • Display message if there is no selected image file in Finder if trigger activated
    ====================
4 Likes

Very nice macro. Thanks!

1 Like