everyonesdesign Posted July 15, 2022 Share Posted July 15, 2022 (edited) Hello! First, I'd like to thank you for amazing features shipped in Alfred 5. It will really simplify handling multiple routine tasks for me. As a matter of fact, I had some custom-written pieces of AppleScript I used to communicated to Chrome Tabs I'll be able to replace with automations now. However, there's one thing that prevents me from switching to the automations completely: "run JavaScript" automation doesn't have any output. In my custom AppleScript snippets I used it a lot as a tool to pass the data from the browser tab to Alfred (e.g. in many cases I serialised data in some invisible element on the page and later Alfred read it and parsed the data), in this fashion (this is JS AppleScript): tracksList = chrome.execute(tab, { javascript: 'document.getElementById("jsHelper__deezerPlaylist").textContent', }); Could you consider adding this output as a feature? Thank you! Edited July 15, 2022 by everyonesdesign Link to comment Share on other sites More sharing options...
vitor Posted July 15, 2022 Share Posted July 15, 2022 This is now in Automations Tasks 2022.5. Link to comment Share on other sites More sharing options...
everyonesdesign Posted July 15, 2022 Author Share Posted July 15, 2022 Amazing, thank you very much! Could you check, when I'm trying to update to 2022.5 I'm having a successful message, but an empty list (attached an image). Link to comment Share on other sites More sharing options...
vitor Posted July 15, 2022 Share Posted July 15, 2022 Please try again. Should be working now. Link to comment Share on other sites More sharing options...
everyonesdesign Posted July 16, 2022 Author Share Posted July 16, 2022 Thank you! All works now. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now