Wiki Redirects on Safari Control Actions

wiki
safari
chrome

#1

I find this page very confusing, and I suspect many others do as well, especially those new to Keyboard Maestro:

action:Submit Google Chrome Form [Keyboard Maestro Wiki]

My first reaction is that the Wiki redirected me to the wrong page, since I clicked on the Safari action, but was redirected to a Chrome action.
At that point I actually quit reading the page, and close the page or search for something else.

IMO, all Wiki redirects that are for pointing multiple Actions to the same page should go to a common, non-Action-specific, page, that is appropriately titled.

So, if you really want all “Safari Control” and “Google Control” actions to redirect to the same page, then that page should be titled something like:

Controlling Safari and Chrome Web Pages

That would be a big improvement, but I think a better solution is to have a common page for only one KM Action type, like “Set Checkbox (Safari and Chrome).”

Your thoughts?


#2

Yes, I agree. And the “canonical” page is often not the most appropriate page either for these linked actions.

One concern is that the Actions page lists all the entries in the action: namespace, and so such canonical pages will appear in that list if they are also in the action: namespace. This is probably not a bad thing per se, but something to keep in mind when naming them.

Some of them should perhaps just be broken apart in to separate pages, one for each action, although it is a bit tricky for the Safari/Chrome actions since they are inevitably paired and we don’t want duplicated content that just gets out of date.

There is also the option of having a separate page elsewhere that covers the concepts, and then smaller individual action pages that reference them. Alternatively it is possible to include other pages to avoid duplication while avoiding the reader having to follow too many links.


#3

@peternlewis, thanks for your response.

However, I’m not sure what specific changes you plan or recommend. Could you please be more specific?

In a related way, this brings up a question I have had for a long time: Do we really need separate Safari and Chrome Actions?

I would love it if each of these common Actions offered an option for:

  • Both (Safari and Chrome)
  • Safari
  • Chrome

where the “Both” would respond based on the FrontMost app.

Is this feasible/desirable/possible?


#4

I don’t have a specific answer. I agree it is a problem, but I don’t have a specific solution in mind.

It is possible. One problem with being too generic is that people are going to assume it will work in Firefox or whatever other web browsers they are using, when only Chrome & Safari offer AppleScript support.


#5

Perhaps the choice list could indicate the browsers supported, something like this:

  • FrontMost Browser (Safari or Chrome)
  • Safari only
  • Chrome only

#6

Perhaps. It’s easier said than done - clarity requires space and there is no always space available.

I will note it down to ponder.


#7

Until/IF you decide to make any changes to the actual KM Actions, I believe the Wiki could be improved with minimal effort.


#8

Done for the next version.