Jump to content

gingerbeardman

Member
  • Posts

    227
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by gingerbeardman

  1. I use different, non-default browsers from time to time, and it's annoying when Alfred opens a page in the default browser when I do not have it open. It would be great if there was an option for current/active browser. Which I guess would be the most recently used browser if multiple are open? Browser may not always be frontmost app.
  2. have Alfred with Powerpack install Workflow look at commands listed in Workflow (artist, album, song, etc) summon Alfred type command from earlier (artist, album, song, etc) Note, this is an old workflow so requires one of the following folders to be present to work. ~/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data ~/Library/Application Support/Alfred 3/Workflow Data
  3. Here's the icon I am using, I claim no ownership so anybody is free to use it.
  4. Some command have strange output obscuring their description, see. automation_trampoline(8) I also dislike the icon, it's too busy. But I'll just paste over my own choice.
  5. I've just switched to this workflow from the one you were inspired by. So far working great, thanks! What annoyed me about the old workflow was that every so often it would reindex, and of course you only notice those several seconds when you are in a hurry to look something up and it takes me out of my work zone. I wonder if it's possible to present the Man page in a Quicklook panel? I usually go with the Terminal approach, but it's not ideal in that it often clutters up my terminal session. I don't like HTML and PDF for similar reasons, and moreso because their apps are even slower to open than Terminal.
  6. I'd be happy to test yours. I'm not wedded to this one by any means!
  7. Thanks both. I'm on Mojave 10.14.6 with latest Alfred 4.0.7. I was using version v2.0 of the workflow which had been working until recently. I have it working again. I redownloaded it from here: https://github.com/isometry/alfred-man/releases Also the older version in the OP still works for me. Here's the export of the version I have that stopped working but also now works. https://transfer.sh/15SdBV/man-exported.alfredworkflow Perhaps a corrupt cache? I deleted a workflow data folder for this. BTW I saw this in debug: [18:39:43.265] Logging Started... [18:39:43.301] Logging Stopped. [18:39:43.983] Logging Started... [18:39:51.606] man[Script Filter] Queuing argument 'x' [18:39:51.815] man[Script Filter] Script with argv 'x' finished [18:39:51.818] ERROR: man[Script Filter] Code 1: makewhatis: /dev/stdout: Too many levels of symbolic links makewhatis: /dev/stdout: Too many levels of symbolic links Traceback (most recent call last): File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 149, in <module> print(complete()) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 103, in complete whatis = fetch_whatis(cache_ttl) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 47, in fetch_whatis raw_pages = subprocess.check_output(WHATIS_COMMAND, shell=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 223, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '/usr/libexec/makewhatis -o /dev/stdout `/usr/bin/manpath`' returned non-zero exit status 1 [18:39:53.783] man[Script Filter] Queuing argument 'xa' [18:39:53.941] man[Script Filter] Script with argv 'xa' finished [18:39:53.945] ERROR: man[Script Filter] Code 1: makewhatis: /dev/stdout: Too many levels of symbolic links makewhatis: /dev/stdout: Too many levels of symbolic links Traceback (most recent call last): File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 149, in <module> print(complete()) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 103, in complete whatis = fetch_whatis(cache_ttl) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 47, in fetch_whatis raw_pages = subprocess.check_output(WHATIS_COMMAND, shell=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 223, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '/usr/libexec/makewhatis -o /dev/stdout `/usr/bin/manpath`' returned non-zero exit status 1 [18:39:55.204] man[Script Filter] Queuing argument 'xat' [18:39:55.367] man[Script Filter] Script with argv 'xat' finished [18:39:55.374] ERROR: man[Script Filter] Code 1: makewhatis: /dev/stdout: Too many levels of symbolic links makewhatis: /dev/stdout: Too many levels of symbolic links Traceback (most recent call last): File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 149, in <module> print(complete()) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 103, in complete whatis = fetch_whatis(cache_ttl) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 47, in fetch_whatis raw_pages = subprocess.check_output(WHATIS_COMMAND, shell=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 223, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '/usr/libexec/makewhatis -o /dev/stdout `/usr/bin/manpath`' returned non-zero exit status 1 [18:39:55.436] man[Script Filter] Queuing argument 'xatt' [18:39:55.592] man[Script Filter] Script with argv 'xatt' finished [18:39:55.601] ERROR: man[Script Filter] Code 1: makewhatis: /dev/stdout: Too many levels of symbolic links makewhatis: /dev/stdout: Too many levels of symbolic links Traceback (most recent call last): File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 149, in <module> print(complete()) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 103, in complete whatis = fetch_whatis(cache_ttl) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 47, in fetch_whatis raw_pages = subprocess.check_output(WHATIS_COMMAND, shell=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 223, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '/usr/libexec/makewhatis -o /dev/stdout `/usr/bin/manpath`' returned non-zero exit status 1 [18:39:55.708] man[Script Filter] Queuing argument 'xattr' [18:39:55.864] man[Script Filter] Script with argv 'xattr' finished [18:39:55.874] ERROR: man[Script Filter] Code 1: makewhatis: /dev/stdout: Too many levels of symbolic links makewhatis: /dev/stdout: Too many levels of symbolic links Traceback (most recent call last): File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 149, in <module> print(complete()) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 103, in complete whatis = fetch_whatis(cache_ttl) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 47, in fetch_whatis raw_pages = subprocess.check_output(WHATIS_COMMAND, shell=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 223, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '/usr/libexec/makewhatis -o /dev/stdout `/usr/bin/manpath`' returned non-zero exit status 1
  8. This has stopped working for me in a recent version of Alfred? man<space> gets me the menu item but any further typing sees it go away and i can therefore not get any useful results. Screen recording: https://imgur.com/a/neDNArt
  9. You may get a hint looking inside the new Music.app for the URL schemes in its Info.plist
  10. Most likely. Sadly, I will not be able to reproduce as I have no intention of moving to Catalina. Also, it's possible to install iTunes etc on Catalina: https://appleinsider.com/articles/19/10/28/free-retroactive-tool-brings-aperture-itunes-back-to-life-in-macos-catalina
  11. Thanks. I actually prefer to avoid clicking menu items but I'll compare performance and consider integrating your change that in future!
  12. Are you running Catalina by any chance?
  13. Interesting! I don't have time to fix - paid work takes precedence at the moment - but it should be simple enough to track down the correct URL for that type of search.
  14. A donation would be appreciated! Creating these new files took 30 minutes of my life.
  15. Sure thing! I've added Artist search to both iTunes Music Store and Apple Music workflows. Downloads: https://www.gingerbeardman.com/alfred/ If you find this useful, please leave a donation via the button on my site. Support open-source software ❤️ cheers, matt
  16. ProcessControl does not allow restarting of an app as far as I can see? I found the OP workflow here: https://github.com/jonathanwiesel/alfred-workflows/tree/master/Alfred v2 Extensions/Restarter But I find that Restart App by renegaed works better: http://www.packal.org/workflow/restart-app HTH matt
  17. I rebuilt it using https://isitdown.site https://www.gingerbeardman.com/alfred/is-it-down.alfredworkflow Hope that's cool!?
  18. This has not working as expected for me. edit: it seems like the service has DDoS check now and the API requires authorisation. https://downforeveryoneorjustme.com/jonstirling.co.uk says down debugging:
  19. FSNotes (File System Notes) is modern plain text note taking app, like notational velocity (nvALT) on steroids, for macOS (and iOS). https://fsnot.es It respects open formats: plain/text, markdown, rtf, and stores data in the file system. You can view, edit, copy data in favourite external editor and see live results in FSNotes. Workflow allows searching, creation, selection, use of Clipboard, etc. Alfred Gallery https://alfred.app/workflows/gingerbeardman/fsnotes/ (related thread) Source code https://github.com/gingerbeardman/fsnotes-alfred-workflow/ Screenshots all options file system search
  20. I have some workflows that act as hotkey snippets, typing (pasting) certain phrases when I press a key combo. Example new workflow that does the same as my workflows: https://0x0.st/zMcF.zip In V4 such workflows that were migrated from V3 are all producing two pastes rather than one. So I expect testing But I get: testingtesting My workaround has been to toggle the “auto paste to front most app” which seems to fix it for that workflow. No idea what is happening, or why, but thought I would post the workaround.
  21. The standard theme does not have that border, check your Alfred Appearance settings?
  22. You may be able to bypass Alfred completely using iTunes URL Scheme, but I cannot help you with that. https://stackoverflow.com/questions/31194155/apple-music-url-scheme
×
×
  • Create New...