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.
Nouveautés
Version 1.0
First release
Ce qu’il fait
6 actions-
Wait
-
Take Screenshot
-
Save to Photo Album
-
Search Image With Lenscom.google.GoogleMobile
-
Wait
-
Delete Photos
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#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)
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Ça pourrait aussi te plaire
Publicité