Mtt
Mtt

@pratik I feel like you'd know this. What are the current most effective Drafts → Micro.blog Actions?

|
Embed
Progress spinner
pratik
pratik

@Mtt I use these in my blogging on Micro.blog:

The first three and the last one are Micro.blog specific. This post explains the JPEG - JPG differentiation.

|
Embed
Progress spinner
Mtt
Mtt

@pratik I'm having two issues with using @jarrod's Shortcut.

  1. When I call it using a Drafts Action, it is attempting to upload the .txt file from Drafts to Micro.blog instead of invoking the photo picker. I've manually tweaked the Shortcut to remedy this (not elegantly, so could use a better fix).
  2. When a photo is uploaded, it's just copying to clipboard instead of inserting. Again, I can tweak it to get it to insert into Drafts, but it's only doing it for a new draft not the existing one.

Did you make any tweaks/changes to make it work specifically for Drafts?

|
Embed
Progress spinner
pratik
pratik

@Mtt Can you specify which of @jarrod's shortcuts you are having an issue with? There are quite a few, and the Drafts actions I list involve multiple shortcuts

|
Embed
Progress spinner
Mtt
Mtt

@pratik I'm using Micro.blog Multimedia Uploader and Generate Alt Text with OpenAI Vision. Both work flawlessly on their own, as they are designed. The issue pops up when I invoke them via a Drafts Action.

|
Embed
Progress spinner
Mtt
Mtt

@pratik I've solved problem 2. Figured it out, problem on my end.

|
Embed
Progress spinner
pratik
pratik

@Mtt I had some issues getting them to work at my end too and sometimes it worked on my Mac but not on my iPhone. Check if the variables are being passed through correctly. Everything is working fine now but I always hesitate to update or move things lest I mess it up again :)

|
Embed
Progress spinner
jarrod
jarrod

@Mtt I've found running shortcuts via Drafts actions to be tricky. In fact, I made a specific action and helper shortcut to get it to work. Maybe try those?

|
Embed
Progress spinner
Mtt
Mtt

@jarrod So you’re using a Drafts Action to trigger that shortcut. Then letting that shortcut trigger the image upload?

|
Embed
Progress spinner
jarrod
jarrod

@Mtt Yup, you got it!

|
Embed
Progress spinner
Mtt
Mtt

@jarrod It's weird but it works. Since I didn't need the imagekit, etc stuff. I just made a shortcut that the only step is running the upload shortcut. Works flawlessly. Don't understand why that's needed, but it works.

|
Embed
Progress spinner
jarrod
jarrod

@Mtt It's something about how Drafts passes things into the shortcut. Even when it's blank, I think it tries to pass blank text to the shortcut, which isn't compatible with the Uploader.

|
Embed
Progress spinner