Jump to content

Recommended Posts

Search the Mac App Store and view search results with artwork previews right in Alfred.

  • Open search results in App Store.app (default behavior)
  • Quick Look search results' preview pages right in Alfred (press Shift, the Quick Look feature must be enabled in Alfred's preferences)
  • Open search results' preview pages in your default browser (modifier key — Command)
The workflow's preferences (keyword — masprefs) allow you to set the maximum search results limit and preferred store country, as well as clear the artwork cache.
 
Additional keywords allow you to open the App Store app's Purchases (“masp”) and Updates (“masu”) tabs.
 
1781272231_MASSearchScreen1.png.fcd19b1dc8284074aa5893832837a25a.png
911198565_MASSearchScreen2.png.7bb3af4820edc3b3c0c72e29bfe00a68.png
Edited by targumanu
Link to comment

What a great workflow!

 

Can't see Rating/Versions/Price. 

I just get the name of the application.

 

Tested with UK and US stores. Downloaded from Packal.

OSX 10.9.4.

 

Do you have subtext disabled in Alfred's preferences? (Appearance > Options > Hide result subtext)

If no, what are your system's language and region settings?

Link to comment
  • 2 weeks later...

@targumanu Sorry for the late answer!

 

I just updated Alfred to the 2.4 version and prices/ratings/ratings are showing!  :) 

One feedback though. Ratings are differently represented form apps to apps (just like in your screenshot).

ex: kindle's rating: 3 stars -> 3 full stars are  displayed.

Pocket's rating: 4 stars -> 5 stars are displayed (4 full and one empty).

 

No big deal. Just reporting  :)

Link to comment

@targumanu Sorry for the late answer!

I just updated Alfred to the 2.4 version and prices/ratings/ratings are showing! :)

One feedback though. Ratings are differently represented form apps to apps (just like in your screenshot).

ex: kindle's rating: 3 stars -> 3 full stars are displayed.

Pocket's rating: 4 stars -> 5 stars are displayed (4 full and one empty).

No big deal. Just reporting :)

It's not a bug, it's a feature :)

Empty star = 0.5

Link to comment
  • 10 months later...
  • 3 months later...

I think this is not quite working properly?

 

For example, I entered: living earth -- and got no results -- but doing the same in the App Store does give results.

 

Or am I doing something wrong?

 

It works for me just fine.

 

There were some issues with Apple online services recently, so maybe that was the issue?

 

Please, try again. If the issue persists, enable the debugging mode (select the workflow and click the bug button), and send me the log.

Edited by targumanu
Link to comment

Actually, here's what happens...

 

if I type -- living -- I see listings

if I type -- living e -- I see no listings

if I type -- living ea -- I see no listings

if I type -- living ear -- I see no listings

if I type -- living eart -- now I see listings again

 

Oh! I know what the problem is!

 

I didn't release a public update after Alfred had added an option to adjust script behavior, so you'll need to do it manually:

  1. Open Alfred's preferences
  2. Select the MAS workflow in your Workflows list
  3. Double-click the topmost Script Filter block (the one titled “mas”, if you didn't change the default keyword)
  4. Click “Script Behaviour”
  5. In the Queue Delay menu, choose “Immediately after each character typed”

That should speed things up considerably.

 

Tip: You should do the same for each script filter block in every workflow you use that makes online requests. (This will make them abort previous requests, if you change your query.)

Edited by targumanu
Link to comment

 “Immediately after each character typed” was already selected.

 

Did you try the steps above? If it matters, I'm using the US store...

 

I get the same behavior. It is due to how Apple's search API handles requests.

 

If you open the App Store app, and try entering those same queries and pressing Enter, you'll get the same behavior.

 

Apple don't provide an API for requesting suggestions, only for searching for the text you input, so I can't recreate the behavior when App Store app provides real-time suggestions as you type.

Edited by targumanu
Link to comment

Update

 

The workflow now uses Alfred’s environment variables to get the correct paths to its cache and persistent data storage locations.

 

Please re-download.

 

To remove the old data in Alfred 2’s cache and data folders, launch Terminal and execute the following commands:

 

rm -rf ~/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow\ Data/com.targumanu.ibookssearch
rm -rf ~/Library/Application\ Support/Alfred\ 2/Workflow\ Data/com.targumanu.ibookssearch

 

Edited by targumanu
Link to comment
  • 1 month later...
  • 1 month later...
  • 3 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...