I have 2 PDF files saved in a folder. I want to use Mac quick actions > Create PDF to merge the 2 files. I do it manually several times in a day (select the 2 files, right click, quick actions and create pdf)... Is there any way to do this with KM. I would like to merge those files and combine in 1 pdf without using any other tool just the quick action of mac or something simple, but not any website or anything like that.
I know this isn't what you asked for but you can, also, use the finder with a different view (Column or Gallery View). This one button press (Create PDF) should help you in the meantime. This is how I perform this action.
Hi! I created that shortcut hoping to do exactly that, but it only works if you select the 2 files and right click first. I know how to open the folder and select the 2 files, but don't know how to do the right click, I've tried the mouse actions, but it never works for me, it always click somewhere else...... TY for taking a look at this!!
Thanks so much!! I would love to learn more about Apple script (how to write that long script WOW) to use in KM or any other software. Do you know of a beginner training or course that I can start with? TY!!!
Since youâre a fast learner youâll have much less trouble than me with AppleScript! Honestly - I really do not like it as a programming language and if I donât use it for a couple of days it seems like I have to learn it all over again! I get most of my AppleScript by researching this forum and the internet in general (that is âborrowingâ from others).
I can't get it to work either. Similar problem like the poster before me. My Mac's language is German. Running on Ventura. Do I need to adjust anything?
I downloaded the macro, enabled it and its folder, selected 2 pdf files on the desktop and triggered the macro. I got this error:
I'm running KM 11.0.3 on Mac OS 15.4.1 with a M3 MacAir
I'd really like to know how to access the context menu items, as well as sub-items as in this case:
Is there a way to do this with the Select Menu type actions (which I find are otherwise brilliant)?
Yes, I know things can be done by finding images, but I like to avoid that solution as much as possible, and using menus instead is so elegant and certain.
The macro is written for files selected in a window -- probably one that is in "List" view, too.
Unfortunately, the context menu isn't (AFIAK) accessible this way.
But you can drive it via the keyboard -- and since you're on macOS 15 you can also pop the context menu with a keystroke, making workarounds from 2 years ago unnecessary...
With items selected in a Finder window, these actions should bring activate the "Create PDF" contextual menu item:
This still won't work with items selected on the Desktop, however -- âReturn doesn't work on selected items in that situation -- but using a Finder window that targets your Desktop is fine.
No - those actions don't work with contextual menus.
Since I'm away from my Mac and don't have Sequoia I'll give you some instructions for you to try.
Use System Settings to assign a hot-key shortcut to Create PDF in Finder
Since you're using Sequoia, you can use âEnter to bring up the contextual so in the macro, replace the AppleScript action with a KM action to simulate the keyboard shortcut to bring up the contextual menu in Finder
Replace the 2 other actions in the macro with one that just simulates the shortcut you've set up for Create PDF
Since I can't test this out (even if I were in front of my out-dated Mac) you'll have to have a go yourself... good luck
In this case, I select the files in the Finder and press â„P to create a PDF of them combined.
The great thing about Apple Shortcuts is they sync to all your Macs via iCloud so, you only have to make this Shortcut on one Mac and you will have it on all of them.
Oh this is so great. Now I have access to the context menu; and just as you said, the 2 crucial things here are the ^Return keystroke and being in List view -- so it can still work for items on the Desktop if one navigates to a Finder folder for the Desktop ("Desktop - Local") which is placed in List view.
Thank you to @tiffle and @Zabobon but I guess I should have said that I was only trying to merge pdf's because that's what the example was in this thread. My actual interest was more generally for accessing the context menu. Most recently I wanted to access Quick Actions > Convert Image and I just tested a macro to do that and it worked fine after I figured out the pauses needed.