Jump to content

Run UI Vision Macro using Alfred


Recommended Posts

I use UI Vision extension to run automated actions in Chrome. I can add a script as a bookmark and click it to run the macro.

 

Alfred automatically indexes chrome bookmarks, but not javascript applets added to bookmarks. Is there anyway to run them using Alfred?

 

Sample attached.

 

Sample url: javascript:(function() {try {var evt = new CustomEvent('kantuRunMacro', {detail: {name: "iZone",from: 'bookmark',storageMode: 'browser',closeRPA: 1}});window.dispatchEvent(evt);} catch (e) {alert('UI.Vision RPA Bookmarklet error: ' + e.toString());}})();

 

PS: Please don't suggest to export macro as HTML. There's another problem with that.

Screen Shot 2022-05-16 at 4.58.50 PM.png

Link to comment

There are a few Chrome bookmarks Workflows around (searching the forum and/or GitHub is bound to produce results) which may list those.

 

Alternatively, AlfredBookmarklet does not read your bookmarks but is specifically geared for the use case of sending JavaScript to the frontmost tab (remove the javascript:(function() { boilerplate).

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...