Jump to content

petebocken

Member
  • Posts

    48
  • Joined

  • Last visited

Everything posted by petebocken

  1. % /usr/libexec/PlistBuddy -c 'Print:Phone' '/Users/peter/Library/Application Support/AddressBook/Sources/336CF002-F2FC-41D8-B761-68FBD7A53613/Metadata/52299394-FE3F-4A59-9F22-73EDC8AADDEA:ABPerson.abcdp' Dict { identifiers = Array { 5CDBF59B-7C58-433A-99F6-6B5666376541 E3628392-C195-46C1-BE38-F5C3B709A3FD } values = Array { 1 (800) 872-2657 (612) 872-2657 } primary = 5CDBF59B-7C58-433A-99F6-6B5666376541 labels = Array { _$!<Main>!$_ _$!<Work>!$_ } }
  2. That's what I thought as well, but it's not. Not sure I see any issues with debugger, but this is the first time I'm using it.
  3. Thanks! It appears to work, but not for every contact in my address book. Can't really figure out a rhyme or reason though.
  4. @Slartibartfast "call [contact name]" still doesn't work though. You have to instead search for the contact name, go into the contact, and then action the phone number. "call [contact name]" just opens the contacts app and Facetime app and does nothing.
  5. @Joachim Yup, same here. Only way you can get that to work is to just search for the content and then execute on the contact's number.
  6. Thanks @Vero. One thing of note that the workflow does is allow you to call any number by typing for example "call 18004444444" instead of only your contacts. I use this all the time with Handoff at my Mac to never have to pickup my iPhone to call my contacts but also any number, as well as answering incoming calls. I've tested on macOS 13 Ventura and the workflow still functions. However, the FaceTime app opens in the foreground and starts the camera (just like the native Alfred call function does). In Big Sur, it did not do this. It would just leave the FaceTime app in the background and not turn on the camera.
  7. I've probably created quite the convoluted workflow, but it appears to work exactly how I want... I want to have a single hotkey (I'm actually assigning this as a single key on my keyboard) that when executed gives me a list of 3 keyword actions (open the Fantastical new event, open the Todoist new task and open a new Craft doc). I've prefixed all 3 keywords with "add!-" and then my Hotkey has a text argument with that text. So that way when the Hotkey is pressed, it only shows the 3 actions. This works perfectly, however the order the "Task", "Event" and "Note" actions show up in Alfred are not the same each time. The latest action is always at the top. 1) Is there a more obvious way to achieve the function I'm looking for here (I'm happy to keep what I have since it works), but out of curiosity I would be interested in the better way. 2) Is it possible to keep the same order for these keywords each time or is the last used keyword always displayed at the top?
  8. @Acidham no, I mean to not have to type a keyword at all. Just be able to type the shortcut name in Alfred and search my Shortcuts and run. So like this: 1. Open Alfred 2. Type “Shorten URL” Instead of: 1. Open Alfred 2. Type: “sc Shorten URL” I know you can do this by using a hot key, but I want to do it normally through bringing up Alfred with the set command (command+space).
  9. How could you edit this workflow to not require typing ‘sc’ at the front?
  10. I’d like to create a workflow that runs a specific command in another workflow. For example: I would like to create a keyword to run a particular Keyboard Maestro macro. I’m using Conductor (https://www.thoughtasylum.com/2021/03/23/alfred-workflow-keyboard-maestro/ but it requires you to type “km” at the front of the keyword. So essentially I’d like to be able to type my own custom keyword that types a specific different keyword into Alfred.
  11. Is it possible to disable the notifications when a volume is mounted/unmounted?
  12. Thanks. Installing xcode command line tools fixed it.
  13. Ah sorry. Never actually enabled debugging on a workflow before. Here you go. [08:03:39.469] ERROR: Search Notes[Script Filter] Code 1: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun Checked my disk and the only folder I have in CommandLineTools/usr is "share". No "bin".
  14. Updated and now nothing works. I'm on 10.15.2. 🤷‍♂️
  15. Still working for me on 10.14.6 (with the supplemental update from 8/26).
  16. In some way yes. However, I keep all my code snippets in Notes, so simply searching and copying them to the clipboard would work very well.
  17. Would it be possible to copy the contents of the selected not to the clipboard?
  18. Even more fun. Added another keyword in the workflow to only download the audio from the YouTube video and then drop it in the "Automatically Add to iTunes" folder. /usr/local/bin/youtube-dl -f m4a --ffmpeg-location /usr/local/bin/ffmpeg -q -o "/Users/peter/Music/iTunes/iTunes Media/Automatically Add to iTunes/%(title)s.%(ext)s" "$url"; echo "Completed"; I could only get m4a working, the rest said the requested format not available. M4A works in iTunes just fine.
  19. YAHTZEE! IT WORKS! /usr/local/bin/youtube-dl -f bestvideo+bestaudio --ffmpeg-location /usr/local/bin/ffmpeg -q -o "/path-where-files-are-stored/%(title)s.%(ext)s" "$url"; echo "Completed";
  20. Ya, figured we were getting into the weeds. Thanks @deanishe
  21. Must be some permission issue. Since I am calling my own youtube-dl script, I would think it would be able to then find ffmpeg and execute.
×
×
  • Create New...