Questions tagged [alfred]

Use this tag for questions concerning Alfred app for macOS

Filter by
Sorted by
Tagged with
1 vote
1 answer
84 views

Opening a OneNote Page URL in terminal on mac

I am trying to open a onenote page directly using a shell script on mac. I know this is possible using Alfred by passing the 2nd url (beginning with onenote:) when right clicking a onenote page and '...
user avatar
  • 145
1 vote
0 answers
113 views

How to display default chrome history in Alfred?

Alfred beginner here. I found this awesome workflow which enables chrome browser history search in alfred. Is there a way to add default chrome browser history to it? I want to type ch and have the ...
user avatar
1 vote
1 answer
324 views

Toggle between two resolutions with a shortcut with Alfred

I wanna be able to toggle between these two resolutions with a single shortcut: And I wanna have it set up in Alfred so that I may easily reuse across macs. I believe I found most of the solution ...
user avatar
  • 393
1 vote
0 answers
33 views

use Apple Remote to run arbitrary commands to use for alfred.app

I use Alfred.app to rate tracks in an music app "swinsian" (double cmd on keyboard gives 5star rating..globally..nice) I would like to trigger that kind of command to alfred via apple remote ...
user avatar
0 votes
0 answers
49 views

Naming and switching windows

Let's say I want to dynamically assign an open window a number (or an alias) to be able to activate it quickly later. For example, say that I manually activate a Chrome Window that contains several ...
user avatar
2 votes
1 answer
93 views

Is there a way to automate the movement of application windows to assigned monitors? [duplicate]

So I have a new set up: 2 large screens (top left and top right), my macbook pro (centre), and my ipad (left). I'm a coder, I like to have my coding environment in the centre, with research on the top ...
user avatar
  • 145
1 vote
1 answer
333 views

Is there a way to exclude certain apps from showing in the spotlight/alfred results

I mainly use Alfred to launch various apps and I am kind of annoyed when I am trying to open chrome, the chess app is the first in the results and fibre channel comes up first when I am trying to open ...
user avatar
  • 469
0 votes
0 answers
85 views

Override system hotkeys (shortcuts) for switching between apps and tabs in MacOS 10.15

I am using MacOS 10.15.6 and already setup keyboard's system preferences to swap modifier keys. I swap Command and Control keys already. At the moment, with this new re-map applied, I must hit, ...
user avatar
  • 101
0 votes
0 answers
28 views

Alfred is annoyed with finder

Alfred is having an issue with Finder. When I do an Alfred search for finder a window will appear provided I had previously closed it. If I have a finder window open in another desktop, Alfred will ...
user avatar
  • 121
2 votes
1 answer
378 views

What are all possible ways a keyboard shortcut could be bound in Safari?

What are all of the ways a keyboard shortcut could be bound in Safari? I am aware of the following: The app’s own standard shortcuts System Preferences > Keyboard > Shortcuts > App Shortcuts > All ...
user avatar
  • 332
1 vote
1 answer
759 views

always launch new window from spotlight

I want to launch new window for all applications every time when i launch an app using spotlight or alfred. Is there any to accomplisht that?
user avatar
1 vote
2 answers
1k views

Alfred and Spotlight don't detect VSCode even though I've it on shortcuts

When I installed the VSCode I had added it to dock applications. I am not able to find it/open it with Alfred or Spotlight. I tried to search for: code, VSCode, visual studio code, and nothing. It ...
user avatar
3 votes
1 answer
55 views

How do I check all boxes in Alfred Snippets?

I imported the Alfred Snippets Emoji pack except all the boxes to enable the many, many emojis are unchecked. How do I quickly check all these boxes? Manually checking each box will take a long while.
user avatar
  • 153
1 vote
1 answer
21 views

Cleaning iTunes Artwork Cache, Please Wait

I pressed some keys accidentally on my Mac and then this showed up. No idea what this is. It also doesn't disappear after it finished cleaning the cache. I have macOS 10.14.6 Mojave.
user avatar
  • 560
1 vote
1 answer
76 views

Is it possible to show more preview subtext lines in Alfred search

When I search for something in Alfred, like in the dictionary result in the image below, it only shows one line of the subtext. Is it possible to show more lines? Especially for word definitions, I ...
user avatar
  • 157
3 votes
0 answers
587 views

How to enable/disable Do Not Disturb from shell on Mojave?

I've searched far and wide, but obviously not enough, to find a solution for this on macOS Mojave. I found the answers here, but they don't work on Mojave: https://apple.stackexchange.com/a/303400/...
user avatar
3 votes
1 answer
1k views

In AppleScript or JavaScript how can you click menu item?

