raguay.customct Posted December 18, 2013 Posted December 18, 2013 You're absolutely right, I'm still adding values and improving some features ( better special character handling, smarter interpretation, improved logic etc ). The old version is 'at this point in time' more useful in general, because it simply has more units. I would encourage people to download the new version though, because this one will get all the old + the new units eventually. *I added the bath into the new version in my attempt to win you over Hey, I am won over! Thanks for the inclusion. It is working great! Thanks. designandsuch 1
fncll Posted December 20, 2013 Posted December 20, 2013 This workflow is AWESOME. I use the conversions for cooking and kitchen work dozens of times per day! designandsuch 1
designandsuch Posted December 21, 2013 Author Posted December 21, 2013 Updated the documentation designandsuch 1
designandsuch Posted December 21, 2013 Author Posted December 21, 2013 (edited) Added support for 90 different currencies: The currency rates will automatically update themselves every day based on: http://finance.yahoo.com/currency-converter/ if you have version 0.5 you don't have to update to start converting with these new currencies. They can all be accessed by ( at least ) their natural name or abbreviation ( United stated Dollar - USD ). US DollarEuroBritish PoundThai bahtUnited Arab Emirates DirhamAustralian dollarArgentine Pesoaruban florinconvertible markbarbadian dollarBangladeshi takabulgarian levdinarbermudian dollarbolivianobrazilian realBahamian dollarcanadian dollarswiss francchilean pesorenminbicolombian pesoczech korunadanish kroneegyptian poundfiji dollarGhana cediGambian dalasiguatemalan quetzalHong Kong dollarcroatian kunahungarian forintindonesian rupiahisraeli new shekelindian rupeeicelandic kronajamaican dollarjordanian dinaryenkenyan shillingcambodian rielsouth korean wonkuwaiti dinarLao kipLebanese poundsri Lankan rupeeLithuanian litasLatvian latsMoroccan dirhamMoldovan leuMalagasy ariaryMacedonian denarMauritian rupeeMaldivian rufiyaaMexican pesoMalaysian ringgitNamibian dollarNigerian nairaNorwegian kroneNepalese rupeeNew Zealand dollarOmani rialPanamanian balboaPeruvian nuevo solPhilippine pesoPakistani rupeePolish zlotyParaguayan guaraníQatari riyalRomanian leuSerbian dinarRussian rubleSaudi riyalSeychellois rupeeSwedish kronaSingapore dollarSyrian poundTunisian dinarTurkish liraNew Taiwan dollarUkrainian hryvniaUgandan shillingUruguayan pesoVenezuelan bolivarVietnamese dongCFA francEast Caribbean dollarWest African CFA francCFP francSouth African rand Edited December 24, 2013 by designandsuch designandsuch 1
a-b Posted December 25, 2013 Posted December 25, 2013 What about negative values? Unable to see results for qurey: units -30c f Thanks!
designandsuch Posted December 25, 2013 Author Posted December 25, 2013 (edited) What about negative values? Unable to see results for qurey: units -30c f Thanks! Off course! you're right.. how did I miss that. Anyhow i fixed it, thanks for your input and a Merry christmas. Edited December 25, 2013 by designandsuch
designandsuch Posted December 25, 2013 Author Posted December 25, 2013 (edited) I just finished my Alfred emulator for Units. I would like to embed it on this page, but unfortunately this forum doesn't allow iframes. So i'll have to redirect you to this page : http://time.designandsuch.com/units/docs try out the demo It's not as solid as the real Alfred experience, but gives a pretty good example. Edited December 25, 2013 by designandsuch
designandsuch Posted December 29, 2013 Author Posted December 29, 2013 As you guys might have been noticing there where some icons missing.. since i added a lot of new units in the last weeks. Which seems to work perfect by the way.. I have been fixing bugs basically every day. But for the Icons I needed you to re-download the actual workflow, which you will be reminded of automatically if you have the latest version. Here's a quick overview of the new icons. DJay and gekkoh 2
scottfwalter Posted January 3, 2014 Posted January 3, 2014 This is one of my favorite and most used workflows. In case any cares the others that round out my top 5 include: Can I Use Favorite Folders Screenshot of Web Pages Evernote designandsuch 1
designandsuch Posted January 3, 2014 Author Posted January 3, 2014 Thanks Scott! I'm glad so many people appreciate Units, it encourages me to keep making it better. Saying that, I would also encourage people to keep sending me request for additional units and features.
Reddragon220 Posted February 13, 2014 Posted February 13, 2014 Thanks for the wonderful plug-in designandsuch! It really makes the tedious process of converting to and from a snap. If I could submit one small request - when converting a unit to feet, it would be quite helpful to be able to view the results in feet and inches. For example instead of "Units 222cm Feet > 7.28346... Feet" the output of "Units 222cm Feet > 7 Feet 3.4 Inches" would be be quite a bit more useful for most casual unit conversions. Thanks Scott! I'm glad so many people appreciate Units, it encourages me to keep making it better. Saying that, I would also encourage people to keep sending me request for additional units and features.
robgill Posted February 20, 2014 Posted February 20, 2014 This is awesome, would it be possible to create a convertion Minutes to hours? I have to log my time in hours, and I'm currently looking for a solution within alfred to to this. This is by far the best coverter, but time only seems to go down, eg Mins > Secs.
designandsuch Posted February 24, 2014 Author Posted February 24, 2014 This is awesome, would it be possible to create a convertion Minutes to hours? I have to log my time in hours, and I'm currently looking for a solution within alfred to to this. This is by far the best coverter, but time only seems to go down, eg Mins > Secs. Hi Robgill, you already can do just that. " units 5 min h " = 0.083 hour or " units 5 minutes hour " = 0.083 hour
40-02 Posted June 13, 2014 Posted June 13, 2014 Great workflow. It works like a charm:) I strongly reccomend this extension as a currency converter:)
David Posted November 23, 2014 Posted November 23, 2014 Thanks for this.You might want to consider adding the Bitcoin currency sometime :-)
Matthew Lancellotti Posted November 24, 2014 Posted November 24, 2014 Great workflow! Requests: 1. How can I disable the "About" "documentation" that appears when I type the keyword? I would strongly prefer if it said "Units" "Convert units" or something like that. Can the link be disabled too? 2. There seems to be no circle icon. Can you put one in?
designandsuch Posted December 2, 2014 Author Posted December 2, 2014 Great workflow! Requests: 1. How can I disable the "About" "documentation" that appears when I type the keyword? I would strongly prefer if it said "Units" "Convert units" or something like that. Can the link be disabled too? 2. There seems to be no circle icon. Can you put one in? 1. I understand some people might not like the idea of a link within the workflow. But this is a very subtle one, and it serves a purpose. Since Alfred is such a minimal interface it would be really hard to supply users with a way to find the documentation - if they want to check if a feature exists for instance. Therefor I am reluctant to cut out the link to the documentation. I know the documentation isn't the sexiest at the time but it will improve over time and at it does do the job. ( You can easily disable it for yourself by cutting the cord to the osascript in the workflow though, even though it might break some other external link features ). About the title.. no pun intended, 'About' obviously corresponds to its function. So I don't see a clear reason why it should say something else. I can change it though.. what if I change it to 'About Units'? * I am working on a way to let the user set certain custom settings, but I haven't figured out which settings would be desired and how to implement this exactly. Suggestions are always welcome. 2. There actually is an circle icon, maybe you aren't using the latest version. if you type 'units version' it should return 'you are using the latest version'.. it's pretty self explanatory actually This should fix the circle issue.
designandsuch Posted December 2, 2014 Author Posted December 2, 2014 (edited) Thanks for this. You might want to consider adding the Bitcoin currency sometime :-) You ask, we serve! Edited December 2, 2014 by designandsuch David 1
Cantello Posted December 10, 2014 Posted December 10, 2014 This really is great, thanks! One thing that is very convenient with the new Yosemite Spotlight, though: you can simply start typing e.g. "35000 isk to eur" (to get the amount of Euros in 35000 icelandic krona) without the need of an arbitrary keyword. Would this even be possible with Alfred's workflows?
designandsuch Posted December 10, 2014 Author Posted December 10, 2014 (edited) You can actually do that.. 3500 isk eur I haven't made support for the 'to' word stupidly enough. I understand that it's something people naturally will try. So it's on my todo list The new spotlight is fun, but I think every heavy Alfred user will confirm that it's not close to a replacement for Alfred. I saw the converter options in spotlight and they are nice but I will keep working on Units because I think it still has the potential to be better than the spotlight version edit: just read your post again, and you are aiming towards the lack of a keyword. That is actually possible but I think it might become to invasive of an worklow in that case, since it would almost always pop up. There are over 300 units in the workflow already so ever first character shows something. I might try it out actually *just thinking out loud now. Plus you can always change the keyword to something shorter manually Edited December 10, 2014 by designandsuch
Cantello Posted December 11, 2014 Posted December 11, 2014 edit: just read your post again, and you are aiming towards the lack of a keyword. That is actually possible but I think it might become to invasive of an worklow in that case, since it would almost always pop up. There are over 300 units in the workflow already so ever first character shows something. I might try it out actually *just thinking out loud now. Plus you can always change the keyword to something shorter manually Right, that's what I was asking about, sorry for the confusion post... :-) A similar converter workflow does not use a keyword and at least in my experience it's not too invasive. For now I have simply changed the keyword to "u", but leaving it out would feel more natural to me.
designandsuch Posted December 11, 2014 Author Posted December 11, 2014 Right, that's what I was asking about, sorry for the confusion post... :-) A similar converter workflow does not use a keyword and at least in my experience it's not too invasive. For now I have simply changed the keyword to "u", but leaving it out would feel more natural to me. If you want to start typing just like that you can do so so by tweaking the workflow like this. 1) right click and copy the Script Filter 2) Double click the new Script Filter to change some settings 3) change the keyword to "1" and untick "with space" 4) now in the actual script box change units("{query}"); to units("1{query}"); 5) Do the same for the numbers 2,3,4,5,6,7,8,9,0 6) Connect every Script filter to all the other nodes After this Units will start off the moment you type a number. This is the same way that other workflow works. One drawback of this that the suggestions don't work that well anymore. so when you type 10 kil the workflow will suggest kilometers, kilos, kilogram, kilobyte etc. but the prefix 1 will be added since that's your keyword now. so when you choose any of the suggestion you would get something like 110 kilogram. I can fix this in the mechanism but I will try out the keywordless version for a while to see if it will work smoothly. After that I will fix these new issues. and thanks for the input!
David Posted December 18, 2014 Posted December 18, 2014 Something else to add perhaps... in case you run out of things to do : decimal, binary, octal, hexadecimal
wolph Posted December 18, 2014 Posted December 18, 2014 (edited) If you want to start typing just like that you can do so so by tweaking the workflow like this. 1) right click and copy the Script Filter 2) Double click the new Script Filter to change some settings 3) change the keyword to "1" and untick "with space" 4) now in the actual script box change units("{query}"); to units("1{query}"); 5) Do the same for the numbers 2,3,4,5,6,7,8,9,0 6) Connect every Script filter to all the other nodes After this Units will start off the moment you type a number. This is the same way that other workflow works. One drawback of this that the suggestions don't work that well anymore. so when you type 10 kil the workflow will suggest kilometers, kilos, kilogram, kilobyte etc. but the prefix 1 will be added since that's your keyword now. so when you choose any of the suggestion you would get something like 110 kilogram. I can fix this in the mechanism but I will try out the keywordless version for a while to see if it will work smoothly. After that I will fix these new issues. and thanks for the input! I'm the author of the other converter and I have to say that there are a few tiny issues with the keywordless approach due to how Alfred works. The autocomplete (<tab>) is broken because it assumes that the number is the keyword. @David: just added that to my converter Edited December 18, 2014 by wolph
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