Jump to content

DJay

Member
  • Posts

    206
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    DJay reacted to JakeS in VPN Connection Manager   
    I lost use of this with the last macOS update which removed python2.  As much as I love this workflow, I'm not ready to re-install Python2 to keep it going. 
     
    Any hope of getting it ported to 3?
  2. Like
    DJay reacted to jpscharf in Viscosity.app workflow   
    I was able to get the Andrew Schleifer's workflow working and uploaded it to my server: https://share.intergrated.net/Viscosity.alfredworkflow
  3. Like
    DJay reacted to mcskrzypczak in [2.2] Get App Icon   
    And once again the workflow got updated to version 2.2 (see the first post for download and changelist)
  4. Like
    DJay reacted to Kaihao in [2.2] Get App Icon   
    To fix this, you can add this after line11 of file acshell.sh
    LIST+=$(find /System/Applications -maxdepth 2 | egrep -i "\.app$" | grep -i "$QUERY") Then it works for most of system apps.
     
    But Catalyst Apps, like Podcast.app,  still doesn't work. As their internal structures(Info.plist and icns files) are different from the AppKit apps.
    I don't know how to fix this.
  5. Like
    DJay reacted to Kaihao in [2.2] Get App Icon   
    A simple Fix for Alfred 4.0.
    Right click the workflow, select "open in Finder".
    Open file acshell.sh.
     
    Then Change all the
    tell application "Alfred 2" to
    tell application "Alfred 4" Done!
  6. Like
    DJay reacted to foogywoo in Homekit workflow   
    A workflow to trigger Homekit scenes and accessories. 
     

     
    https://twitter.com/foogywoo/status/1121606023679229953/photo/1
     
    Download: https://github.com/foogywoo/HKAlfred/raw/master/distribution/HomeKit.alfredworkflow
    Github: https://github.com/foogywoo/HKAlfred
     
    Downside: Homekit still being a private framework on macos SIP needs to be disabled for it to work.
  7. Like
    DJay reacted to gammawert in Leo Translate Workflow - Timeout occured   
    Please check your PMs
  8. Like
    DJay got a reaction from patowod in Dict.cc offline translator   
    Alfred DeepL Translation Workflow ⭐️⭐️⭐️⭐️⭐️
  9. Like
    DJay got a reaction from Diegobit in Dict.cc offline translator   
    Alfred DeepL Translation Workflow ⭐️⭐️⭐️⭐️⭐️
  10. Like
    DJay reacted to paulsri in AirPods Audio Source Selector   
    Thanks for the update, DJay. I haven't upgraded to 10.13 yet, so I can't say for sure. You could try upgrading the switchaudio-osx package via brew:
     
    https://github.com/deweller/switchaudio-osx
     
    Though I'm not sure if that has been tested with 10.13 yet. 
  11. Like
    DJay reacted to widmr in openthesaurus.de - v2/3 Workflow   
    The workflow is working again.
     
    Updated the workflow and moved to other github repo!
  12. Like
    DJay reacted to mklement0 in speak.awf - a TTS (Text-to-Speech) workflow for multilingual scenarios   
    The workflow comes with two distinct feature groups:   Speak the active application's text with a specific voice; useful for multilingual setups where you want to have text spoken in one of several languages on demand. For instance, you could have one global keyboard shortcut for speaking text in English, and another one for Spanish. Speak specified text with one or more voices, selectable by name(s) or language(s); useful for interactive experimentation with multiple voices, such as to contrast regional accents.   For details, see the repo.   Here's the direct download link to the most recent stable version (this link will remain current).
      However, I suggest installing via the npm registry, if you have Node.js installed - if not, consider installing it just to benefit from its great package manager, npm; try curl -L http://git.io/n-install | bash  ):     [sudo] npm install -g speak.awf The advantage of this installation method is twofold:
     
    Remembering only the package name is sufficient to install the workflow (again). More importantly: It's easy to update the workflow to its latest version: [sudo] npm update -g speak.awf If the latest version is already installed, no action is performed.
     
  13. Like
    DJay reacted to mcskrzypczak in VNC Workflow   
    Inspired by Don Southard's Screen Sharing Workflow for Alfred v1 I have made VNC workflow using Alfred 2 dynamic list feature.
     

    First of all here is the download → link
     
    To add machines simply write vnc setup and after space insert machine name, its IP address and optionally port, exactly like that:
     
    Name-IP_address:port
     
    for example:
     
    Living Room-192.168.1.1:5901
     

     
    To delete machines write vlc delete and choose from list which machine you would like to delete.
     


     
    Please, feel free to comment, to give some hints, etc.
  14. Like
    DJay reacted to wkoffel in Workflow: Amazon Affiliate Link Generator   
    Alfred 2 Amazon Affiliate Links Workflow
     
    Quick Start: Download Here
      An Alfred workflow for generating simple Amazon Affiliate links with your own tag.  Designed for anyone who generates a lot of custom links from URLs.  This workflow will clean up all the parameters from an amazon.com URL, and then append the configured tag to it.  
     
    Setting Your Affiliate Code
     
    The keyword trigger alink code <your-affiliate-tag> will set a new affiliate code, which all subsequent calls to alink will use.
     

     
     
     
    Generating Links
     
    The keyword trigger alink <an-amazon-product-url> will strip extra junk from the URL (all the query params, which aren't necessary for Amazon product links), and append "tag=your-affiliate-tag" to it, copying the result to the clipboard.
     

    You will get an error message if you haven't set an affiliate code yet (see above), or if the target link is not a valid Amazon link.
     
    Install Notes
    Download the compiled workflow directly, or visit the repository for the full source code
     
    I'm happy to take feedback on the installation process.  In theory, I've bundled all the necessary ruby gems in the workflow package proper, so it should be a simple double-click install.  If you do need to install manually, please let me know.  To install manual dependencies, you would run just "sudo gem install addressable", and that should suffice.
     
    This has been tested on OS X 10.13 High Sierra and above, and may work on earlier versions of macOS.  It requires Alfred 3+   Credits
     
    Thanks to Bryan McKelvey for the simple Alfredo Ruby Gem (no longer used directly, but code inspired by)
    Thanks to phyllisstein for Alleyoop
     
    Release Notes
    v1.0 (Feb 24, 2014) - Initial release v1.1 (Mar 24, 2018) - Alfred 3 and High Sierra 10.13 support  v1.2 (Oct 27, 2019) - Update for Alfred preferred JSON format, support for macOS 10.15 Catalina  
    Feedback Wanted: I'd love to hear feedback.  Are you using this workflow?  How?  What improvements would you like?
  15. Like
    DJay got a reaction from ssent1 in Uni Call [v6.031]: The missing universal audio, video call and text workflow for Alfred   
    Great workflow. Thanks a lot.
    And also thanks for the hint to Phone Amego . This App is awesome. Didn't know this all was possible with a connected iPhone. WOW.
    Tried it. Bought it. 
  16. Like
    DJay got a reaction from 40-02 in Remote Media Buttons Template   
    I did a few darker Media Buttons and a blank psd Template to customize. Feel free.
    Maybe it's helpful for somebody.   http://cl.ly/3v3I0G1U3u3j  
  17. Like
    DJay reacted to matias in AlfredBullet: Send links or text to your devices via PushBullet   
    I didn't really like any of the existing Pushbullet workflows, so I made my own. Say hello to AlfredBullet:
     

     
    Pushbullet is an app and service that lets you send links, text and other content between your devices (iOS, Android, Mac, Windows, etc).
     
    The workflow is available for download on GitHub and (experimentally) Packal:
     
    Github (matiaskorhonen/alfred-bullet) Packal: AlfredBullet  
  18. Like
    DJay reacted to Andrew in Yosemite-esque Cards   
    I have some pretty special ideas for the future of Alfred and how things are displayed, so stay tuned
  19. Like
    DJay reacted to deanishe in Searchio! Auto-suggestion from search engines in different languages   
    Searchio! workflow for Alfred
    Auto-suggest search results from multiple search engines and languages.
     
    There are a few existing workflows that provide auto-suggest results from one or the other search engine, but this includes not only multiple search engines, but also allows you to specify multiple languages/regions for your results.

    Supports the following search engines/websites:
    Google Google Images Google Maps YouTube Wikipedia Wiktionary Amazon eBay DuckDuckGo Bing Yahoo! Ask.com Yandex.ru Naver.com Wikia.com  
    Download and installation
    Download the latest version from the GitHub releases page or Packal.
    Usage
    There are several searches pre-configured. Only some have keywords (i.e. can be used as-is):
    g — Search Google in system (i.e. default) language m — Search Google Maps in system (i.e. default) language gi — Search Google Images in system (i.e. default) language w — Search Wikipedia in system (i.e. default) language wn — Search Wiktionary in system (i.e. default) language a — Search Amazon in system (i.e. default) language. If your system language is English, this will search Amazon.com. Use -l uk in the Script Filter to search Amazon.co.uk or -l ca to search Amazon.ca. yt — Search YouTube in system (i.e. default) language searchio [<query>] — Show settings and list of supported search engines. Currently, the only setting is a toggle to also show the <query> in the results list (default: No). searchiohelp — Open help file in your browser You can add a keyword to (and edit) one of the existing examples or add your own searches. For details on how to do that, see the GitHub page.
     
    Licensing, thanks
    The code in this workflow is released under the MIT Licence.
    The icons belong to the respective search engines.
    This workflow uses the Alfred-Workflow library and docopt (both MIT-licensed).
  20. Like
    DJay reacted to targumanu in iTunes Store Search   
    Search the iTunes store and view search results with artwork previews right in Alfred.
    Open search results in iTunes.app (default behavior) Quick Look search results' preview pages right in Alfred (press Shift, the Quick Look feature must be enabled in Alfred's preferences) Open search results' preview pages in your default browser (modifier key — Command) The workflow's preferences (keyword — itprefs) allow you to set the maximum search results limit and preferred store country, as well as clear the artwork cache.   You can restrict your searches to the following categories using corresponding keywords: Albums (ital) iOS apps (itapp) Audiobooks (itau) Movies (itmo) Music videos (itmv) Podcasts (itpo) Songs (its) TV shows episodes (itep), and TV shows (ittv) However, you don't have to remember all those keywords. Just use the generic keyword (“it” by default) add “-” after it, and the workflow will show you the list of available categories to choose from (see the second screenshot).   Download  
  21. Like
    DJay reacted to MuppetGate in Yet another date calculator   
    Date Calculator
     
    Hello there!
    I needed a bit of motivation to learn Python and Alfred workflows, so I thought I’d kill two horses with one bullet, so to speak.
    Right, so this is a date calculator – kind of. It won’t tell you when you will the lottery, or how long you’ve got to hide your ‘arty videos’ before your wife gets home, but it will answer one or two very simple questions about dates.
     

    For example, if you enter
     
    dcalc 25.12.14 - 18.01.14
     
    then it will tell you the number of days between those dates. Note that the workflow parses the command as you enter it, so you’ll see invalid command, invalid expression and invalid formaterrors as you type. Once you’ve completed the command then you’ll be given the result.
    You could also try
     
    dcalc 25.12.14 - now
     
    for the number of days until Christmas. (Always seems so far away . . .)
    Maybe you don’t want it in days, but would rather it in weeks:
     
    dcalc 25.12.14 - now w
     
    or days and weeks
     
    dcalc 25.12.14 - now wd
     
    or years, months, weeks and days
     
    dcalc 25.12.14 - now ymwd
     
    or
     
    dcalc 25.12.14 - now long
     
    will do the same thing. Personally, I always use the long format because it’s more accurate.
    For those who like to look ahead, you can add days to a date
     
    dcalc now + 6d
     
    or weeks
     
    dcalc 18.12.14 + 9w
     
    or combine ‘em
     
    dcalc 18.12.12 + 5y 9d 3w - 2d + 1d 1w
     
    What does that mess do?
    Take the date 18.12.12  Add 5 years Add another 9 days Add another 3 weeks Then take off 2 days Add another 1 day And then add another 1 week If you want to know what week number you’re in, then try this:
     
    dcalc today wn
     
    Or for a specific date:
     
    dcalc 25.12.14 wn
     
    You can also use the today thing in other places too:
     
    dcalc today + 4d
     
    And we have another thing called time because the workflow can handle times too:
     
    dcalc time + 6h 8M
     
    will add 6 hours and 8 minutes to the current time. Note the capital ‘M’ to denote minutes. Odd, I know . . . sorry, but the workflow has to distinguish between this and a small ‘m’ (for months). I figured make this one a capital because it would see much less use. (It has for me.)
    If you just want the current time, then just enter
     
    dcalc time
     
    Here’s another time calculation
     
    dcalc 14:35 + 6h
     
    That’s the time 6 hours from now, and for real nerdiness:
     
    dcalc 21.06.14@14:20 - 23.01.12@09:21 long
     
    Probably not all that useful, but some of this other stuff might be. You know all about
     
    dcalc now
     
    For giving you the current time and date. While you can use 
     
    dcalc tomorrow
     
    for tomorrow’s date, and as you would expect
     
    dcalc tomorrow + 1d
     
    will give you the day after tomorrow.
     
    dcalc next tue
     
    will give you the date next Tuesday. Or for for Thursday you could enter
     
    dcalc next tue + 2d
    if you’re still a little too inebriated to realise that
     
    dcalc next thu
     
    will give you the same answer.
    That about covers it, I think. I haven’t done anything clever with locales, but you can pick a different date format with
     
    dcalcset date format
     
    And we also support both 12-hour and 24-hour time formats. 
     
    dcalcset time format
     
    I would recommend sticking with the 24-hour format; it's a lot easier to type because the AM/PM symbols have to be in upper case.
    You can also set the combined date and time format using:
     
    dcalcset date and time format
     
    If you’re ever puzzled by invalid command or invalid expression errors, then start with the settings; they might be set incorrectly.
    Oh, almost forgot.
     
    dcalc easter
     
    Is the date for next Easter Sunday, for no other reason that I can never remember it, and now there’s an easy way to find out how many days until Christmas:
     
    dcalc today - christmas
     
    And to celebrate finishing my new book, I decided to add:
    dcalc passover
     
    Alternative parser
    If surround a simple expression in double quotes, then something quite magical happens:
     
    dcalc "4 hours 8 minutes after 4pm"
     
    or
     
    dcalc "6 weeks and 4 days after next wednesday"
     
    or
     
    dcalc "1 day after tomorrow"
     
    Yup! A natural date language parser! 
    You can even combine it with the existing parser:
     
    dcalc "next friday" + 1d
     
    This is a little bit experimental (I might drop it later if it proves to be problematic), but I thought I'd throw it in for a bit of a fun.
     
     
    Credits
    A list of things that made my first attempt at Python programming possible:
    Dean Jackson for his more-than-slightly awesome Alfred Workflow framework(Jetbrains(HumanFriendly(Python-DateUtil(PyPEG(ParseDateTime(Programming Praxis(MIT(http://opensource.org/licenses/MIT) one will do. :-)The MIT License (MIT)
    Copyright © 2014 MuppetGate Media
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    The above copyright notice and this permission notice shall be included in
    all copies or substantial portions of the Software.
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  22. Like
    DJay reacted to Tyler Eich in Duration Calculator — Add and subtract durations of time   
    This workflow extends Alfred's built-in calculator function. It recognizes durations as input and allows them to be added / subtracted. For example, if you type "8:00:18 - 4:19:23" into Alfred, you'll get "3:40:55".
     
    You may add or subtract as many durations as you like (e.g. "3:32:55 - 5:57 + 4:50:14").
     
    Download
     
    Preview:

  23. Like
    DJay reacted to schleifer in Viscosity.app workflow   
    Howdy All,
     
    I've written a workflow that works with Viscosity, which you can use to start or stop OpenVPN connections.
     
    The configured keyword is 'vpn'. That will show all of your configured networks:
     

     
    And autocomplete (case-insensitively) on the argument, if one is provided:
     

     
    You can inspect the source on Github.
     
    Here's some commands you can run in Terminal that will import it into Alfred:
    cd ~/Library/Application\ Support/Alfred\ 2/Alfred.alfredpreferences/workflows curl https://nodeload.github.com/andrewschleifer/viscosity-alfredworkflow/zip/master > \ viscosity-alfredworkflow.zip unzip viscosity-alfredworkflow.zip rm viscosity-alfredworkflow.zip  
    New Feature Update:
     
    1. The subtitle now tells you if actioning that selection will connect or disconnect from that network.
    2. There are Connect All/Disconnect All operations that will act on all VPN connections you've defined.
     

  24. Like
    DJay reacted to Benzi in Control Radium 3 from Alfred   
    This is a simple workflow that allows you to control Radium 3 from Alfred. (Latest update is version 4)
     
    Version 2
    A mini-version, which shows track and station info, and lets you quickly toggle the playing state.
     

     
    Download from here.
     
    Version 3
    Same as version 2, but the classic icons.

    Download from here.
     
    The first Radium icon courtesy myBaco - http://mybaco.deviantart.com/
     
     
    Version 4
     
    Oh well, another update, another icon set for Radium   

    Download
  25. Like
    DJay reacted to paulelms in speedtest.net workflow   
    Measure internet speed with speedtest.net service
     
    Usage:
    speedserv 10 – show 10 nearest servers, press enter to test speed speedtest – test speed with nearest server speedtest 232 – test speed with server id 232 Results displayed in notification.
    Server list is cached and periodically updated automatically.
    Speedtest-cli included.
     
    Download on packal
    direct link
     


    Update log
    24.03.2014 – fixed bug with cache 25.03.2014 – changed cache from 5 days to 10 min
×
×
  • Create New...