Jump to content

RobRoyce

Member
  • Content Count

    7
  • Joined

  • Last visited

About RobRoyce

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Sorry, I should have added all of that info. MacOS: Catalina 10.15.2 Alfred: 4.0.7 as of the first post, but just updated to 4.0.8 and the problem persists. Parallels: 15.1.2 with Ubuntu and Windows images. I am running Alfred on my core MacOS build, and not within Parallels. I only mentioned Parallels because of "Clean Drive" and possible known issues with that. Search scope is set to default, with both `macOS Applications folder` and `Folders in Home` enabled. Also tried explicitly adding folders which knowingly contain file's I typically search on. ======================================================================================================================== Metadata Extraction /Applications/Safari.app Internal File Metadata ====================== Display Name: Safari Alt Names: File Type: com.apple.application-bundle Comments: Keywords: Last Used: 2019-12-15 17:39:47 +0000 Raw mdls File Metadata ====================== kMDItemFSContentChangeDate = 2019-12-15 17:39:47 +0000 kMDItemFSCreationDate = 2019-09-28 03:14:32 +0000 kMDItemFSCreatorCode = "" kMDItemFSFinderFlags = 0 kMDItemFSHasCustomIcon = 0 kMDItemFSInvisible = 0 kMDItemFSIsExtensionHidden = 0 kMDItemFSIsStationery = 0 kMDItemFSLabel = 0 kMDItemFSName = "Safari.app" kMDItemFSNodeCount = 1 kMDItemFSOwnerGroupID = 0 kMDItemFSOwnerUserID = 0 kMDItemFSSize = 1 kMDItemFSTypeCode = "" /Applications/iTerm.app Internal File Metadata ====================== Display Name: iTerm Alt Names: File Type: com.apple.application-bundle Comments: Keywords: Last Used: 2019-11-18 17:01:39 +0000 Raw mdls File Metadata ====================== kMDItemFSContentChangeDate = 2019-11-18 17:01:39 +0000 kMDItemFSCreationDate = 2019-11-18 01:42:26 +0000 kMDItemFSCreatorCode = "" kMDItemFSFinderFlags = 0 kMDItemFSHasCustomIcon = 0 kMDItemFSInvisible = 0 kMDItemFSIsExtensionHidden = 0 kMDItemFSIsStationery = 0 kMDItemFSLabel = 0 kMDItemFSName = "iTerm.app" kMDItemFSNodeCount = 1 kMDItemFSOwnerGroupID = 20 kMDItemFSOwnerUserID = 501 kMDItemFSSize = 1 kMDItemFSTypeCode = "" /Applications/Emacs.app Internal File Metadata ====================== Display Name: Emacs Alt Names: File Type: com.apple.application-bundle Comments: Keywords: Last Used: 2019-09-02 07:00:54 +0000 Raw mdls File Metadata ====================== kMDItemFSContentChangeDate = 2019-09-02 07:00:54 +0000 kMDItemFSCreationDate = 2019-09-02 07:00:54 +0000 kMDItemFSCreatorCode = "" kMDItemFSFinderFlags = 0 kMDItemFSHasCustomIcon = 0 kMDItemFSInvisible = 0 kMDItemFSIsExtensionHidden = 0 kMDItemFSIsStationery = 0 kMDItemFSLabel = 0 kMDItemFSName = "Emacs.app" kMDItemFSNodeCount = 1 kMDItemFSOwnerGroupID = 20 kMDItemFSOwnerUserID = 501 kMDItemFSSize = 1 kMDItemFSTypeCode = "" ======================================================================================================================== Metadata Remark Interestingly enough, there are some applications in the same folder as those above that do not appear in Spotlight or Alfred, such as: /Applications/Anki.app Internal File Metadata ====================== Display Name: Anki Alt Names: File Type: com.apple.application-bundle Comments: Keywords: Last Used: 2019-08-17 09:41:55 +0000 Raw mdls File Metadata ====================== kMDItemFSContentChangeDate = 2019-08-17 09:41:55 +0000 kMDItemFSCreationDate = 2019-08-17 09:41:55 +0000 kMDItemFSCreatorCode = "" kMDItemFSFinderFlags = 0 kMDItemFSHasCustomIcon = 0 kMDItemFSInvisible = 0 kMDItemFSIsExtensionHidden = 0 kMDItemFSIsStationery = 0 kMDItemFSLabel = 0 kMDItemFSName = "Anki.app" kMDItemFSNodeCount = 1 kMDItemFSOwnerGroupID = 80 kMDItemFSOwnerUserID = 501 kMDItemFSSize = 1 kMDItemFSTypeCode = "" I tried checking permission flags, but there's no discernible pattern. Some of the apps that Alfred can't find but Spotlight can have pattern drwxr-xr-x, while others have drwxrwxr-x. Note that I only chose a small subset of apps that worked in spotlight but not in Alfred.
  2. Update: Now it's not even finding Safari and other apps . Spotlight does show Safari, fwiw.
  3. Ok, the problem has returned overnight. Still an issue, and very annoying. It's making Alfred unusable for literally everything I need it for (spotlight is more useful at this point =/). Please help!
  4. Following up for posterity. It turns out I accidentally deleted xcode when running the Parallels disk cleaner. I think at the time I thought it would just remove the app, and not the cmd line tools. I was wrong. So i went ahead and did a full reinstall of xcode and cmd-line tools, and Alfred has been working fine since then (had to reboot and reindex). I'll update if the symptoms return, but I think its good now.
  5. Hello, Starting a few days ago, my Alfred setup completely broke. Alfred no longer shows results from any folders other than /System/Applications, ~/Applications, my home (~) directory, and for some reason, a lone result from /usr/local/Cellar. I figured this out by manually searching for every a-z letter (i.e. find a, find b, ...). Interestingly enough, most of what I'm trying to search on is within my home directory, but Alfred only shows the top level folders (and no results appear when I search on a known file outright). I have uninstalled and reinstalled Alfred, deleted the Alfred files by following this guide, restarted (not factory reset) my Mac, forced spotlight to reindex, and added all files to "Prevent spotlight from searching..." and removed them (this was another suggestion to get spotlight to reindex). Of considerable note here, Alfred cannot find applications in Macintosh HD/Applications but it CAN find apps in Macintosh HD/System/Applications, and in ~/Applications. Also of importance, Spotlight CAN find these files, so that makes me think Alfred is the problem here. Some things that I recently did with my Mac include: Within the past month Installed a Windows 10 and Ubuntu 18.04 instance in Parallels (Alfred STILL worked after/during this) Installed MacOS 10.15.2 security update Within the past week (around the time problems started) Installed RStudio which required the installation of Xcode command line tools ( I was surprised to find I didn't have this installed, but alas, I upgraded my Mac a few months ago and haven't had the need for in until now) My Parallels Ubuntu had this weird issue where Shared Network didn't want to work. I had to run it in bridged mode, then it just went back to normal on its own. Any ideas here? Edit: Forgot to mention, I also ran the "Clean Drive" utility in parallels toolbox. It cleared out a bunch of crap, mostly old backups that I didn't want on the native drive anyway.
  6. I guess I solved my own problem, turns out AppleScript doesn't include punctuation marks in the "word" category. I changed all instances of "word" to "text item" and it worked perfectly!
  7. This is my first AppleScript workflow, I've spent almost two days trying to figure out what I'm doing wrong. Basically the alfred command is "text [name] [message] and it will send a message to the number associated with [name]. So far, I haven't incorporated Contacts into it, so the friend names are hard coded (friend1, friend2, etc changed in the code below for privacy). It works so far as basic functionality goes, but it's doing this really weird thing and I don't understand why. Basically, the punctuation marks (!@#%&*(),.?/"') are completely removed from the message, but ($ and ^) are fine for some reason. I tried escaping the characters with \, /, " ", and ' ', but none of those work. Can anyone point me in the right direction? on alfred_script(q) --Save original applescript delimiter set saveTID to text item delimiters --Set new delimiter set text item delimiters to " " set buddyNumber to "+0" --Get name set buddyName to first word of q as text --Get message set buddyMessage to words 2 thru end in q as text log "name: " & buddyName log "message: " & buddyMessage if (buddyName) is "friend1" then set buddyNumber to "+18880009999" else if (buddyName) is "friend2" then set buddyNumber to "+19998880000" else if (buddyName) is "friend3" then set buddyNumber to "+10009998888" end if log "number: " & buddyNumber tell application "Messages" set targetBuddy to buddyNumber set targetService to id of first service whose service type = iMessage set textMessage to buddyMessage set theBuddy to buddy targetBuddy of service id targetService send textMessage to theBuddy end tell --Reset delimiter set text item delimiters to saveTID end alfred_script Edit: I'm an idiot for not reading the post instructions on the sticky. Here's the workflow, but you'll need to replace the fake numbers with ones that actually work (I use my own number for testing). Also, you need to have an active conversation in iMessages with the person you are trying to text, else it will simply open iMessage and do nothing. Alfred Version: 3.7 MacOS 10.14 Mojave Text Message Workflow
×
×
  • Create New...