altryne
-
Posts
52 -
Joined
-
Last visited
-
Days Won
2
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by altryne
-
-
There is no need to copy/paste URL, just use trigger HotKey, check out this wiki issue here:
There are times when another hotkey is confusing, especially when there are tons of workflows installed, and each is with their own hotkey,
At those times, I'm sure I would go up to the address bar, copy the url, open alfred, and hit "shorten" and then realize I could have used the hotkey to do that.
For those times, if you add a url detection inside clipboard, it will save the hustle of pasting it
It's very easy with ruby, and I imagine it's equaly easy with python
url = URI.extract(`osascript -e "get the clipboard"`)
-
Thanx for this! Can you add that if I have a url in the clipboard that the workflow will suggest to shorten it directly? So I won't have to paste it in?
-
Does this work for anyone at all?
i've tested it a lot with different users on different macs, and it seemed to work, but when I went through the logs guys here who it didn't work for, I saw bugs I couldn't replicate (or understand)
So, does this code work for anybody exept me and all my 4 macs and 2 users?
This will greatly save me some time debugging/rewriting if I know that I'm the only one this works for
-
Nice.
But unfortunately it doesn´t work for me, but I would really like to use it!
Any ideas?
I installed the Chrome extension and restarted my computer.
Help would be great
Can you try this one and lemme know if it worked?
If it did, then I'll update the zip with the new extension
-
How do you use this?
Think about my pandora controller workflow. You can skip songs with a flick of two fingers Or pause.
-
Same for me.
Can you please download this version : http://d.pr/f/xwXo
And try to login and then post something?
If it fails, please go into workflow folder and send me the log.txt file, I'll take a look.
-
Have a look at Duane Johnson's install_gem.sh script to easily install gems in the workflow's directory. You could also look in to using Bundler and running `bundle install --standalone --clean` after setting up your Gemfile (this is what Zhao Cai's ruby template uses). Bundler basically lets you declare all your dependencies in one file so you can easily install/update them all at once.
If I use bundler, does that mean that everyone who uses the workflow has to have bundler installed? (i'm really new into ruby)
I am getting the following message when I try to save a URL to Pocket: "Something went wrong. Try to login again". The authorization process itself goes through fine and I even get the message that I'm successfully connected to Pocket. I only get the error message when trying to save a URL.
Same for me.
Can you guys please go into the workflow directory, and remove the "token" file from there, and try to login again?
-
Awesome workflow!
Any chance of adding the ability to browse latest entries or search for items by tag?
It's a bit beyond me right now, I wasn't sure how to use gems with ruby scripts in alfred, so all the code is pure ruby 1.8 (is what ships with mnt lion)
As the Pocket API returns a json object, serializing it myself is too tough of a job, unless someone can help me with it
-
Great work with the oAuth stuff. Gives me a nasty headache, personally.
I've tried to write the process step by step on my blog, maybe will make your headache hurt less
http://alexw.me/2013/03/save-url-to-pocket-with-alfred-workflow-using-oauth/
-
Would it be possible to have the option to send the url to Pocket ? (http://getpocket.com/)
You can try this one I just posted http://www.alfredforum.com/topic/1618-pocket-workflow-with-oauth-login/
-
UPDATE 25/05/13 - rewrote the whole damn thing in python, added aleoop for quick updates
Hey guys,
I've finished creating a pocket workflow, I know there are several already in the forums, but this one doesn't require your username/password at any point. (Not that other workflow creators are malicious!)
You can download it here (https://github.com/altryne/pocket_alfred/raw/master/Pocket%20workflow.alfredworkflow)
and all the code on github (the code is a bit of a mess, I was learning ruby as I was writing)
Usage :
First login with "pocket_login", this will redirect you to the pocket site to authorize
Afterwards use "pocket" to share a URLs
Supports :
- Chrome - if running
- Safari - if running
- Clipboard - if contains URL
I've banged my head for a long time trying to achieve the sleak oAuth flow, and finally done it, if anyone's interested I can write a blogpost about it.
Lemme know what you think, and what improvements/suggestions you may have.
credits to https://github.com/vitorgalvao/alfred-workflows/blob/master/Pinadd/pinadd for the chrome and safari applescripts
-
I've brought this up to Andrew in the past for working on things like my AlfredTweet workflow/extension. Twitter for example, I just redirected the user to a page I controlled that started the oauth flow, allowed them to authenticate to Twitter, and then either returned the oob pin code, or just returns the tokens directly and asks the user to paste them back in.
Obviously, you don't want to store username and password and such in plaintext in settings or something, but what about using the security command to save them in the keychain? It can be done very easily. Reading from the keychain is easy as well. If the user knows to only click the "Allow" button and not "Always Allow" then it would always prompt the user before it accessed the keychain.
I know this isn't the best flow for the end user, but it works..
Yeah, I know about keychain and the oob pin code concerning Twitter. I know this is not perfect for the user but it works!
What i am more concerned about is the growing number of APIs (Facebook, Google, Pocket to name just a few) that just won't let you use authentication with PIN code or classic login/password.
I have done an Pocket oAuth flow without asking the user for his credentials.
The way I do it is a bit complicated but it works, and is transparent to the user.
The workflow post is here : http://www.alfredforum.com/topic/1618-pocket-workflow-with-oauth-login/
-
-
18:30:26.651 ...STARTING...Timestamp A/R Flags if Domain Service Type Instance Name18:30:26.651 Add 2 4 local. _rfb._tcp. new_macmini (that's the host I'm on)
-
@pstadler - what about my other suggestion? Hide the mac I'm working on from the list? It seems strange that I have the option to control my own mac?
-
Awesome Idea, it will surely make people buy Alfred more
-
awesome one! thanx
One thing, how about not requiring the query, and when there's no query, showing the top CPU consuming procceses, and then filtering by typed query?
-
Hi, attached is a workflow for Droplr app (download)
"Upload" keyword and then type the name of the file you want to uploaddi
Or use as a file action inside Alfred's file browser
Btw, a little Droplr tip, you can hotlink any image on d.pr by appending a "+,png" at the end of the URL.
Enjoy
-
Is there a chance that the download link is the old one? Tried re-installing, same
Also, my own machine appears in the vnc list, maybe it'll be good to remove the machine I'm on
-
Doesn't work for me too
Mac is called "alex-macmini.local" but alfred is trying to connect to alexmacmini.local and it doesn't work
-
Is there a way of seeing the weather for not my default location?
-
Hi guys, I've been working hard but it's finally here!
Controlling Pandora.com playback from alfred 2 and hotkeys
You can download the files from http://alexw.me/2013/03/controlling-pandora-com-from-alfred-2-and-media-keys/
Lemme know what you think, I already been using it for a couple of hours and it's awesome!
-
+1 on that one!
-
Heh, yeah I figured this would be a common one.
What's the accepted behavior in this case?
Should I remove my post?
Mac productivity screencast - manipulating files with Alfred
in Discussion & Help
Posted
Hey guys,
I've opened a new group on FB, called Devs with Macs (http://j.mp/Z3QAUY)
And a big part of it would be these screencasts I'm doing on mac productivity.
The first one is about Alfred and quick file manipulation without finder or mouse.
You're welcome to check it out and send me your feedback.
Many more will come.