It automates the process of taking a screenshot, searching it immediately with Google Lens, and then deleting the screenshot afterward so you don’t clutter your photos.
Novidades
Versão 1.0
First release
O que ele faz
6 ações-
Wait
-
Take Screenshot
-
Save to Photo Album
-
Search Image With Lenscom.google.GoogleMobile
-
Wait
-
Delete Photos
Ver como código
Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.
#include 'actions/photos'
#define mac true
#include 'actions/mac'
#define color red
#define glyph magnifyingGlass
wait(2)
const Screenshot = takeInteractiveScreenshot()
const SavedPhotoMedia = savePhoto(Screenshot)
rawAction("com.google.GoogleMobile.SearchImageWithLensIntent", {
"AppIntentDescriptor": "",
"image": "SavedPhotoMedia"
})
wait(2)
deletePhotos(SavedPhotoMedia)
Abrir no Cherri Playground
Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.
Avaliações e comentários
Escrever uma avaliação–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!
Publicidade
Você também pode gostar
Publicidade