Jump to content

Stratocumulus

Member
  • Content Count

    11
  • Joined

  • Last visited

  1. OK, thank you for the Debugger tip, I had never used that before. It certainly helped. I just had to replace this from the beginning of my script: #!/usr/bin/env python3 With this: #!/usr/local/bin/python3.7 Anyway, turns out what I really wanted was the Terminal Command Action anyway, not Run Script. All is well now. Thanks.
  2. Hello, I have a Python script which uploads some files. It outputs a few messages to the console when running. I've added the PATH to its location in .bash_profile and so I can run it from anywhere just by typing the name (I have also removed the .py extension to make that easier). I'd like to be able to run it using an Alfred keyword. I've created a blank workflow, added a keyword input and connected a Run Script action to it. I've selected "Exernal Script" and entered the name. This didn't work, so I modified the "Script File" field to include the full path to the file. This made the actual text contents of the script appear in the window of the Script Action, but the action still doesn't do anything. What am I doing wrong? Thanks. (macOS 10.14.6 BTW)
  3. Hello. I don't know if it's directly related to the OP but since upgrading to Alfred 4 (and migrating preferences and workflows), Alfred doesn't find applications in subfolders anymore (e.g. /Application/DaVinci Resolve/DaVinci Resolve.app). Spotlight does so without issue. Is there a preference I should tick anew somewhere? EDIT: Fixed by searching for the app with Spotlight, launching it, and trying again after around 30 minutes. Weird but hey.
  4. The Privacy tab back-and-forth dragging seems to have solved this issue. Thank you very much for your help!
  5. When I drop the file on the Metadata Tool I get this: /Applications/DaVinci Resolve/DaVinci Resolve.app Internal File Metadata ====================== Display Name: Alt Names: File Type: Comments: Keywords: Last Used: Raw mdls File Metadata ====================== If I prefix the search with "open" then Alfred opens the enclosing folder (which is the same name as the app, which may be the problem here).
  6. Hello, Weird thing, using Mojave 10.14.1 (not sure if it happens in High Sierra or previous versions), Alfred 3.7 [938], easy and consistently replicatable: Alfred only recognizes two of the three apps in the "DaVinci Resolve" folder, which is the default folder created by that application inside the "Applications" folder. The problem remains even if I manually add the "DaVinci Resolve" folder to the Search Scope list in Preferences. Thanks for your help.
  7. OK thanks, I'll see what I can dig up there and post back if I find anything meaningful...
  8. I've created another user but, as things happen, I forgot to switch... So I had one more go with my regular account after changing the following settings in System Preferences : Energy Saver : Turn display off after "never" & Security and Privacy : disabled "required password" after sleep. I then left the computer idle for an hour or so. Came back, the disks weren't spinning, launch Alfred and everything was fine, no spin-ups or anything when launching applications. So either (1) creating a second user magically fixed things (not likely) or (2) the spin-up only happens in real-world scenarios (i.e. in the middle of work with a dozen apps running) which would be very difficult to diagnose. Is there a log file or something I could look at which updates whenever Alfred is launched? Thanks a lot for your ongoing support.
  9. Not that I know of. I have two drives, A & C, attached via Thunderbolt. Each is divided into two partitions, A1, A2, C1, C2. In Spotlight Preferences I have excluded volumes A1 & C1 (A1 is data I never need to search, C1 is a Time Machine volume). I could try excluding the other volumes, but I don't know how it could help — in Alfred I only have "Preferences" and "Contacts" ticked in the Essentials category, and nothing in the Extras. The only other "system" link to the external volumes is the iTunes Media Folder which resides on A2, but it is not symlinked, it's just the "iTunes Media folder location" in iTunes. The library itself (.itl etc) is on the internal drive. And anyway this problem happens even when iTunes isn't running. I've even clicked the "Reset" on the search scope just to make sure, although it didn't modify anything in the list. Can't think of anything else.
  10. The only workflow I have is setting Sound Output via AppleScript with a few keyboard strokes, nothing search-related. The script only does this: on alfred_script(q) set asrc to "Focal XS Book Wireless" as text -- display dialog "src is: " & asrc display notification with title "Focal Wireless" tell application "System Preferences" reveal anchor "output" of pane id "com.apple.preference.sound" activate tell application "System Events" tell process "System Preferences" select (row 1 of table 1 of scroll area 1 of tab group 1 of window "Sound" whose value of text field 1 is asrc) end tell end tell quit end tell end alfred_script I'm using pretty much a vanilla install of Alfred and haven't done anything really fancy with it yet.
  11. I've been at it several times, unchecked the "eject" option in Preferences and selected the suggest option below. There are no external drives in the search scope, but they are still spinning up every time I launch Alfred. Any other ideas? Thanks.
×
×
  • Create New...