Jump to content

Getting Bundle ID, Release Version Number, App icon of apps


Alan He

Recommended Posts

Getting Bundle ID, Release Version Number, App icon of apps

 

 

  • appid to get Bundle ID of apps
  • av to get Bundle version of apps
  • display app is from appstore or not
  • Universal action support
    • App ID get id of app, type enter to copy
    • App Version get version of app,type enter to copy
    • App Name get name of app,type enter to copy
    • App ICON copy icon of app, type command enter to reveal in finder.

 

 

 

 1. I am the author of the workflow

2. https://github.com/alanhg/alfred-workflows/tree/master/appid

3. dependency: brew install node

4. screenshot

 

image.png.9a6142f189ab0b74b2a23e15901459b1.png

screenshot2.png.38fb596fe5924d365222c4dd10e7f154.png

image.png.4cd1f4f14df7b36395a98ca5962ecd70.png

 

Edited by Alan He
Link to comment
Share on other sites

There is an auto-updater in the workflow. Please remove it. There is a stray Replace Utility in there.

 

Using /usr/local/bin/node will not work with a Homebrew-installed node on Apple Silicon. Use just node so it works for everyone. This is explained in detail in another post.

 

In the JSON, adding a "type": "file" to results will make it possible to use your Universal Actions directly from the results.

 

The Universal Actions are a tad inconsistent. one has all caps (ICON), one is all lowercase (version), and the others are a mix. Please normalise those.


There is also an extraneous space in the subtitle, where it says ( from App Store). This one is minor, but since other changes are necessary, it felt worth mentioning.

 

Edited by vitor
Link to comment
Share on other sites

  • 2 weeks later...
On 3/7/2023 at 2:53 AM, vitor said:

The av Script Filter is still using /usr/local/bin/node. Once that’s fixed, it should be good to add.

 

 

fixed, thank you.

 

look forward to being ok.

 

@vitor

Edited by Alan He
Link to comment
Share on other sites

  • 1 month later...

Hello, great workflow. thank you. appid works fine, but av which is most useful for me, does not.

 

thank you very much

 

[09:08:30.408] AppID[Script Filter] Queuing argument '(null)'

[09:08:30.495] AppID[Script Filter] Script with argv '(null)' finished

[09:08:30.496] ERROR: AppID[Script Filter] Code 127:~/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/DBA22BEA-10A5-4B77-8C71-2956468F8264: line 1: node: command not found

Link to comment
Share on other sites

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...