Shortcuts Exemple ?

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Shortcuts Exemple ? Fri Dec 17, 2021 11:51 am • by hercut
Hello,

I am trying to understand how the interaction of shortcuts with Hazel works.
But I can't get anything...

Could you give an example of how a working shortcuts works.
Like converting a pdf selected by hazel rule?
It would help me a lot, because I get PDFs that are not readable in hazel (even passing them through ocr), so if I convert them to image and after pdf and OCR them, I could find the text of the pdf.

Thank you.
hercut
 
Posts: 57
Joined: Fri Dec 17, 2021 11:44 am

Re: Shortcuts Exemple ? Mon Dec 20, 2021 9:29 am • by Mr_Noodle
Can you post a screenshot of the Shortcut as you have it now?
Mr_Noodle
Site Admin
 
Posts: 11879
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Shortcuts Exemple ? Mon Jan 03, 2022 7:16 am • by hercut
I was able to do what I wanted to do in the end.
I have trouble understanding how to formulate the apple shortcut.
If I understood correctly, you can't recover the file from the shortcut.

So to convert a pdf to an image, I did the following:
Hazel:
Run the script with the arguments I want to find the file.

In shortcuts :
(my concern was how Hazel transmits the document).
So entered PDF from nowhere and convert to save the image in the same place.
hercut
 
Posts: 57
Joined: Fri Dec 17, 2021 11:44 am


Return to Support