cands
-
Posts
175 -
Joined
-
Last visited
-
Days Won
4
Reputation Activity
-
cands reacted to Stephen_C in Some ideas if you use Firefox
Firefox has no AppleScript support so there are limits to what you can do. However, I have used Firefox for years and very much like it. There are some things you can do using Alfred and Firefox and I thought it might be useful to others to list them here.
If you already have Firefox running and want to browse in a private window—but not provide in Firefox settings for Firefox exclusively to use a Firefox private window—you can link a hotkey (I use ⌥⌘V) to this AppleScript:
on run tell application "System Events" keystroke "w" using {shift down, command down} delay 1 keystroke "p" using {shift down, command down} end tell end run (I don't like GUI scripting because it's liable to break but that has worked for a number of years now).
However, I now take a slightly different approach. At the start of every day I launch Firefox in a private window with a hotkey using this AppleScript:
tell application "Firefox" --- Bring app to the front, starting it if necessary activate end tell -- wait a moment and then simulate Shift + Cmd + W delay 1 tell application "System Events" to keystroke "w" using {shift down, command down} -- Simulate Shift + Cmd + P tell application "System Events" to keystroke "p" using {shift down, command down}
I then link that to a 2 second delay and then to a Call External Trigger action which calls a workflow that opens the websites to which I need to login. That workflow looks like this:
The websites are listed in the Arg & Vars utility—each on a new line—and then split to send to the shell script, which is as follows:
for var in "$@" do /Applications/Firefox.app/Contents/MacOS/firefox --private-window "$var" done You'll see in the screen shot the point at which the external trigger, referred to above, links to this workflow.
That all sounds rather long-winded but the result is a series of websites very quickly opened in Firefox private windows as soon as Firefox is launched. (The latter workflow leaves one initial blank tab that needs to be closed but I simply do that manually.)
It is, of course, easy to create a workflow using a Universal Action limited to a single selected URL which enables you to open the selected link in a Firefox private window. Just link the Universal Action to this zsh shell script:
/Applications/Firefox.app/Contents/MacOS/firefox --private-window $1
Finally, you can alway search Google from Firefox using a DuckDuckGo bang: there is a workflow for that.
Warning: If you're using an older version of Firefox (possibly pre 121?) in the shell script code examples you'll need to change …/MacOS/firefox to …/MacOS/Firefox -bin.
Stephen
-
cands reacted to pseudometa in Standalone Read-Later-App that saves items in plaintext
Good idea, actually. I added that as opt-out feature: https://github.com/chrisgrieser/alfred-read-later/releases/download/1.1.1/alfred-read-later.alfredworkflow
-
cands reacted to vitor in Unit Converter — Convert between different units of measurement
Usage
Convert dimensions via the conv keyword. Type a number to see all available units with their full name and symbol.
Type a unit to filter.
Pressing ↩ on a partial match triggers the autocomplete. See all possible conversion targets when matching a unit exactly.
Type further to filter for target units. Connector words (“to”, “as”, “in”) are optional to help with readability. Rounding precision and notation can be set in the Workflow’s Configuration.
↩: Copy result to clipboard. ⌘↩: Paste result to frontmost app. Configure the Hotkey or use the Universal Action as shortcuts to convert results from Alfred’s Calculator, Clipboard History, or selected text.
⤓ Install on the Alfred Gallery | Source
-
cands reacted to pseudometa in Standalone Read-Later-App that saves items in plaintext
Thanks!
Unfortunately not.
-
cands reacted to pseudometa in Standalone Read-Later-App that saves items in plaintext
Simple standalone read-later-app for Alfred. Saves the items in plaintext on your device.
Usage
- Use the keyword rl to add the current tab of the frontmost browser to your read-later-list.
- Any item in your reading list also shows up when using the keyword rl. Press ⏎ to open the item in your browser and remove it from your read-later-list.
Items are saved locally
The items are saved in a local markdown file on your disk. You can set the location in the workflow configuration. The items formatted in the markdown task syntax. Unread items as open tasks: - [ ] [title](url) Read items as completed tasks: - [x] [title](url) This has several advantages: No dependency on any read-later service. The reading list is available offline. Since Markdown is a widely supported format, you can access your items in many other apps as well, such as Obsidian. Easy backup: Just copypaste the file. Easy sync: Just save the file in a Cloud Drive like iCloud.
➡️ https://github.com/chrisgrieser/alfred-read-later
-
cands reacted to TobiasMende in Audio Switcher (Swiftly switch audio output and input devices)
Hi folks, I built something today using Alfreds new Workflow Builder. Maybe you find it useful.
Why this Workflow?
I find myself frequently switching between audio output and input devices. Existing solutions either are slow, take to many interactions or need third-party tools.
Therefore, this workflow offers a couple of features to make switching audio devices easier and faster.
It also allows filtering out devices you do not want to see in the suggestions.
In order to make it even faster, the workflow provides Hotkeys and Remote Triggers for up to three input and up to three output devices and comes with its own Remote page.
The workflow is of course configurable. 😁
Some technical goodies:
This workflow does not need any third-party tools such as `SwitchAudioSource` or `jq`. It relies fully on Swift and ZSH, which should both be available in modern OS X Versions. Furthermore, as it does not contain binaries, code signing isn't an issue.
The code is on GitHub. The initial release (v1.0.1) is here https://github.com/TobiasMende/alfred-audio-switcher/releases/download/v1.0.1/alfred-audio-switcher.alfredworkflow
Inspired by:
I am looking forward for your thoughts and feedback! 🙏
-
cands reacted to vitor in Google Scholar Suggest — Get in-line Google Scholar search suggestions
Usage
Get in-line suggestions from Google Scholar’s search results via the scholar keyword. Press ↩ to open the search results page in the default web browser.
⤓ Install on the Alfred Gallery | Source
-
cands reacted to vitor in Snippet Transformer — Import and Export Alfred Snippet Collections to and from CSV
Usage
Convert CSV files to Alfred Snippet Collections via the Universal Action. The Snippet Collection will be saved to the Desktop and opened for import into Alfred if the option in set in the Workflow’s Configuration.
Converting from a Snippet Collection to CSV is also available.
Alternatively, search for CSV or Snippet Collection files via the csvsnip and snipcsv keywords.
⤓ Install on the Alfred Gallery | Source
-
cands reacted to vitor in Tapback Message — Add a tapback reaction to the current message
Usage
Send a tapback to the current message via the tapback keyword.
Configure the Hotkeys for faster triggering.
⤓ Install on the Alfred Gallery | Source
-
cands reacted to chatchavan in Go to a mailbox in Apple Mail
Usage:
1. With the Apple Mail app in focus, press a shortcut key to show Alfred with a special search field
2. Type parts of the name of the folder to jump to and press enter
3. The frontmost window of the Mail app will show that folder.
https://github.com/chatchavan/alfred-workflows/tree/main/Go to mailbox for Apple Mail
After importing the workflow, please specify the shortcut key in the first element of the workflow.
-
cands reacted to pseudometa in Alfred Homebrew search
Search for a Homebrew package via the `bi` keyword. ⏎: Install the package (`brew install`) in the Terminal. (Uses the terminal app you have configured in your Alfred settings.) ⌘⏎: Open the package's homepage (`brew home`). ⌥⏎: Copy the package's homepage to the clipboard. ⇧⏎: Show package information (`brew info`) in Large Text. Reinstall a package already installed on your system via the `br` keyword (`brew reinstall`). Uninstall a package via the `bu` keyword (`brew uninstall`). Optionally, use the `--zap` option for a clean uninstallation. Search and install fonts available in the Homebrew font tap via the `bf` keyword (`brew install font-…`).
➡️ https://github.com/chrisgrieser/alfred-homebrew
-
cands reacted to vitor in Banner Be Gone — Close notification alerts
Usage
Clear visible macOS notification banners via the notclear keyword.
Configure the Hotkey for faster triggering.
⤓ Install on the Alfred Gallery | Source
-
cands reacted to vitor in Words With — Find words that contain a particular pattern
Updated to 2023.1.
New repository. New icons. New About. Add configurable keywords. use Dictionary Lookup. Rewritten in JXA. Remove OneUpdater in favour of Gallery updating.
-
cands reacted to zeitlings in Extract Keywords
Extract Keywords
Extract keywords and keyphrases from articles, books or any other document with YAKE!
Usage
Send PDF, docx, doc, rtf or txt documents to the workflow’s File Actions Pass the text from your selection in macOS on to the workflow’s Universal Action Use the keyword and paste your text (default: kw)
The extracted keywords are presented in a dialog.
Dependencies
The workflow relies on Python3 to install the YAKE standalone.
YAKE!
pip install git+https://github.com/LIAAD/yake official installation guide
pdftotext
brew install poppler formula on brew.sh
Stopwords
Yake has internal stopword handling that cannot be influenced from the command line. However, you can still define a list of words that will be flat out purged from the input text. To set up a ‘purge word’-list, create a text file named as the language identifier for a corresponding language in the workflow root folder: assets/stopwords/de.txt.
The workflow checks if the file exists and if it does, the words are removed.
The purge-word files can be quickly accessed through Alfred by prefixing the keyword with a colon (default: :kw).
YAKE! is a light-weight unsupervised automatic keyword extraction method which rests on text statistical features extracted from single documents to select the most important keywords of a text.
-
cands reacted to zeitlings in DEVONthink Portal
Hey @Epitome, the issue was introduced with a dt3 update a while ago. Other than that, I've been using the workflow quite constantly myself without issues.
I've just uploaded an updated version that should work for you, hopefully. Let me know how it works out for you!
Among numerous internal changes, some things are new, e.g.
Import Memory - Groups previously selected for importing are remembered (configurable) Document Filters (Globally and per Database. Accessible via dvn .) Today (files worked on today) Recently Modified Recently Added Due Soon Overdue If a document is locked, it is indicated using Apple's SF Symbols. These may need to be installed. Internal configuration via dvn :c
V1.0.0 Release 🎉
-
cands reacted to pseudometa in Hyper Seek: Inline Search Results, without a keyword
This one quickly became one of my personal drivers, since it speeds up search so much.
Relies on a few hacks, so I don't know whether it'd be something for the Alfred Gallery. But at the very least, I wanted to share it here.
Features
Inline Search Results, similar to Spotlight on iOS. Works without a keyword. Results are always shown alongside your other keywords. Multi-Selection of URLs to open. Global Search Hotkey: Search for terms, open URLs, write mails, etc. Add link to selected text: Turns selected text into a Markdown link.
➡️ https://github.com/chrisgrieser/hyper-seek
-
cands reacted to godbout in Alfred AirPods Pro Battery
4.0.0 makes the Workflow Alfred Gallery compliant: https://github.com/godbout/alfred-airpodspro-battery/releases/tag/4.0.0
-
cands reacted to vitor in Alfred Gallery — Search Workflows on the Alfred Gallery
Usage
Search workflows in the Alfred Gallery via the gallery keyword.
↩: Open Gallery page in default browser. ⌃: Show tags. ⌘↩: Install workflow. ⌥↩: Narrow search to creator’s name. ⌘Y (or tap ⇧): Quick Look workflow’s Gallery page.
⤓ Install on the Alfred Gallery | Source
-
cands reacted to giovanni in Alfred's alphabet
Alfred's alphabet 🔤
A dictionary of your Alfred shortcuts
Download
Background
You can launch Alfred Workflows using single letters (either alone, or with a prefix, or as hotkeys with modifiers). Specifically:
1. single-letter keyword (e.g. m used for m query)
2. prefix + single letter keyword (e.g. k used with a prefix (!, -> !k) to search your Kindle library using alfred-kindle)
3. hotkey (a letter plus one or more of the modifier keys:
Shift (⇧) Control (^) Option (⌥) Command (⌘)
Alfred's Alphabet allows to review single-letter shortcuts in a single dictionary application, to check which letters are used, which are available, and which ones are conflicting with system-wide shortcuts.
Browsing Alfred's Alphabet
- launch with keyword (default: aalpha), or custom hotkey
- scroll results or enter a single letter to filter. The first output is an overview with one circle per keyword/hotkey.
- ⚪: unused prefix/hotkey modifier
- 🟠: prefix/hotkey modifier used for Alfred Workflow
- 🔴: used prefix/hotkey modifier, conflicting with one of the custom/system-wide shortcuts
- Circles are grouped in blocks as follows:
1. no prefix (i.e. single-letter keyword)
2. prefix block (if any): if any letter prefixes have been entered in Workflow configuration, they will be represented in this block (one circle per prefix)
3. 1-key modifier keys in this order (block of 4): shift, control, option, command
4. 2-key modifier keys:
- block of 3: sht-ctl, sht-opt, `sht-cmd
- block of 2: ctl-opt, ctl-cmd
- block of 1: opt-cmd
5. 3-key modifier keys (block of 3): sht-ctl-opt, sht-ctl-cmd, ctl-opt-cmd,
6. 4-key modifier (block of 1): sht-ctl-opt-cmd
- ctrl-enter ^↩️ will show the overview in large font
- enter ↩️ will list the workflows using that letter
- further pressing enter ↩️ will open the config page of the corresponding Workflow.
Saving custom hotkeys
By entering :aalpha you can open a csv file with custom hotkeys.
Enter your own, using for the modifier key one of the abbreviations listed above.
A few examples are listed as demo in the default file.
-
cands reacted to pseudometa in Search ALL the docs!
Also submitted to the Gallery yesterday.
Workflow searches directly more than 20 documentation sites:
➡️ https://github.com/chrisgrieser/alfred-docs-searches
css: MDN html: MDN js: MDN jxa: JavaScript for Automation Cookbook lua eslint rome sc: shellcheck Wiki pandoc git: official docs & the "pro-git" book py: python official docs sh: cheat.sh man: man pages hs: Hammerspoon reference sb: sketchybar docs ke: Karabiner Elements docs star: starship prompt docs ep: espanso docs wt: WezTerm docs
also included for convenience:
cc: conventional commit keywords keycode: macOS keycodes appid: app-id of installed macOS apps code: simple code search on GitHub and Sourcegraph
-
cands reacted to pseudometa in atop – Process Management & System Monitoring
Just submitted this to the Alfred Gallery yesterday.
Features
Process Management: CPU & Memory, kill processes, restart apps Bluetooth Devices: Battery Information (if available), Connection Network Connections Removable Volumes Uptime & Reboots Speedtest Live refreshing
➡️ https://github.com/chrisgrieser/alfred-atop
-
cands reacted to zeitlings in Define Word - A Better Dictionary
Define Word
I wanted a slightly better dictionary for lookups. In particular, I wanted well formatted previews of the entries without having to open the Dictionary app.
You can choose from all available dictionaries that are installed on your system, define the fallback dictionaries for your lookups, set the font size of the previews, or manually select a dictionary to use. The previews reflect the global appearance, i.e. they have a dark mode! The workflow also includes a preset for looking up synonyms of a word and a convenient keyboard shortcut for quick lookups.
‣Download from Github ◂
Usage Note
Specify the dictionaries you want to use (see Dictionary Options below). Define a fallback dictionary against which possible misspellings will be checked.
The workflow can be used as a multilingual spell checker.
Default keyword: def
Default shortcut: ⌥+⇧+D
Keyword sd: Select a specific dictionary for lookups
Keyword synd: Find synonyms by consulting the thesauri only (english)
Cache reset: def ?
Modifiers
⇧ or ⌘Y to preview the dictionary entry ⌃ to see the dictionary associated with the entry ⌘C to copy the dictionary entry’s plain text to the clipboard ⌘⏎ to paste a word to the frontmost application (spell checker) ⌘L to view the plain text as large type
Preview
Dictionary Options
Oxford Study Indonesian Dictionary - Inggris-Indonesia • Indonesia-Inggris
Oxford PWN Polish-English Dictionary / Wielki słownik polsko-angielski
Oxford Paravia Il Dizionario inglese - italiano/italiano - inglese
Oxford Portuguese Dictionary - Português-Inglês • Inglês-Português
Oxford Turkish Dictionary - Türkçe-İngilizce • İngilizce-Türkçe
Dicionário de Português licenciado para Oxford University Press
Dizionario italiano da un affiliato di Oxford University Press
Oxford Russian Dictionary - Русско-Английский • Англо-Русский
Gran Diccionario Oxford - Español-Inglés • Inglés-Español
Oxford Arabic Dictionary - عربي-إنجليزي • إنجليزي-عربي
Oxford Urdu Dictionaries - اردو۔انگریزی • انگریزی-اردو
Oxford Gujarati Dictionaries - ગુજરાતી-અંગ્રેજી • અંગ્રેજી-ગુજરાતી
Oxford Tamil Dictionaries - தமிழ்-ஆங்கிலம் • ஆங்கிலம்-தமிழ்
พจนานุกรมอังกฤษ-ไทย & ไทย-อังกฤษ ฉบับทันสมัยและสมบูรณ์ที่สุด
Magay Tamás szótár - Magyar-Angol • Angol-Magyar
Oxford Telugu Dictionaries - తెలుగు-ఇంగ్లీష్ • ఇంగ్లీష్-తెలుగు
Velký anglicko-český a česko-anglický slovník
Oxford Bengali Dictionaries - বাংলা-ইংরেজি • ইংরেজি-বাংলা
Diccionario General de la Lengua Española Vox
MOT sanakirja suomi-englanti, englanti-suomi
Oxford Hindi Dictionaries - हिन्दी-अंग्रेज़ी • अंग्रेज़ी-हिन्दी
מילון אבן-שושן מחודש ומותאם לשנות האלפיים
Multidictionnaire de la langue française
PONS Großwörterbuch Französisch Deutsch
Oxford American Writer’s Thesaurus
Duden-Wissensnetz deutsche Sprache
Oxford-Hachette French Dictionary
Толковый словарь русского языка
New Oxford American Dictionary
Prisma Handwoordenboek Engels
Prisma woordenboek Nederlands
Oxford Dictionary of English
พจนานุกรมไทย ฉบับทันสมัยและสมบูรณ์
Oxford Thesaurus of English
Politikens Nudansk Ordbog
Oxford German Dictionary
超級クラウン中日辞典 / クラウン日中辞典
Arkadaş Türkçe Sözlük
뉴에이스 영한사전 / 뉴에이스 한영사전
ウィズダム英和辞典 / ウィズダム和英辞典
Apple Dictionary
Từ điển Lạc Việt
TTY Dictionary
Norsk Ordbok
राजपाल हिन्दी शब्दकोश
商務新詞典(全新版)
NE Ordbok
뉴에이스 국어사전
譯典通英漢雙向字典
现代汉语同义词典
英譯廣東口語詞典
牛津英汉汉英词典
漢英對照成語詞典
现代汉语规范词典
五南國語活用辭典
スーパー大辞林
汉语成语词典
-
cands reacted to yinan in Homebrew workflow - learn more about formulas and casks
Hi there!
I am happy to share my recently created workflow, Alfred Homebrew.
Download from here to try it out!
What it does is basically show you a list of homebrew casks and formulas via the `cask` and `brew` keywords.
After tab completion of the selected item or typing the full name, it will show you the details.
Hope you guys will find this useful, and I greatly appreciate any feedback!
-
cands reacted to PhaseOne in Day One Alfred Workflow
Create Day One entries directly from Alfred. (requires Day One Mac 2.1.2 and later)
GitHub: https://github.com/ManuelMagalhaes/Day-One-2-Alfred-Workflow
This is my personal Alfred workflow to create entries in Day One. This extension allows to create entries, in the default journal or a specified one, and making them starred using Alfred. It's also possible to create entries with multiple lines by using "/n".
The Day One's CLI tool needs to be installed to use this workflow. Instructions are available here: https://dayoneapp.com/guides/tips-and-tutorials/command-line-interface-cli/
Usage:
New entry to the default journal: d1 (TEXT)
New starred entry to the default journal: d1s (TEXT)
New entry to the especified journal: d1j "(JOURNAL NAME)" (TEXT)
New starred entry to the especified journal: d1sj "(JOURNAL NAME)" (TEXT)
(The double quotes between the journal's name when specifing a journal to post in are required).
-
cands reacted to Praxder in Moom - Switch Between Custom Moom Snapshots
Updated. Here's the latest release.