Jump to content

AppVersion — Show version number of installed apps


vitor

Recommended Posts

This workflow is officially deprecated in favour of Alfred’s native feature starting with 4.1. You can find the old source on Github.

 

Call av and a list of your top-level apps at /Applications and /Applications/Utilities will be shown with their version numbers. Action any of them and the version number will be copied to the clipboard.


w6N7Qkr.png


If the app you want to check the version of is located anywhere else, you can find it and use the File Action on it for the same effect. This will also show the version as Large Type.


7v5hno8.png

Edited by vitor
Link to comment

I updated the workflow to include the fast fetch of version. It is a simple file filter that filters through apps and on result will put the version number into clipboard.

 

Here is the modified workflow if you want to add it. ? 

 

It's one of those things that I didn't know I need. No more wasting time getting the version number of VS Code when submitting a bug on GitHub.

Edited by nikivi
Link to comment
31 minutes ago, nikivi said:

I updated the workflow to include the fast fetch of version.

 

Not really a “fast fetch”; it’s just a different way. Typing an app name followed by ⇥↩ (App version is already at the top) is faster for me than pressing a keyboard shortcut (or typing a keyword), then an app name and ↩. The File Action already on the Workflow is also more useful, since i’s not constrained to /Applications.


You method is faster for you in certain specific situations. I appreciate your desire for speed, but as a Workflow developer that shares his Workflows yourself, you need to be careful with blank statements like that. It’s alright if you say “I’ve built it this way because it’s more convenient for myself”, as that justifies to your users why something isn’t how they’d like it. But when you outright say “this is faster/better”, you’re ignoring your users are different people with different workflows, and that for them your method may actually be slower or more convoluted.

 

Some things really are (almost) always better and faster than the alternatives, but those are usually down to the code level. As soon as changes are UI related, that’s much harder to gauge.

Link to comment
  • 3 months later...
11 hours ago, franctastic said:

could you include the utilities folder?

 

Done in the latest version.

 

11 hours ago, franctastic said:

because APPs are not sorted in alphabetical order?

 

They are. If they’re not for you, it’s a weirdness in your setup. Upgrade to the latest version, open the debugger, set the log output to “All Information”, and post the output.

Link to comment

@Vitor

 

Mine is set to English, (US) using 10.13.3 beta formatted as APFS w/ FileVault enabled, and no alphabetical order of items. :( 

 

Would you still like the debugger info posted here ?  Ah never mind here it is...Just incase you can use it.

 

[2018-01-16 21:18:30][input.scriptfilter] Queuing argument '(null)'
[2018-01-16 21:18:35][input.scriptfilter] Script with argument '(null)' finished
[2018-01-16 21:18:35][input.scriptfilter] {"items":[{"title":"LanScan Pro","subtitle":"5.0","arg":"5.0","icon":{"type":"fileicon","path":"/Applications/LanScan Pro.app"}},{"title":"DVD Player","subtitle":"5.8","arg":"5.8","icon":{"type":"fileicon","path":"/Applications/DVD Player.app"}},{"title":"PeakHour 4","subtitle":"4.0.7","arg":"4.0.7","icon":{"type":"fileicon","path":"/Applications/PeakHour 4.app"}},{"title":"iNet Network Scanner","subtitle":"2.4.5","arg":"2.4.5","icon":{"type":"fileicon","path":"/Applications/iNet Network Scanner.app"}},{"title":"Siri","subtitle":"1.0","arg":"1.0","icon":{"type":"fileicon","path":"/Applications/Siri.app"}},{"title":"Universal Translator","subtitle":"2.0.1","arg":"2.0.1","icon":{"type":"fileicon","path":"/Applications/Universal Translator.app"}},{"title":"Viscosity","subtitle":"1.7.6","arg":"1.7.6","icon":{"type":"fileicon","path":"/Applications/Viscosity.app"}},{"title":"QuickTime Player","subtitle":"10.4","arg":"10.4","icon":{"type":"fileicon","path":"/Applications/QuickTime Player.app"}},{"title":"Chess","subtitle":"3.15","arg":"3.15","icon":{"type":"fileicon","path":"/Applications/Chess.app"}},{"title":"Remote Desktop","subtitle":"3.9","arg":"3.9","icon":{"type":"fileicon","path":"/Applications/Remote Desktop.app"}},{"title":"Flight Control HD","subtitle":"1.03","arg":"1.03","icon":{"type":"fileicon","path":"/Applications/Flight Control HD.app"}},{"title":"Photo Booth","subtitle":"9.0","arg":"9.0","icon":{"type":"fileicon","path":"/Applications/Photo Booth.app"}},{"title":"Drive Mounter","subtitle":"1.6.1","arg":"1.6.1","icon":{"type":"fileicon","path":"/Applications/Drive Mounter.app"}},{"title":"BetterSnapTool","subtitle":"1.8","arg":"1.8","icon":{"type":"fileicon","path":"/Applications/BetterSnapTool.app"}},{"title":"CapsLocker","subtitle":"1.2.1","arg":"1.2.1","icon":

 

--Snipped the remaining were just continuations of the apps installed. 

Link to comment
39 minutes ago, franctastic said:

some applications are inside folders, for example, all Adobe programs.
These applications do not appear in Alfred, any Adobe program.

 

That is on purpose. Doing an infinite recursive search would make the results take too long to appear. If you want versions for those apps, use the File Action.

Link to comment
19 minutes ago, franctastic said:

with a single level is enough.

 

Not for every case. Also, a lot of apps that are distributed inside a suite have a lot of accompanying apps that are helpers with arguably no interest.

 

This Workflow was itself started as a favour/request; I don’t even use it. I think it’s already good enough to cover most cases, and as such I have no plans to continue spending my free time on it to add features that benefit a single user. As stated previously, the File Action works just as well. The code is open-source, so you’re free to modify it to your needs.

Edited by vitor
Link to comment
  • 3 months later...

Oh well, just doing some spring cleaning and noticed it now worked. I have been on beta (Apple) for so long maybe something was borked on my end. I did a clean install a couple weeks back and just now getting my Mac back to "just so".  Anyway carry on.?

Edited by HuskyHerder
Link to comment
  • 2 years later...
  • 3 months 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...