Jump to content

Alfred About This Mac


andy4222

Recommended Posts

@suliveevil, I found @xilopaint workflow to be more useful (although it might have fewer github stars). Their workflow shows information that is more in-sync with the "About" menu. Like serial number, processor type/model, type of RAM (DDR etc.). Although I must say the workflow you shared is faster, but then again depends on the command being executed underneath. 

 

@xilopaint Do you think you can make it a little faster. One has to wait 4-5 seconds before the results show up. 

Link to comment
Share on other sites

I just released a new version of the workflow with some fixes and support for Apple Silicon.

 

17 hours ago, andy4222 said:

@xilopaint Do you think you can make it a little faster. One has to wait 4-5 seconds before the results show up.

 

It's not slow on new Macs but it's possible to make it faster by caching the machine icon generated by the getMacIcon.applescript. Unfortunately my AppleScript skills are a bit outdated so I would be happy if @vitor or someone else could submit a PR.

Edited by xilopaint
Link to comment
Share on other sites

On 10/14/2022 at 10:05 PM, andy4222 said:

Tried the latest version, it works great but still a bit laggy. I usually use it once every few weeks so not a big deal but if it's a tiny thing to make it faster, I think we should do it. 

 

A new version has been released with improved performance. Thanks to @vitor.

Link to comment
Share on other sites

14 hours ago, andy4222 said:

Updated to v1.3 but it's still the same. I see that a change for caching the machine icon was made, but even on re-running it a few times, it takes the same amount of time (4ish seconds)

 

v3 takes less than 1.5s on my MacBook Air 2017. On my MacBook Pro 2022, v3 is twice as fast as v2 (0.5s against 1s).

 

Could you post the output of Alfred debugger for v1.2 and v1.3? Just hide your serial number.

Edited by xilopaint
Link to comment
Share on other sites

v1.2

[10:52:43.029] About This Mac[Script Filter] Queuing argument ''
[10:52:46.065] About This Mac[Script Filter] Script with argv '' finished
[10:52:46.068] About This Mac[Script Filter] {"items": [
....

 

v1.3

[10:57:34.007] About This Mac[Script Filter] Queuing argument ''
[10:57:36.070] About This Mac[Script Filter] Script with argv '' finished
[10:57:36.074] About This Mac[Script Filter] {"items": [
......

 

Seeing the debugger numbers, it seems to a second faster (3 secs vs 2 secs), but if I track it end-end (until the point things are displayed back to the user, it feels the same). 

 

PS: items were the same

Edited by andy4222
Link to comment
Share on other sites

2 minutes ago, xilopaint said:

It's not the same. You see the items 1 sec faster indeed

Yeah, that's what I meant by the difference in time in debugger logs, but if I use a timer to see the result, it takes around the same time. IDK if that's the rendering taking that time.

 

MacBook Pro 2019, i7, 32GB

 

 

Link to comment
Share on other sites

My machine runs smooth overall with intensive tasks. Even with other workflows that do a lot more (sql operations, processing, shell scripts etc), they are pretty fast (<1 sec rendering of results) compared to this utility which executes a shell script. So I'm not sure if its an environment issue. Either way, it's fine, I don't use this everyday so not worth spending that much time. Thanks for looking into this though! :)

Link to comment
Share on other sites

On 10/13/2022 at 7:01 PM, suliveevil said:

I'm using this workflow with pretty much the same function:

 

https://github.com/alanhg/alfred-workflows/tree/master/about-mac

 

That has overlapping but different information (e.g. it has the IP address but not the uptime). No harm in adding both to cover different needs and preferences. If it’s something you use and would like to see added, I’ll need a screenshot as per the pinned post:

 

Quote
  • Static images (i.e. not a video or animated GIF).
  • Of the full Alfred window, with shadow and no background: press ⌘⇧4 then hit the space bar; hover over the Alfred window and click.
  • Retina. If you don’t have a retina screen, let us know.
Link to comment
Share on other sites

4 hours ago, vitor said:

 

That has overlapping but different information (e.g. it has the IP address but not the uptime). No harm in adding both to cover different needs and preferences. If it’s something you use and would like to see added, I’ll need a screenshot as per the pinned post:

 

 

I won't suggest others to use this one because xilopaint's workflow is prettier :P

Edited by suliveevil
Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
On 11/27/2022 at 9:50 AM, xilopaint said:

Hey @vitor, just to let you know I removed OneUpdater and updated the icon. I haven't made a new release though, so the new changes will be available in a new release once the Gallery is launched. Should I commit a version bump now?

 

@vitorthe Gallery shows the old workflow icon. Could you update?

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