Ahti333 Posted March 19, 2013 Share Posted March 19, 2013 (edited) I've built a little workflow that opens the Mac App Store and searches for the query. --- Update --- Another update, you can now change the search language by using the "interactive preferences". By default, the US store is searched. Change this by entering 'apps-pref lang <new language>' into Alfred. Get the new version here: http://cl.ly/2q3K1L1L3m1h Github repository: https://github.com/Ahti/alfred-appstore-search Edited March 20, 2013 by Ahti333 DJay and drking 2 Link to comment
jkblackman77 Posted March 19, 2013 Share Posted March 19, 2013 Hi, this is great thanks! Do you think it can be modified to do a "software update" check, as this is now done through the mac app store? Cheers, James Link to comment
phyllisstein Posted March 19, 2013 Share Posted March 19, 2013 As you're thinking about updating this workflow, you might consider using the iTunes Store API and Alfred's feedback system to display results. It's a little more work, but the presentation is a bit neater. See http://alfred.daniel.sh/Workflows/iTunesStore.alfredworkflow for an example of something similar. Link to comment
Ahti333 Posted March 19, 2013 Author Share Posted March 19, 2013 I've updated the workflow quite a bit, see initial post for more. drking 1 Link to comment
Ahti333 Posted March 20, 2013 Author Share Posted March 20, 2013 I've put the source up on github https://github.com/Ahti/alfred-appstore-search Link to comment
Jefferson Posted March 20, 2013 Share Posted March 20, 2013 This is really cool. Is there any way to pull the app icons from the app store? Just curious Link to comment
Ahti333 Posted March 20, 2013 Author Share Posted March 20, 2013 The iTunes API does return some icon URLs, but atm Alfred only accepts icons that are on the local drive. I could download those icons into some kind of cache folder, but that would take time, especially on slow connections, and since users probably won't see the same app very often, i don't think that's worth it. As soon as Alfred supports http urls for icons, i will of course add this Link to comment
gr4z Posted March 20, 2013 Share Posted March 20, 2013 (edited) As the UK uses 'en' as well how can I change it as it still searches the US site? EDIT: forget this tried 'GB' and it worked Edited March 20, 2013 by gr4z Link to comment
Ahti333 Posted March 20, 2013 Author Share Posted March 20, 2013 use 'uk' (also, changing this will become a little bit easier and persistent across updates in some hours or so) Link to comment
DJay Posted March 20, 2013 Share Posted March 20, 2013 (edited) Thanks for sharing your workflow. I changed in the appsearch.py en to de for Germany search_lang = 'de' But alfred still shows the $ price. Any chance to change this? what am I doing wrong? Edited March 20, 2013 by DJay Link to comment
Jefferson Posted March 20, 2013 Share Posted March 20, 2013 The iTunes API does return some icon URLs, but atm Alfred only accepts icons that are on the local drive. I could download those icons into some kind of cache folder, but that would take time, especially on slow connections, and since users probably won't see the same app very often, i don't think that's worth it. As soon as Alfred supports http urls for icons, i will of course add this Has someone already filed an enhancement request for Alfred 2 to support HTTP URLs for icons? Link to comment
Ahti333 Posted March 20, 2013 Author Share Posted March 20, 2013 Thanks for sharing your workflow. I changed in the appsearch.py en to de for Germany search_lang = 'de' But alfred still shows the $ price. Any chance to change this? what am I doing wrong? I am about to post an updated version that makes setting the language much easier, just wait a few minutes Has someone already filed an enhancement request for Alfred 2 to support HTTP URLs for icons? Yes, I have. The answer was that they got this request many times already, and will look into it for a future release. Link to comment
Ahti333 Posted March 20, 2013 Author Share Posted March 20, 2013 Thanks for sharing your workflow. I changed in the appsearch.py en to de for Germany search_lang = 'de' But alfred still shows the $ price. Any chance to change this? what am I doing wrong? I've uploaded an updated version, see original post for more info. Link to comment
DJay Posted March 20, 2013 Share Posted March 20, 2013 thx.. but.. hmm.. apps-pref de Sorry, there is no preference named de. Link to comment
Ahti333 Posted March 20, 2013 Author Share Posted March 20, 2013 its 'apps-pref lang de' Link to comment
DJay Posted March 20, 2013 Share Posted March 20, 2013 (edited) here we go. sweet. thank you very much. great work. and I better go to bed now. N8 Edited March 20, 2013 by DJay 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