I need to change a theme using a script for Mojave, Alfred and Sourcetree. I've already successfully done this with Mojave and Alfred using this script: var alfredLightTheme = "Alfred" var ...
user avatar
  • 295
0 votes
1 answer
263 views

Display an overlay while a hotkey is pressed

I have recently switched to a keyboard with a particular layout, and I'd like to setup a system-wide keyboard shortcut to display an image overlay on the screen while pressed. This image would be a ...
user avatar
2 votes
1 answer
198 views

Alfred doesn't see Simulator app

I installed Alfred on a 10.13 machine a few days ago and it doesn't see Simulator app. I tried to reinstall Alfred, clear Alfred cache multiple times, rebuild Spotlight index. No luck. It works ...
user avatar
  • 274
3 votes
0 answers
155 views

Is there a way to disable the Spotlight hot keys via the terminal?

I am trying to make configuration of a new macOS system as automated as possible. I use Alfred and prefer to use Cmd-Space to trigger the Alfred window instead of the install default of calling off to ...
user avatar
  • 557
12 votes
3 answers
5k views

how can I filter out unwanted search results in Alfred (ie node_modules folder, caches)

Been a user of Alfred for a long time, however whenever I search anything I get a lot of FUD results due to alfred also indexing all my web project node_modules directories. Is there any way to path-...
user avatar
  • 243
1 vote
3 answers
60 views

Close recent windows of an application

I'm using Selenium in order to control multiple Firefox sessions at the same time. In this context, the OS handles each Firefox window as a different application. I want to build a workflow that'll ...
user avatar
  • 113
6 votes
3 answers
3k views

How to make Alfred switch to currently open Chrome instead of opening a new window?

This used to be the normal behavior for me: I have a Chrome window A open The focus is in another program window B I bring up Alfred and type Chrome Chrome is the first result, selected by default I ...
user avatar
1 vote
1 answer
523 views

OSA Script failing for JavaScript All the Sudden

I'm running a simple Alfred 3 workflow as I always have but the osascript portion of it is failing all the sudden. I've restarted my machine and of course Alfred 3. This is the error I get in the ...
user avatar
1 vote
1 answer
288 views

Replace Specific Variables In Selected Text Via Script

