Jump to content


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

861 profile views

johnathanz's Achievements

Helping Hand

Helping Hand (3/5)



  1. Hi @vitor. That was it. I had python Python 3.12.2 in my homebrew bin directory but python 3.9.2 in as /usr/bin Thanks a lot
  2. Hi there I'm trying to create a hot key based, media control workflow from this gist. Simulating how Alfred workflow will work: 1. creating a directory with the gist 2. getting the "pyobjc" package locally using 3. adding this line before the "import Quartz" line: 4. In my local directory, I run "python3 <python_file_name>.py playpause", and it works When I do the same with the Workflow however, I get this error for the "import Quartz" statement The issue relates to the objc library which I haven't changed. Any idea what I'm doing wrong for this to work in Terminal, but not in an Alfred Workflow? Thanks!
  3. +1 Just ran into this use case where I needed to drag & drop 3 files in the same directory that are similarly named (so I searched for the naming pattern).
  4. I'm modifying the Alfred Notion Workflow: https://github.com/wrjlewis/notion-search-alfred-workflow Here's my modified version: https://www.dropbox.com/s/5gk76u8aln22opc/Notion Search_JZ.alfredworkflow?dl=0 Basically trying to pass whatever user's chosen from "Script Filter" to "Run script" Unfortunately, it's not working with AppleScript - fails because Alfred adds trailing white space (stripping it out doesn't work 🤔) set theQuery to item 1 of argv tell application "System Events" to tell process "Notion" click menu item "New Window" of menu 1 of menu bar item "File" of menu bar 1 end tell return theQuery end run tried a Python Run Script (which opens 2 New Windows 🤯) import sys from subprocess import Popen, PIPE query = sys.argv[1] script = ''' # activate application "Notion" tell application "System Events" to tell process "Notion" click menu item "New Window" of menu 1 of menu bar item "File" of menu bar 1 end tell''' p = Popen('osascript', stdin=PIPE, stdout=PIPE, stderr=PIPE) p.communicate(script) sys.stdout.write(query) Any idea: 1) Why the AppleScript adds trailing spaces? AND 2) Why the Python Run Filter passing parameter using `sys.stdout.write()` to a Python Run Script to Open URL opens the URL twice? Thanks!
  5. I made some changes to @wrjlewis Workflow: * Added title search - use "nt" * Works with Notion Desktop instead of Notion web * Cosmetic changes in search results Download the workflow here if interested: https://github.com/johnathanz/notion-search-alfred-workflow
  6. @wrjlewis Thanks so much for creating this plugin. It's pretty awesome! @MasterBruce to have the plugin work with desktop version of Notion: 1) you click the Script in Alfred workflow 2) in the Script Field, search for the words (there should be 2 instances) http://www.notion.so/ 3) replace the text with: notion://www.notion.so/
  7. Hi everyone I recently switched over from Spotify to Apple Music. Love the fact that Alfred has Mini Player built in. However on a reboot, when I tried to start Mini player (using hot key, or "iTunes" keyword), it just crashes Alfred. To the extent where hot key used to invoke Alfred stops working. Activity Monitor lists Alfred has still fine. I'd have to kill Alfred from Activity Monitor, and restart it for Alfred to work again. Seem to only happen if I try to start Mini player when iTunes isn't already running. I'm used to how Alfred Spotify Mini Player will try to start Spotify if it's not running, wondering if this correct behaviour for Alfred Mini Player? Running on Mac Mojave (10.14.6) Alfred v 4.0.9 [1144] iTunes Version
  8. Hi there Alfred v3.2.1[768] currently hangs on Sierra 10.12.2 (Macbook Pro 2016) when opening an App for the first time. What is happening is Mac's "are you sure you want to open this app, you just downloaded it from the internet" () appears behind Alfred, with the window focus, freezing the Alfred window. Steps to repeat: 1) Download an app like Bartender, Skitch etc from the web 2) Move the app to Application folder, give Alfred about 2 sec to index it 3) Try to open the new Application with Alfred (i.e. CMD-Space, type "Bartender", press Enter) 4) Alfred freezes Upon killing Alfred with Activity Monitor, you'll see a screen like below appearing behind Alfred Previously, on El Capitan, I think Alfred moved the modal screen in front of Alfred, and dismissed the Alfred bar itself. Let me know if further info is required.
  9. What I've done is add Evernote as an app under "User & Groups" > Login With the "hide" option ticked. This way Evernote starts on bootup and you don't get the issues as mentioned. Carlos-Sz, I'm curious as to how "ent" works, I thought it would only search through the title of the notes, but that doesn't seem to be case (see attached screens for "ent" and "ens" comparisons). May be I'm understanding this wrong? ent http://imgur.com/1s1vinR,ozsgtcP#1 ens http://imgur.com/1s1vinR,ozsgtcP This is a brand new install of the latest plugin as of yesterday. Again, brilliant plugin, really appreciate your work on it. It's been an indispensable tool for my daily use!
  10. Hi there is there anyway to launch an application (e.g. Marked 2) with a specific path? I'm trying to open a file with an application that I wish for Alfred to launch, so something along the lines of: "marked 2 <path to file>" Should hopefully open the file in marked 2. Thanks!
  11. Hey mannie, thank you for creating this workflow. It's awesome on steriods. How do I include a tag as part of creating a new task? It doesn't appear to be documented at: http://mannieschumpert.com/quicktask/ Thanks!
  12. The process I use to query a note is: e.g. type 'ent recipes', and press CMD-2, CMD-X to get the right note. Pressing ENTER after typing 'ent recipes' will only show me Evernote. I think it's an issue with having too many desktops. I usually have up to 5 desktops running across 2 monitors. And the script basically brings up the note on one of the other desktop that's not in focus right now. Is there anyway to modify the script give the note focus?
  13. Carlos-sz. When I use the workflow to say find a note, Evernote stays in the background. I have to CMD-TAB to evernote after every search (ent, ens) inorder to see the results. Is this a result of the workflow or evernote itself?
  • Create New...