Jump to content


Popular Content

Showing content with the highest reputation since 02/21/2018 in all areas

  1. 5 points
    Hi, I've created a workflow to find and open Apple/iCloud notes in Notes.app. Just type n[part of note title] and press enter. The default search method is known to work on High Sierra and Mojave, but AppleScript options are also supplied that should work on other macOS versions. Get it on Packal and feel free to open issues/make pull requests on GitHub.
  2. 5 points

    Recent Documents / Apps ?

    This workflow can list documents and apps opened recently. Especially, it can list files opened recently by the foremost app. System: macOS 10.11+ Github: https://github.com/mpco/Alfred3-workflow-recent-documents Usage You can press Enter to open the file in result, or press ⌘CMD-Enter to reveal it in Finder. Tap rr to list files opened recently by the foremost app. For example: Recent folders will be listed when Finder is foremost. Recent rtf, text files will be listed when TextEdit app is foremost. Recent *.sketch files will be listed when Sketch app is foremost. Recent *.xcodeproj project files will be listed when Xcode app is foremost. The subtitle of each result consists of ⏱modified time and ?path of the file. Tap rf to list recent folders. Opening recent folders is very common in use. Tapping rf is a more efficient way, even though you can activate Finder and then tap rr. Tap rd to list recent files. These files were recently opened by user, not like rr which is just for the foremost app. Tap ra to list apps opened recently. Exclude folders from the results. You can add private folder pathes separated by colon : to the Workflow Environment Variable ExcludedFolders. The results will not show private folders and any files inside them. For example: ~/privateFolder1/:/Users/G/privateFolder2/
  3. 5 points

    Moving this forum to Discourse

    Hi all, I've read this thread carefully and have been mulling it over this week. There are many reasons we're using IPBoard, and I figure it's only fair that I share our rationale for where we're at with the forum we've opted for. I'm also going to take this feedback and share it with IPB in the hope that they can understand the issues and the shortcomings of the editor, and make some essential improvements so that writing and editing posts is more straightforward. We moved from the cutesy-but-extremely-limited Get Satisfaction in 2013, which was a difficult process even at a time where the community was less than 1/20th what it is now; Content was lost, all the previously indexed links were no longer valid, users had to create new accounts, etc. Huge upheaval for everyone. Taking a look back, they've since been acquired by another company and their product has completely changed, so our hand would've been forced even if we hadn't left then. Moving to the established - if somewhat non-trendy - IPBoard meant we'd have a platform that had been around a long time and wasn't going to be sold to the highest bidder who'll acqui-hire the staff and gut the product for parts next month. Since 2013, it has proven to be reliably available, taking a minimal amount of time for me to keep updated behind the scenes. With the exception of a few colour scheme changes, it's a completely vanilla install, with no plugins, so that I can trust that I can do security updates quickly while most users are sleeping, without having to go through testing of every plugin, or causing unexpected downtime/issues. By keeping things as simple as possible, we can focus time on helping users, rather than troubleshooting issues with unsupported plugins, new releases, etc. as the forum is only one of the numerous aspects of running a software business Andrew and I have to juggle every day. We value your time too, as community members who volunteer their time to help fellow Alfred users, so I'll definitely have a more comprehensive chat with IPB to try to bring some of these improvements in. At this point, I can't promise anything, but I'll let you know what feedback I get from the IPBoard team. Cheers, Vero
  4. 5 points

    Evernote Workflow 9 beta 3

    Evernote workflow 9 beta 3 released with minor code optimizations and updated workflow preferences. Download Now If your search (ens keyword) is not returning any results please make sure to trigger a full index rebuild in Evernote app: Option-Key Help > Troubleshooting > Recreate
  5. 5 points

    EggTimer v2 [updated to 2.0 final]

    Download the zip file from the repo (Clone or download > Download ZIP) and extract it. Go into the new directory, select all the files, right-click and choose "Compress 11 Items". That will create Archive.zip. change the name to Archive.alfredworkflow and double-click it.
  6. 4 points

    Urban Dictionary

    I had to built a new Urban Dictionary workflow since my previous one was broken. It's available on GitHub.
  7. 4 points
    Bah! Bunch of weaklings, what you all are, with your fancy apps and your files in a cloud. What if it rains? Have you thought of that? True scotsmen don’t need backups, they memorise the binary representation of every file, and if they ever lose one they type it out. And that only if they’re in a hurry, because everyone knows the proper method is to forge the words on a metal plate inside a volcano, and read it back by holding it high to be struck by lighting.
  8. 4 points
    Here is my own custom version : https://github.com/lucianosantana/EggTimer2 (based on the updated version for Alfred 3 by @ianhowson) For the issues with the notification I had to change the notify_functions.sh . I've completely erased the original and added the following : notify () { if [ "$5" = alarm ]; then nc_icon="$PWD/resources/icon_alarm.icns" else nc_icon="$PWD/resources/icon.icns" fi osascript <<EOD set img to POSIX file "$nc_icon" display dialog "$3\n$4" with title "$1" with icon img buttons {"OK"} EOD } I'm using AppleScript to display a Dialog (not a notification). This way the message sticks on the screen until I interact with it and I don't loose the reminder if I'm temporarily away. I also had to invert the order of execution of the sound and alert. Originally it executes the notification then the sound. But changing the notification to dialog blocks the script execution, therefore the sounds executes after user interaction. To solve this issue just search for afplay sounds/alarm_done.mp3 & in the files timer_alarm.sh , timer_auto.sh and timer.sh . Then move it just before the notify command. Might be helpful for you @Basket and @Dzier .
  9. 3 points
    ZotHero Rapidly search your Zotero database and copy citations. https://github.com/deanishe/zothero Features Perform full-text search across your Zotero database, including only searching specific fields Copy citations using any CSL style you have installed in Zotero Copy citations either in citation/note style or bibliography style Copy citations in any locale supported by CSL Citations are copied in multiple formats, so the right data are automatically pasted into the application you're using Trigger search while you type using the Snippet Trigger (you must assign the snippet keyword yourself in Alfred Preferences) Download & installation Download the ZotHero-XYZ.alfredworkflow file from GitHub releases, and double-click the downloaded file to install. Basic usage These are the workflow's default keywords: zot <query> — Search your Zotero database (common fields). zot:[<query>] — Search a specific field. zotconf [<query>] — View and edit workflow configuration. See the README on GitHub for full instructions. Pasting citations When you copy a citation, ZotHero puts both HTML and rich text (RTF) representations on the pasteboard. That way, when you paste a citation into an application like Word, the formatted text will be pasted, but when you paste into a text/Markdown document, the HTML will be pasted. Licence & thanks The workflow is released under the MIT licence. The Zorro icon was created by Dan Lowenstein. Citations are generated by citeproc-js (AGPLv3). Workflow stuff is taken care of by Alfred-Workflow (also MIT licence).
  10. 3 points

    Alfred preferences fails to open

    My local kebab shop always puts up a notice when they're on holiday that says "back in two weeks".
  11. 3 points

    Icons are not showing properly

    Thanks to @szymon_k's information via email, it highlighted something I'd missed from the metadata output posted on the previous page. The kMDItemContentType for applications missing their icons was "com.apple.application-file" and not the correct "com.apple.application-bundle". The UTI defines that "com.apple.application-file" is for an Application file (traditionally older single-file carbon based apps), and not modern Application Bundles (multi file packages as you'd see for all modern applications). This is undoubtedly a bug hiding somewhere in Mojave, and something which seems to resolve itself over time. All is not lost though... I've just put 3.7.1 b944 pre-release which works around this Mojave bug, so the icons will be shown and the apps will be cached by Alfred! You can update to the latest pre-release in Alfred's Update preferences. Cheers, Andrew
  12. 3 points
    I wrote a workflow in ruby to convert currency. Requires Alfred v3. Notice: The Old versions(v1.2-) api has been out of service at June 5, 2018. Please update to v1.3+ to keep using currency conversion feature. Github Download Features: Support 30+ currency units with fixer.io. Basic support for sign. e.g.,$,¥,£,etc. Customizable displayed currency units and base unit. Input once to get all result. Usage: Tap 'cy' to get latest exchange rates. Tap 'cy money' to get exchanged result. You can press enter to send the result to the clipboard. Tap 'add-cy', 'remove-cy' to customize displayed currency units. Tap 'base-cy' to set base currency unit. Hope you like it.
  13. 3 points

    Reference Importer

    Thank you; I will try that! Just spent a good chunk of time doing this manually. Edit: And it works! I must have missed an update. This is literally the best day ever.
  14. 3 points
    I added a workflow to go with this set of Themes, you can find it on the same Github repo in the Workflows folder It features two commands : "theme" : toggle between Dark & Light themes for both macOS & Alfred. "theme red" : switch to the Red Accented Alfred Theme. Here is a screenshot of the MojaveThemeSwitcher and its options:
  15. 3 points

    Div — simple windows manager

    Ps. I am still working on support for multiple screens. It turns out it is harder than I thought to do it via AppleScript only.
  16. 3 points
    Recently I've added some new features to the workflow: App icons for all apps and their shortcuts. Search among all shortcuts without selecting an app first (use cheatsheetg keyword for that). Hide or show only specific apps in the search results. To customize that type cheatsheet keyword, select Customize your cheatsheet, then list needed apps in settings.json (sorry for not implementing a GUI for that). Check also README.md for the settings format.
  17. 3 points

    Moving this forum to Discourse

    I searched this forum and didn't find any thread on this but I wanted to propose it for a long time now. I very often use Discourse based forums like KM forum or Swift forum. And the experience in there is in many ways so much better than here. The interface is much cleaner, there is native markdown support, the search is better and more intuitive. I can't find anything this forum does better than Discourse can. I also have been reading this forum for a long time and lack of markdown in writing things is a very obvious paint point. There was a thread made 2 hours ago that mentions this very problem. I myself am quite annoyed too by the fact that I am forced to use an external tool like MarkdownTransform just so I can in some comfort markup my text in this forum and run it through the tool later. Also Discourse supports night theme which is a small cosmetic change but with Mojawe coming soon would be quite appreciated. It seems the big reason why this change can't be made is that you can't translate the content that is written on this forum to Discourse. Which if true, while sad, makes complete sense why we still use this forum software. But if that is not the case and there is a way to import all content into a new Discourse instance. I think this change would be really nice for the users.
  18. 3 points
    screencapture, which comes with macOS, is surprisingly capable (man screencapture) and can do it in a single command: screencapture -iP "$(mktemp).png" i is to capture interactively (i.e., the same as ⌘⇧4). P is to open the image in Preview after it’s done. "$(mktemp).png" is a temporary file to store the screenshot, which screencapture needs. Add that in a Run Script Action connect by a Hotkey Trigger, and you’re set. Here’s a ready-made Workflow.
  19. 3 points
    Russell Davis

    EggTimer v2 [updated to 2.0 final]

    @Luciano Santana (and anyone else following along), there are a few commands (Create New Timer, Create New Alarm, and View Recent) that are still broken in Alfred 3. I have a branch that fixes them. (I also submitted a PR to Luciano's repo.)
  20. 3 points

    Undo deletion of Snippet collection

    This thread has made me take a fresh look at how Alfred deletes snippets, and I've made a change to now move to trash for both snippets / collections and workflows instead of removing them. This will make it into the next Alfred release
  21. 3 points

    Rsync Folders

    Rsync Folders for Alfred Keep a set of folders in sync with their target folders via rsync. Usage rsync: executes all rsync configurations add a new entry to rsync batch delete an entry from the batch file Downloads: https://github.com/Acidham/rsync-folders http://www.packal.org/workflow/rsync-folders
  22. 2 points

    Workflow for Outlook V16 Search

    I create a workflow for searching mail from Outlook for Mac V16 (A.K.A. 2016). Now it support searching Mail sender, Subject and Preview Content with below format: olk [keyword] And also you can search with multiple keywords: olk [keyword1] [keyword2] [keyword3] To limit search scope in one attribute: olk from:[keyword] olk title:[keywords1] [keywords2] ... By default, this workflow searches mail from all folders and with default page size 20, for results more than 20, you can click last item 'Next 20 Results...' to go to next page. You can also configure the search: olkc pagesize [number] for change search result in one result list. olkc folder then you can get a list of all your Outlook folders, choose one to limit search scope. Project hosted in Github: https://github.com/xeric/alfred-outlook Download latest release workflow file from: https://github.com/xeric/alfred-outlook/releases Welcome your feedbacks!
  23. 2 points

    Pocket for Alfred

    Hi guys, this workflow lets you manage your Pocket list with Alfred. Features Actions to copy, visit and archive, archive and delete links from your Pocket list (fn, ctrl, alt and cmd) Hotkey to add new links from Chrome, Safari or your clipboard (ctrl + L) Action to deauthorize the workflow (shift) Background cache refresh Supports notifications Uses OAuth 2.0 to authorize the workflow Saves your access_token securely in OS X's keychain Github: https://github.com/fniephaus/alfred-pocket Download: https://github.com/fniephaus/alfred-pocket/releases/latest/ Feel free to give some feedback! Cheers, Fabio
  24. 2 points

    Need this super program on Windows

    If I had to pick some things that are never going to happen, Alfred for Windows wouldn't be much further down the list than my baldness spontaneously curing itself.
  25. 2 points
    Hey everyone! I've created a workflow that allows you to search and create notes for Bear. This is my first workflow, first OSS project, and first foray into Python - let me know what all I messed up Available on github and Packal. Many thanks to @deanishe and @dfay for some initial direction. Install To install, download a released alfred-bear workflow and double-click to open in Alfred 3. Easy-peasy. Searching and opening results bs -- Search for a note by title and open it in Bear. bst -- Search for a tag (a group of notes) by tag title and open it in Bear. Creating a new note bn I love notes! -- Creates a new note with the title and text "I love notes!" bn I love notes! #love #notes -- Creates a new note with the title and text "I love notes!" and the tags "#love" and "#notes" Known Issues Creating tags only works with single-word tags - multiword tags hopefully to come. Todo Append text to existing notes. Figure out multi-word tags. Thanks deanishe for guidance on Alfred workflow creation and capabilities, and for his excellent Python workflow library. dfay for guidance from his experience writing the Ulysses Alfred workflow. Rhyd Lewis for giving me an excellent example to work off of in his Omnifocus Alfred workflow. Versions 0.3.1 Fixed database location that changed with a Bear update. 0.3.0 Added search results from note text to main search. 0.2.2 Changed search queries to order by last modified date descending, so that more recently modified notes/tags show up at the top. 0.2.1 Added hashtag symbol to "Open Tag" list results to make it a little more obvious that it's a tag and not a note. 0.2.0 Now allows non-ASCII characters. Searching by tag now displays not only tags that match the search query, but notes that match those tags as well. Searching by tag now works with or without the '#' symbol in front of the tag. 0.1.0 Initial public release.
  26. 2 points

    Evernote Workflow 9 beta 3

    Description Alfred 3 workflow to search and create notes in Evernote. Search Keywords ens to search in every note field ens @ to search in a selected notebook ens # to search notes with a selected tags You can use ent (search in titles only) or enr (search in reminders) or entodo (search to-do notes) or enrec (search notes updated within a week) or enu (search notes with a source URL) instead of ens. You can select multiple tags to fine tune your searching. Just add a second hash sign and select or type the tag e.g. ens #tag1 #tag2 :my query In addition, you can select a single notebook then tags too e.g. ent @notebook #tag1 #tag2 :my query Note that, if you want to select a notebook and/or tags, the query goes after the colon sign as seen above. Actions Return key to open the note Shift key to preview the note Option key to set a reminder Control key to paste the note text content to the top most application Function key to open the note URL Command key to append text (from clipboard, selected text or typed) or selected file(s) in Finder. After pressing the Command key a new Alfred window will be shown so you will be able to select the text source and the action: Return key will append without date Option key with append with current date Hint: You can also use the Command key to only add tags to a note. To do so, type or select a tag and don't type anything after the colon then select the source "Type a Note" e.g. enn #tag : Note that Alfred Fallback Search is also supported (you have to add it in Alfred 2 Preferences>Features>Default Results, then click Setup fallback results button). Create Keyword enn You can optionally type the note title or, for a more complex creation, follow the syntax below: @Notebook #tag1 #tag2 !reminder :Title @notebook: after typing @ a list of notebooks will be displayed then select one or type it; the default will be used if omitted #tags: after typing # a list of tags will be displayed then select one or type a new one (multiple tags are supported, type each one after a hash sign) !reminder: after typing an exclamation point a list of reminder suggestions will be displayed then select one or type a custom reminder such as in 4 days or 05/01/2014 or 05/01/2014 at 2:00 Title: at the end, after a colon (or the second colon if you are adding time in your reminder) Note that items of the syntax are optional, however the syntax has to end with a colon, with or without typing the note title e.g. #tag1 : Note Content Source From clipboard From selected text Typed directly in Alfred From Safari or Google Chrome URL From message(s) selected in Mail app From file(s) selected in Finder app: you can create one note with files or one note for each selected files. Alfred File Browser also supported. Type a Note also supports multiple lines and, in this case, the first line will be the title of the note e.g. enn Line 1 /n Line 2 /n Line 3 Actions Return key: create a note Control Key: create a note and open it Command key: append text or file to a note Option key: append text to a note with current date How to Append Highlight one of the note content source e.g. From Clipboard Optionally type tags and a reminder e.g. #tag1 #tag2 !tomorrow hold command key and hit return key select a note from the list (search by title only) and hit return key Mail Message subject as the note title Message received date as the note creation date Message Link as the note source URL A short header (e.g. sender) A plain text version of the email content Note Templates Read about templates here. Preferences Bring Alfred and type the keyword enpref: Search wildcard: you can set the workflow to automatically use the Evernote search wildcard (*) or you can set the workflow to use only if it is typed (the Manual setting may by faster in a huge note collection). Download Evernote 9 beta 3 Release date: 99 Jun 2019 Made in OS X 10.13.5 Requires Evernote 7.2 from evernote.com Requires Alfred 3 Download now Download Evernote 9 beta 2 Release date: 09 Aug 2016 Made in OS X 10.11.5 Requires Evernote 6 from evernote.com Requires Alfred 3 Download now For Alfred 2 Version 8.992 Release date: 20 Feb 2015 Made in OS X 10.10.2 Requires Evernote 6.06 from evernote.com Requires Alfred 2.6 or later Download now What's new? 9 beta 3: minor code optimizations and updated workflow preferences (enpref keyword) 9 beta 2: bugs fixed and Evernote API updated 9 beta 1: Alfred 3 support 8.991: Evernote 6.06 initial support 8.9: Yosemite beta and note templates support 8.7: interface bugs fixed 8.6: enn issue fixed Improved reminder time support e.g. Tomorrow at 2:00 Added support for tags that start with a hash sign e.g. #Home Added support for tags that start with an at sign e.g. @Work Added support for notebooks that start with an at sign e.g. @Notes Workflow should be faster in most of cases When appending from a search result now you can hold Option key to include current date Type a Note supports multiple lines (first line will be the title) e.g. enn Line 1 /n Line 2 New Keyword enl and its hotkey to load the last search query Added support for some of Alfred 2.3 new features Workflow version history here.
  27. 2 points
    Hi, I think I've managed to fix the workflow and adding new cities is possible again! More changes: Added a keyword to open list of the cities in an editor _timezone edit. Thanks to that you will be able to quickly delete not needed lines. When displaying the list and pressing Alt, you can remove a single city (this is fixed now) Unfortunately, you will need to create your list of cities again... But this will also clean up your list as in previous version it got messed up. Download version 2.0 I hope you will like it Note, that major parts of the app have been rewritten so I could expect also new bugs... Please let me know in such cases. Best regards, Jarek
  28. 2 points
    Hey @Bhishan-- I decided to post this to the forum in case it helps someone else out. There were two main things I was doing wrong. First was running each variable on its own thread. For what I was doing, the proper thing to do was to have everything on one thread (and therefore running one after the other). The second issue I was having was with filters. You'll need to google to understand exactly why it happens (I don't understand it well enough to explain it), but I was having unwanted newlines & whitespace in the output. This meant filters weren't working as I expected (since the input to the filter had newlines etc I didn't know about). That was fixed by using some `Transform` and `Replace` utilities. I'll attach both of the workflows based around the original workflow. Hope these workflows help you figure it out -Scott Create a new note with or without selected text with Zettelkasten metadata Create a new note (with or without selected text) & PDF from Safari tab with Zettelkasten metadata Screenshots: New note: New note & PDF:
  29. 2 points
    Just add the tag alfred:ignore to the file or folder - works for me anyway.
  30. 2 points
    If you're pasting URLs into Alfred, here's a workflow that shows you a bunch of browsers when you paste a URL into Alfred. It uses the keyword "http", so when you paste a URL into Alfred, it shows you "Open in Safari", "Open in Chrome" ... options. The browsers are configured in the browsers.py file in the workflow: """Open a URL in different browsers.""" from __future__ import print_function, absolute_import from collections import namedtuple import json import sys Browser = namedtuple('Browser', 'name path') BROWSERS = [ Browser(u'Safari', u'/Applications/Safari.app'), Browser(u'Chrome', u'/Applications/Google Chrome.app'), Browser(u'Firefox', u'/Applications/FirefoxDeveloperEdition.app'), ] def log(s, *args): """Simple STDERR logger.""" if args: s = s % args print(s, file=sys.stderr) def main(): """Run Script Filter.""" url = sys.argv[1].decode('utf-8') log('url=%r', url) items = [] for b in BROWSERS: items.append(dict( title='Open in ' + b.name, subtitle=b.path, arg=url, icon=dict( path=b.path, type='fileicon', ), valid=True, variables=dict( browser=b.path, url=url, ), )) json.dump(dict(items=items), sys.stdout) if __name__ == '__main__': main()
  31. 2 points
    Call top for an auto-updating list of processes, ordered by CPU usage. Type to filter by process name. On each process: ⌘↵ quits. ⌥↵ forcibly kills. ⌃↵ limits CPU usage. fn↵ lowers priority (increases niceness). ⇧↵ freezes. ↵ gives more granularity over the options. Download | Source
  32. 2 points

    Alfred 3.7 BETA for Mojave Beta 4+

    A few things changed in macOS Mojave Beta 4 which has meant a change in the way Alfred will be dealing with macOS Accessibility access and general permissions. In Alfred 3.6.2 and before, Alfred separated the permissions into a helper app called Alfred Text Service, but since Beta 4, it seems like macOS doesn't like two apps within the same package and same signature (Alfred 3 / Alfred Text Service) from sharing accessibility access - This is likely a bug in Mojave. Nevertheless, since Mojave now also requires accessibility permissions to simulate key events (Which Alfred uses quite considerably for clipboard integration, workflows, file actions), it makes sense to now consolidate Alfred Text Service into Alfred's core and make Alfred the only app which requires accessibility access. When you launch Alfred 3.7 for the first time, if you haven't already granted Alfred 3 accessibility access, you'll be shown this dialog: Select "Let's get started..." and tick Alfred 3 to have accessibility access. Alfred will then restart himself and automation / text expansion should work as expected Here is an early beta version of Alfred 3.7: [LINK REMOVED, Alfred 3.7 pre-release is now available from Alfred's update tab] NOTE: If things still aren't working as expected, quit Alfred then open the macOS Security & Privacy > Accessibility preferences. Remove both Alfred 3 and Alfred Text Service, then restart your Mac. Run Alfred and you should get this dialog above. Let me know how you get on! Cheers, Andrew
  33. 2 points
    Not wanting extra apps for these kinds of tasks is exactly why I made DeleteConfig. Curiously enough, I’ve worked on that a few days ago. In JXA: #!/usr/bin/osascript -l JavaScript function run(argv) { Application('Finder').delete(argv.map(p => Path(p))) } This is the right approach for such a small command. For completeness, sudo can indeed show you a graphical prompt but you have to specify it yourself. Search man sudo for SUDO_ASKPASS. Example on macOS: readonly ask_pass_script="$( script="$(mktemp).scpt" echo '#!/usr/bin/osascript return text returned of (display dialog "Insert your password" with title "Administrator password needed" default answer "" buttons {"Cancel", "OK"} default button "OK" with hidden answer) ' > "${script}" chmod +x "${script}" echo "${script}" )" export readonly SUDO_ASKPASS="${ask_pass_script}" Then you sudo --askpass {command}.
  34. 2 points

    Open Contacts App from Alfred

    Agree with deanishe and was thinking the same: cmd-return to open in Contacts. I didn't know of cmd-O until I found this thread. As the modifiers control and option offer other options, I think cmd is a good choice for perhaps the most often wanted other action.
  35. 2 points
    Added Snippet Trigger in v1.1. Using the Snippet Trigger pastes the citation directly in the active application. Note: You have to assign your own trigger—Alfred strips Snippet Triggers on install.
  36. 2 points
    Script Filter JSON Format documentation. Look for quicklookurl.
  37. 2 points
    Safari bookmarks will now work in Beta 2 if you add Alfred to the macOS Security & Privacy prefs for allowing access to application data. I'll be looking into a way of making this automatic / more seamless in the future.
  38. 2 points
    I’m quoting @deanishe, but my points are for @pauljacobson. That's not the entire point. We can't magically write workflows in our heads. We normally need to run some code. So you're expecting us to recreate your workflow for ourselves, simply in order to help you. I’ll also add that it is not the domain of the asker to decide what is simple or not. For all we know, your workflow has an error in construction that you’re not seeing. Example: it has already happened that after an asker uploaded their Workflow, it was discovered it had an invisible character that was causing the bug. That’s an impossible bug to fix unless we have access to the actual Workflow as you made it. This is important because for all we know you may be trying a convoluted solution when a simpler one is available. Trying for the harder solution wastes everyone’s time and makes your Workflow worse.
  39. 2 points
    Yes, of course. (30 minutes later of frustrating edits...) to lookupTabWithURL(www) local www tell application "Google Chrome" set _W to a reference to (every window whose URL of tabs contains www) if (count _W) = 0 then return null set [W] to _W set T to the first tab of W whose URL is www return {wID:id of W, tID:id of T} end tell end lookupTabWithURL This one above returns both window and tab id numbers, should you need to target them in that manner, for example, to bring a window to the front, then switch the active tab. to lookupTabWithURL(www) local www tell application "Google Chrome" set _T to a reference to (every tab of every window whose URL is www) if (count _T) = 0 then return null return item 1 of item 1 of _T end tell end lookupTabWithURL This one just returns the reference to the tab object, e.g. tab id 45 of window id 2088. This can be used to target the identified tab and manipulate its properties or close it, for example. It currently only returns the first matched tab, as that was the objective of the original script upon which this handler was based, largely as a demonstration on the different scripting methods.
  40. 2 points

    Moving this forum to Discourse

    Double click it.
  41. 2 points
    Dude, how are you so awesome? Trying to get Zotero to work better for me is what led me down the rabbit hole to finding Alfred in the first place. I’m ecstatic that there’s some active development on this front, and out of altruistic intentions at that. Python is installed and I’m learning a bit at a time. I hope I can help contribute to this in the future; I’ll certainly be using this workflow until then.
  42. 2 points

    Autocomplete words from a textfile?

    Write in Markdown and then convert it to BBCode using one of @vitor's workflows: MarkdownTransform.
  43. 2 points
    Update. Added support to download audio. It also works with downloading a full playlist as audio, but it does not include and option to add to WatchList automatically due to a limitation in youtube-dl where getting the filename for audio is not accurate. Also changed the way downloading a playlist works. It now downloads everything into it’s own directory. It’s more organised and interfaces better with WatchList. To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater.
  44. 2 points

    Flush DNS 10.6 -> 10.14

    @deanishe @xilopaint Updated workflow with the new icon.
  45. 2 points

    The State of Alfred Remote app

    I can't remember where I first posted this, but .....Any chance of an ios keyboard in v2 with synced snippets?
  46. 2 points

    Outlook for Mac workflow

    I edited the workflow to replace references to Outlook 15 to 2016. All three triggers are provided in one workflow. You can find the new one here: http://www.cortig.net/files/Outlook2016Searches.alfredworkflow.zip Corentin
  47. 2 points

    Resize Image

    For anybody who wants the image file to save as a new file rather than replace the original: Open the "Process image(s)" AppleScript block in the workflow Find this line in the script: save this_image in myPath And insert the following to append the image filename with the target width (e.g. image.png becomes image-300.png when resized to 300px width): -- append target width to file name set oldDelim to AppleScript's text item delimiters set AppleScript's text item delimiters to {"."} set theExt to last text item of myPath set AppleScript's text item delimiters to {"." & theExt} set file_path_list to every text item of myPath set AppleScript's text item delimiters to {"-" & target_width & "." & theExt} set myPath to the file_path_list as string set AppleScript's text item delimiters to oldDelim
  48. 2 points

    Quit Others

    This is a workflow to quit all applications except the frontmost/foreground/active one. A similar thread was here but it is dead. It's done with Applescript, and works OK. If anyone wants to make improvements maybe we can set up a repo for it. Download link: https://app.box.com/s/om92n0a99mnlqksnxt9gd9ecj7r5cpu2
  49. 2 points

    Launchbar Inspired Themes

    While Alfred takes the cake when it comes to functionality, Launchbar certainly has a polished aesthetic. Here's my best shot at adapting its themes to Alfred. Light Theme https://www.alfredapp.com/extras/theme/gd0PV7UnCW/ Dark Theme https://www.alfredapp.com/extras/theme/7ouF832MyU/
  50. 2 points

    Free memory

    There's no need to "free up memory" in a modern OS. The kernel manages RAM efficiently. What the 'purge' command does is flush filesystem buffers; this will actually slow down the OS for a little while because recently-used stuff that was cached in RAM for fast access is gone and has to be slowly loaded from disk again. As the man page for 'purge' says, "Purge can be used to approximate initial boot conditions with a cold disk buffer cache for performance analysis." That is, it lets you reproduce the slowness of a cold-booted system. This isn't something you want to do in normal circumstances. I'm sure some people will insist this kind of thing really does speed up their computer, but I'm pretty sure that's the placebo effect talking. When my computer starts to feel slow, I open Activity Monitor and look for which process is either hogging the CPU or allocating huge amounts of private memory, then quit that process.
  • Create New...