So for my work, I am constantly generating links that have to variables that need changed (Ex. http://www.thedomain.com/ajdkeial.html?keyword1={keyword1}&keyword2={keyword2} ) The link is ...
user avatar
1 vote
2 answers
164 views

How to optimise my script, a script for opening new a new emacs instance only if no instance is present

I use emacs and I have written a script which is half in bash and half in AppleScript in order to do the following (first I write the code and then the pseudocode). We assume that a emacs daemon is ...
user avatar
  • 213
2 votes
0 answers
182 views

Any key board shortcut to move application to another workspace in MacOS sierra? [duplicate]

I want my applications to be moved between workspaces with only keyboard in MAC OS SIERRA Is it possible to move application to next workspace by any open source free tools ? any alfred workflows? ...
user avatar
3 votes
0 answers
813 views

Disable slow window animation on OS X El Capitan?

I've tried the answers suggested in this question: How to turn off all animations on OS X But so far now luck. When an application has been recently opened, I can switch to it without seeing the ...
user avatar
  • 205
1 vote
1 answer
925 views

how to check if a specific UI element is in focus apple script

I've searched a lot for this, but all answers talk about how bringing a whole window (or dialogue.. which is still a window really) into focus via activate etc. But I couldn't find any way of ...
user avatar
  • 2,433
5 votes
1 answer
1k views

Alfred searching through directories and filenames at the same time

Lets say I have the following structure: ~/DOCUMENTATION/UBUNTU/CHECKINSTALL reference.txt Is there a way to configure Alfred so that when I type in the search bar "ubuntu checkinstall" it would ...
user avatar
2 votes
0 answers
430 views

Switching between fullscreen applications gets "stuck" on Space 1

I run all of my applications in full screen mode on a laptop without an external monitor. I almost exclusively use Alfred to swap between applications, since I'm frequently moving between more than ...
user avatar
0 votes
1 answer
123 views

Script to toggle internet sharing using Alfred

I tried many methods to toggle internet sharing with Alfred but its not working! Its driving me crazy! Can anyone please help me with an AppleScript which I can paste in Alfred and assign a hot key ...
user avatar
-1 votes
1 answer
1k views

How to disable spotlight for Alfred El Captain

I have asked this question last year. In the link below. How to disable spotlight for Alfred But, since the settings now changed in El Captain the answer is not valid now. Please re-answer. I don't ...
user avatar
1 vote
2 answers
725 views

Is there a way to fetch the icon file path of an application using AppleScript?

I'm currently writing an Alfred workflow in which I want to retrieve the icon file path linked to an application. Is there any way to do so natively using Apple Script ? tell application "Finder" ...
user avatar
  • 113
2 votes
1 answer
620 views

Launching Character Viewer (aka CharacterPalette) from command line

So, recently I have being using the Character and Keyboard Viewer a fair bit and set up simple Alfred keywords that toggle the launch/quitting of these apps so as not to have to leave the keyboard. ...
user avatar
  • 131
1 vote
1 answer
408 views

Where does Alfred store web searches?

Where does Alfred store default and custom web searches that you create on your Mac?
user avatar
  • 121
1 vote
1 answer
265 views

Is there an Alfred Workflow to install and view Alfred workflows?

I want a workflow like the cask / brew workflow for Alfred workflows. Does this already exists? e.g. auto completion, viewing and installing and removing right from alfred instead of searching google ...
user avatar
  • 121
3 votes
1 answer
2k views

How to disable spotlight for Alfred

I use Alfred instead of spotlight but sometimes I accidentally press cmd + space( Spotlight Shortcut ) instead of double shift( Alfred Shortcut ). I want to disable Spotlight( shortcut + not run it in ...
user avatar
3 votes
2 answers
242 views

Search LaTeX documentation with Alfred

I'm using Alfred v2 on Mavericks. I would like to use it to quickly locate documentation of LaTeX packages (PDF files). I have TeXLive 2014 installed in /usr/local/texlive/2014. I added /usr/local/...
user avatar
  • 312
2 votes
4 answers
2k views

Alfred Terminal / Shell Command does not work

In Alfred, if I type > ls must open iTerm2 with that command. Well, does not work for me. In Application if I select Terminal instead of iTerm2, works. If I select Application → Custom, it shows ...
user avatar
  • 12.7k
1 vote
1 answer
2k views

Open iTerm and execute some commands automatically

I need to open some terminal sessions via iTerm 2 and execute commands on each terminal (e.g. rails s ; rails c) How to do it via automator or alfred?
user avatar
  • 2,429
1 vote
1 answer
534 views

Alfred command: switch finder directory in same window

I am an avid user of the launch application Alfred. I already have key bindings to open specific directories but when initiated, they always open the directory in a new finder window. Im looking for ...
user avatar
1 vote
1 answer
374 views

Alfred 2 fails to launch after upgrade to Yosemite

I just upgraded to Mac OS X Yosemite 10.10 and Alfred 2 fails to launch. In Activity Monitor, it reports that it is not responding, and the only thing I can do is Force Quit it. Console doesn't ...
user avatar
  • 887
4 votes
0 answers
720 views

Web search with Alfred create new tab or new window randomly

I use google search with Alfred, but after I press 'Enter', sometime the searched content shows up in a new tab in Safari, which is what I prefer. But sometime a new window of safari is created ...
user avatar
  • 323
2 votes
1 answer
420 views

Exclude apps from Spotlight results

Is there a way to exclude specific apps from Spotlight search results? For example, in my daily workflow I rarely open iTunes. So when I want to open iTerm2 it would be great to save the extra ...
user avatar
  • 23
0 votes
1 answer
67 views

Find a file/folder within another folder with OSX UI

I often have project folders clientA, clientB, personalproj1 etc and often they all have commonly used files/filers e.g. They might all have myCode.js, so when I type myReusedCode.js in spotlight (or ...
user avatar
  • 307
4 votes
2 answers
4k views

How to diagnose Finder losing icons for folders?

After a reboot several strange issues come up from nothing. Suddenly all system directory lost their icons: Desktop, Home, Downloads, Pictures, Movies... have the normal folder icon. Even in Finder's ...
user avatar
  • 806
0 votes
1 answer
81 views

Alfred 2 script filter executable loading unusually slowly

I created a workflow for Alfred for searching DuckDuckGo and automatically displaying the results in the window, with a script filter. It takes ~4 seconds to start from Alfred. It takes 0.506s to ...
user avatar
  • 6,854
12 votes
4 answers
19k views

How to get Alfred to run a terminal command and open one app twice?

I often need to run multiple copies of an app, like VLC. For this I use the terminal and run a command similar to: open -n /Applications/VLC.app How can I create a shortcut with Alfred to run this ...
user avatar
  • 475
3 votes
1 answer
251 views

How to switch from Spotlight to Alfred via Terminal?

I installed Alfred through homebrew-cask. I want to disable Spotlight and let Alfred be opened with Cmd+S. The first Terminal-based solution I tried was unloading Spotlight with sudo launchctl unload ...
user avatar