-
Posts
17 -
Joined
-
Last visited
Reputation Activity
-
bb13 reacted to Martien Oranje in Todoist Workflow
Alfred deprecated their beta API that's the error you are getting. Update your workflow to the latest version and you should be fine.
-
bb13 got a reaction from vitor in Shell Script - Extract Title and URL from Chrome Tab
deanishe and vitor, I can see why you two are community heroes! Thank you both. I'm smiling over here, finally got this workflow working the way I wanted it to. vitor, that worked *perfectly* and I just added the URL line from your page. I really appreciate the help from both of you! Thanks again.
title="$(osascript -e 'tell application "Google Chrome" to return title of active tab of front window')" url="$(osascript -e 'tell application "Google Chrome" to return URL of active tab of front window')"
-
bb13 reacted to deanishe in Shell Script - Extract Title and URL from Chrome Tab
What does Alfred’s debugger say? That’s where your error will be.
At a guess, I’d say it’s because wget isn’t part of macOS, and is installed in /usr/local/bin.
That’s not on your PATH in Alfred, so use “/usr/local/bin/wget” instead of just “wget”.
-
bb13 reacted to deanishe in Shell Script - Extract Title and URL from Chrome Tab
👍 Glad it's working. Remember the debugger if you run into another issue!
-
bb13 reacted to vitor in Shell Script - Extract Title and URL from Chrome Tab
Bash, tools that don’t come pre-installed (wget), and HTML grepping all make for a finicky solution which is prone to break sooner rather than later.
Chrome has great support for AppleScript. Use that.
title="$(osascript -e 'tell application "Google Chrome" to return title of active tab of front window')"
-
bb13 reacted to deanishe in Shell Script - Extract Title and URL from Chrome Tab
The command Vítor posted above is a bash/zsh shell command. It’s calling Chrome via AppleScript, yes, but embedded in a shell command.
Just replace the line of your script that fetches and tries to parse the HTML.
-
bb13 reacted to AlfredFreak in Gmail in Chrome Workflow
Sorry guys, I'm using this workflow daily, but haven't had the time/motivation to make the requested updates. Looks like droplr cancelled my account, so I updated the download link above.
Get it here:
http://s000.tinyupload.com/?file_id=18007489721706556934
-
bb13 reacted to perlguy9 in doing.txt - a time tracking workflow
Hello everyone,
I've been keeping a log of my time worked on various projects each day since May of 2009, mostly as an easy way for me to complete my time card at the end of the week. I work as a consultant, so I need to track where my time goes, mostly to the half-hour.
Our timecard system is pretty terrible, so I started just appending entries to this text file, and then using it as a reference weekly to complete the timecard.
My text file evolved over time to take on the general format used by TaskPaper, with @tags, etc.
I made myself a shell script and an Alfred v1 extension to make it easy to make log entries, and I've also made it into an Alfred v2 workflow.
I made this for myself, but maybe some of you will also find it useful:
https://github.com/imagesafari/doing.txt
Just modify the script to change the path to the file you'd like to write. Mine's ~/Dropbox/doing.taskpaper (with a symlink to ~/Dropbox/doing.txt).
I see that some of the new workflows have a way of setting variables right from within Alfred. I'll have to figure out how to implement that, since it seems nifty.
Thanks!