Jump to content


  • Content Count

  • Joined

  • Last visited

About mikejandreau

  • Rank
  • Birthday 09/29/1979

Contact Methods

  • Twitter
  • Website URL

Profile Information

  • Location
    Boston Suburbs

Recent Profile Visitors

1,467 profile views
  1. And now, after telling Alfred to rebuild its cache as one last whim, even though I've done it 5 times already, Spotlight seems to have fixed itself. Maybe it was my reboot. Maybe it was luck. But in any case, it seems to have fixed itself, so I'm all good.
  2. I know this isn't directly related to Alfred, but since it's affecting my use of Alfred, I thought someone here might have some insight. An external drive of mine is acting up in that Spotlight won't index the subdirectories of some of my directories. Alfred finds (because Spotlight has indexed it), for example, /Video/TV Shows, but not /Video/TV Shows/anything-in-there Same with /Video/Movies, that top level shows up, but none of the folders within. The only thing fishy is that I've explicitly added /Video/TV Shows and /Video/Movies to Alfred. If I remove them from my settings, Alfred doesn't find them (my guess is because Spotlight isn't working) I tried forcing Spotlight to re-index the entire drive, which it looks like it finished because the "Indexing..." in Spotlight is gone, but there's no .Spotlight-V100 file on the drive, like there is with other external drives. I tried forcing it to index with sudo mdutil -E / which shows "Indexing enabled". I'm stumped and wondering if anyone else has any thoughts on what I can try.
  3. I spoke too soon, re-enabling Spotlight didn't seem to fix the issue. The Metadata checker finds the right info now and permissions all look good, but most of my apps still don't get found by Alfred. What else can I try?
  4. As usual, I spent half an hour trying to re-enable Spotlight on the new drive in Terminal, fighting everything along the way. Come to find out, there's a setting that for some reason was running against the new Drive: My new drive _was_ list there. Removed it. Rebuilt the cache in Alfred and voila, magic. Thanks for pointing me in the right direction @Vero!
  5. Hey @Vero That URL redirects to https://www.alfredapp.com/help/troubleshooting/indexing/mdls/ so I don't see a step 4 there to try. I did re-enable Spotlight in Bartender and it's not finding any of my Applications either, so something's amiss there. I ran some checks on that, and it looks like Spotlight indexing and searching is disabled on the new drive: /: Indexing and searching disabled. /System/Volumes/Data: Indexing and searching disabled. The normal commands to get it running aren't working, but I can't figure out why. I'll contact the manufacturer of my new drive and see what they say. Also the Metadata tool can't get Metadata for any of my apps. The ones I tested come back with "Unable to obtain metadata for this file!". So something's amiss here.
  6. Last weekend, I swapped my primary drive in my Trash Can Mac Pro to a new one. It went swimmingly. Alfred no longer finds anything in my /Applications folder. I've tried: Rebuilding macOS Metadata, Clear Application Cache, removing and readding the directory to my settings. It's still not finding any of my Apps. What am I missing?
  7. As a test, I moved the Alfred.preferences file to a new location and let it sync on my desktop. Then I updated my laptop. Then, I grabbed the export of the workflow that wasn't syncing before and imported it. It showed up right away on my desktop. So, I guess moving the preferences file around kicked whatever was unhappy and now it's fixed.
  8. In reading through some older forum posts, it sounds like different versions of macOS can cause syncing problems. My two machines are on different versions, but always have been (my work machine is always a version behind because IT are slow to approve upgrades).
  9. Up until recently, my preferences and workflows synced between machines wonderfully. Something recently broke and I'm not seeing workflows sync anymore through Dropbox. I know Dropbox is syncing on both machines, as I just dropped a file from my desktop machine into it and I see it on my laptop almost immediately. Both Alfred instances are set to sync from my Dropbox folder. But for some reason, the workflows aren't syncing. As a test, I create a new one on my desktop and don't see it syncing over to my laptop. However, if I delete the Alfred.preferences file from Dropbox, I see my workflows immediately start disappearing from both machines. So the syncing is working right, but just not for new workflows. Any pointers on what I should look for to troubleshoot this?
  10. Thanks for the feedback, everyone. I think I'm going to go with the simpliest option of prefacing the setup options with : I'm also going to consider making some changes @deanishe suggested around the keywords and using external files and whatnot. I already made the change to the "tell application" stuff. Thanks again!
  11. I feel like I've seen other workflows do this, but I can't find one to copy from. Here's what I'm after: the workflow I'm building offers a "setup", where it asks users questions that they answer, and then the info get stored in variables. Each step of that setup is using a keyword (so if they want to jump right to a specific step, they can). What I'd like to do is after the first time setup is completed to hide those options if someone types in the keyword again. The reason I want to do this is that I've set the keywords to similar words to other keywords I'm using in the workflow (ie; "away" triggers an Away message, but "awaysetup" is the keyword to set that message in the variable). So, ideally, after setup is complete, if I type "away", I wouldn't see the option for "awaysetup" in Alfred. Here's my workflow (happy for any other input on anything I've done terribly!) for those who want to take a peek: https://www.dropbox.com/s/k2tk3vnu7tpdxfd/Change Slack Status %26 Play%3APause multimedia.alfredworkflow?dl=0 Its purpose: update Slack status to a specific status message, set away mode, and pause music/video & mute my computer when I leave my desk. Then "undo" it all when I'm back. It's the "statussetup" section I'd love to hide from Alfred seeing it once it's been completed the first time. If that's possible, I'd love some guidance. If what I said makes no sense, I'm happy to clarify!
  12. Brilliant. Thanks @Andrew! Would the same apply if I'm trying to grab the name of a variable to stuff into tell application "VARIABLE HERE" to activate
  13. While we're on it, I also need to grab the "Franz" value from a variable in this line, too: tell application "Franz" to activate With it being AppleScript, it needs to be in quotes, but I can't figure out how to grab the value there and have it be in quotes to appease the AppleScript.
  14. @Vero I can't share the whole Workflow, as it has some company proprietary info in it right now. But here's the "Run NSAppleScript" bit I'm working with, in its entirety: on alfred_script(q) tell application "Franz" to activate tell application "System Events" keystroke "/away " delay 2.5 key code 36 key code 36 delay 2.0 keystroke "/status " set the clipboard to {var:away} tell application "System Events" keystroke "v" using {command down} delay 2.5 key code 36 end tell key code 48 using {command down} end tell if application "Spotify" is running then tell application "Spotify" pause end tell end if end alfred_script Essentially, this bit of the workflow looks to see which Application is running (in my case, Franz), then sends some keystrokes to it to change the status. Then it goes on to pause Spotify. Until now, I'd hard coded the "var:away" bit, but I am rewriting to share with my colleagues and want people to be able to set their own messaging there. Hence the variable. (I have another part of the workflow where they setup all the variables, which is working fine). I suppose I could break this up and use the "Copy to Clipboard" Output in the workflow, but that could get messy with a bunch of different options I'm building in. But if it's the only way, I'm happy to give that a whirl.
  15. I'm building a workflow, and as part of it, I need to copy a variable to my clipboard using Applescript I'm using set the clipboard to {var:VARNAME} and also tried set the clipboard to "{var:VARNAME}" But neither has worked. Is it possible to grab the value of a varname and put it on my clipboard in this manner?
  • Create New...