JSA Posted November 10, 2020 Share Posted November 10, 2020 Hi all, I saw that there is a way of using Focus from within Alfred. Has anyone managed to create a workflow to use Freedom? I am interested in being able to start a session that blocks everything on the internet that is not on my whitelist for 45 minutes at a time in 2 seconds using a keyboard shortcut. Thanks Link to comment
vitor Posted November 10, 2020 Share Posted November 10, 2020 9 hours ago, JSA said: I saw that there is a way of using Focus from within Alfred. Then please link us to it, so we can properly help you within context. We also need to see what’s possible, which will entirely depend on the tool. Link to comment
shaan Posted July 4, 2021 Share Posted July 4, 2021 Yeah I figured this one out using AppleScript. The workflow opens the Freedom dashboard, clicks on the blocklist and device you've asked for, and then starts the block. Notes I have an external trigger in there so I can link to this workflow from other workflows. It's not necessary; you can get rid of it. "Whitelist" means block all sites and "blocklist" means block the first custom blocklist you have. You'll have to customize the AppleScript if you want to change what lists the workflow clicks on. The workflow very very rarely doesn't work: you select a block, it open the dashboard and tries to start it, but something messes up. I think this has something to do with the webpage not loading properly or looking different from what the AppleScript expects. It'll work when you try it again. It never fails multiple times in succession. http://www.packal.org/workflow/freedom Link to comment
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