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

Share this post


Link to post

Ops.. ahah - Yes.

 

 

You have probably entered “UK” as the country code. The correct code is “GB”.

Share this post


Link to post

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.

Share this post


Link to post

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?

Share this post


Link to post

@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  :)

Share this post


Link to post

@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

Share this post


Link to post

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?

Share this post


Link to post

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

Share this post


Link to post

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

Share this post


Link to post

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

Share this post


Link to post

 “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

Share this post


Link to post

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

Share this post


Link to post

When searching for an app, do I have to search by English name to see the results?

The app store country is changed to Korea(KR), but the app that is not displayed in the Korean language can only be searched in English.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...