Jump to content

chris

Member
  • Content Count

    107
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by chris

  1. Got it. Well, appreciate the warning as I understand you to be offering it in good faith and that you're just looking out for me!
  2. Ah ha! I looked for a way to silence it's output, but it seems to only support (and no quiet mode): input is required Usage: ./acextract [options] -i, --input: Path to input CAR file. -o, --output: Path to output directory. -l, --list: Print content of the CAR file without extracting. -h, --help: Show help message. -v, --verbose: Print more detail. You can use -vv or -vvv for more info. That worked! 🥳
  3. Surely that designer is also using glyphs that other people created? You're not suggesting he manually drew the Figma, Snapchat, and Twitter icons? I understand your distinction. I also don't charge for my Custom Web Searches, but I offer people to leave a tip if they feel inclined. I agree that that's more similar. Well, I wouldn't begin to suggest that I'm a talented designer, or a capable scripter. But I do know how much work I put into this project, and it was far more than 30 minutes. My design skills may no
  4. Thanks for your feedback. I appreciate it, and I hear you. For me, charging a small fee is really about recognizing the work that I put into assembling the logos and creating high quality versions, similar to how you have a Paypal link in your footer. While some of the icons and logos are available in public repositories, many are not, and I spent many hours combing the web to find vector versions or recreated them myself. Of course, if any brand would prefer that I remove them from the collection, I'd be more than happy to oblige; the intention is to make brands look
  5. Hmm. Seems like I'm still missing something, or that {query} has the output from the `acextract` process. From the console: Passing output 'Extracting: Icon-Production20x20~ipad.png [1mOK[0m Extracting: Icon-Production29x29~ipad.png [1mOK[0m Extracting: Icon-Production40x40~ipad.png [1mOK[0m Extracting: Icon-Production76x76~ipad.png [1mOK[0m [..] Extracting: uploaderTemporaryLines763x8@2x.png [1mOK[0m Extracting: uploaderTemporaryLines763x8@2x.png [1mOK[0m Extracting: uploaderTemporaryLines763x8@2x.png [1mOK[0m 38' to Post Notification This is what the notification shows:
  6. I've posted my custom web searches to Product Hunt if you'd like to check it out and offer some support!
  7. Hooray! Ok, one more thing since the basics are working (I swear, I'm trying to learn as we go along)... how would I pass the number of files extracted (i.e. the count of the files in the $dirpath) to a notification? I'm completely baffled. I did some research and found a bash script to do the counting, but for the life of me, I can't figure out how to get the count to the notification... # filepaths from ARGV for carfile in $@; do # strip file extension dirpath="${carfile:r}" # create directory mkdir -p "$dirpath" /usr/local/bin/acextract -i "$carfile"
  8. Yes, that's how I started: But when I got to writing the script, I got a bit lost. Typically when I run the script on the command line, it looks like this: acextract -i "/Downloads/Assets.car" -o "/Downloads/Assets/" "/Downloads/Assets/" is a directory that doesn't yet exist, but is created by acextract.
  9. I would like to create a Workflow that takes a file selection from Finder (matching com.apple.xcode.compiled-asset-catalog files) and runs each file through the `acextract` executable. I'm completely unfamiliar with bash scripting syntax, so I understand conceptually what needs to happen, but can't figure out how to get Alfred to do what I want. The command I want to execute is: acextract -i $file -o ./$dir ...where $dir would be the .car filename converted to a new directory, but without an extension, i.e. from ./assets.car to ./assets/
  10. Nice job!
  11. Yes, that's what I've decided I'll do: Yes, I'll likely end up doing that too, once I standardize on the synonyms. What I would prefer would be to edit one of those keyword objects and just add synonyms or aliases directly, just to keep the Workflow layout cleaner.
  12. Right, but this would mean duplicating those keywords in each of the workflows in which I want to use these keywords, right? I think that's probably fine, it's just a little inefficient since I'm creating workflow toolkits for several services with similar features (Twitter, Instagram, etc) and will need to sync/update these synonyms across all of the toolkits.
  13. +1 for this request. I felt the exact same need (in my case, I have several workflows that allow me to quickly access my messages... so I really want to use "message", "dms", and "send", etc as aliases for several searches/workflows).
  14. Perhaps; I'm borrowing from my experience in design tools. When you double click a line, it switches into an edit/insertion mode, so in that context, it would be standard. I'm not sure which UI paradigm(s) the Workflow Editor borrows from?
  15. It adds clarity, discoverability, and utility. This proposal comes from my own direct experience and confusion, and I'm pretty familiar w/ the Alfred UI. Specifically, when @vitor said to add "a Transform Utility with Trim Whitespace between the Run Script and the Open URL" I didn't know what he meant. My intuition was to try direct manipulation of the connector between the Script and the Open URL blocks by right clicking on it — but it didn't reveal the option that I expected. I might have been able to figure this out myself if I remembered that I could
  16. Currently if I right-click on an object, I get an expanded menu: But if I right-click on a connection line, I get a minimal menu: It seems like double-clicking on a connection line between two objects should cause a contextual insertion menu to appear: Thoughts?
  17. Woohoo! Thanks! Re: the `query` variable... I wasn't sure how to pass back the outcome of the `if..then` statement back to the Workflow...
  18. Ok, well, as I hope you know, I'm not a programmer, but was able to get closer... but for some reason a '%0A' is being appended to the output. Can you see what I'm doing wrong? const frontmost_app_name = Application('System Events').applicationProcesses.where({ frontmost: true }).name()[0] const frontmost_app = Application(frontmost_app_name) const chromium_variants = ['Google Chrome', 'Chromium', 'Opera', 'Vivaldi', 'Brave Browser', 'Microsoft Edge'] const webkit_variants = ['Safari', 'Webkit'] if (chromium_variants.some(app_name => frontmost_app_name.startsWith(app_name))) {
  19. Hmm. Can you explain what you mean? Which Mac apps are you thinking of? For those that support custom URL handlers, this is possible — for example my custom search for Spotify or with my Twitter Toolkit.
  20. This is great, thanks @vitor! How might one edit the AppleScript to strip the URL to just the domain + extension (i.e. alfredapp.com without the protocol prefix or any path information)?
  21. Update: There are now over 100 Custom Web Searches available! I've also created 80+ custom icons for many of these searches, which you can get here. .
  22. BTW, if you combine this theme with Tomoyuki Kashiro's Dropbox Paper Finder Workflow, you get a pretty satisfying result!
  23. I've released a new theme based on Dropbox Paper with four variants: Light/Dark modes and Atlas/Noto fonts. 🎩 Download them here
×
×
  • Create New...