Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [alfred]

An application launcher and keyboard productivity application for macOS

2
votes
0answers
67 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/...
3
votes
1answer
226 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 ...
0
votes
1answer
79 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 ...
2
votes
1answer
50 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 ...
3
votes
0answers
77 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 ...
1
vote
2answers
258 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-...
1
vote
3answers
47 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 ...
5
votes
3answers
1k 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 ...
1
vote
1answer
237 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 ...
1
vote
1answer
188 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 ...
1
vote
2answers
86 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 ...
1
vote
0answers
55 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? ...
3
votes
0answers
581 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 ...
1
vote
1answer
454 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 ...
2
votes
1answer
250 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 ...
2
votes
0answers
171 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 ...
0
votes
1answer
100 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 ...
-1
votes
1answer
977 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 ...
0
votes
2answers
420 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" ...
2
votes
1answer
390 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. ...
1
vote
1answer
218 views

Where does Alfred store web searches?

Where does Alfred store default and custom web searches that you create on your Mac?
1
vote
1answer
220 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 ...
3
votes
1answer
1k 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 ...
3
votes
2answers
164 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/...
2
votes
4answers
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 ...
1
vote
1answer
1k 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?
1
vote
1answer
310 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 ...
1
vote
1answer
352 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 ...
4
votes
0answers
562 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 ...
2
votes
1answer
359 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 ...
0
votes
1answer
56 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 ...
3
votes
3answers
3k 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 ...
0
votes
1answer
69 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 ...
8
votes
4answers
12k 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 ...
3
votes
1answer
166 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 ...
2
votes
2answers
7k views

Aliases in Alfred: Keyword -> Open a specific folder in finder

I would like to define aliases (keywords) in Alfred so that by typing keyboard followed by RET, it opens a pre-specified folder in Finder. For example: p1 could be an alias for "project_1" that lives ...
4
votes
2answers
3k views

Applescript: Open current Safari tab in Chrome (Troubleshoot of working script)

So, I decided a while ago to run a Flash-free install of Safari. It's been really great, Safari seems much more stable overall and I barely miss it. But every once in a while I stumble upon a site ...
3
votes
1answer
172 views

How to open a searched file in Finder?

When I search a file in Spotlight, it provides me a good result. But the problem is that I want to open the file in Finder, instead of directly opening the file in an application. How can I open in ...
3
votes
5answers
9k views

Alfred keeps asking for Contacts permission

I'm not sure what is going on. Every time I access Alfred, I get this dialog box, "Alfred would like to access your contacts." I always have to click "OK" before I can use the program. I have verified ...
1
vote
3answers
2k views

Spotlight and Alfred can't find alias to Emacs.app

I installed Emacs.app with Homebrew, and used brew linkapps to create an alias in my /Applications directory. Since I updated to OS X Mavericks yesterday, Spotlight and Alfred can no longer see this ...
1
vote
1answer
2k views

Applescript - the activate command makes application “half-active”

What I did: Using this link, I created the following Applescript: tell application "System Events" click (first button whose subrole is "AXZoomButton") of (first window whose subrole is "...
4
votes
6answers
2k views

Sublime Text like fuzzy filesystem search for Mac OS X

Currently I am using Alfred's filesystem navigation capabilities. It's pretty awesome, but sometimes I want fuzzy-search to match not only the filename but the full path. E.g. I want to find a pdf ...
0
votes
2answers
607 views

How do I stop Alfred from stealing command+shift+\?

I use the program Alfred2, unfortunately it keeps trying to steal the keyboard shortcut CMD+SHIFT+\. How do I stop it from doing so? It conflicts with other apps such as Aperture.
3
votes
2answers
553 views

Alfred extension or equivalent that brings a single window to the forefront

Right now, if I want to switch to a Sublime Text 2 window open to a "project" called foo, I can do option+space, type Sub hit enter and then hit cmd+` repeatedly until I arrive at the window I want. ...
4
votes
2answers
711 views

Can I extend Alfred with a command-line program to clean up the desktop?

I'd like to have something that I can run from Alfred or the command-line that can run "clean up desktop". What is a command-line program or apple script that will cleanup the desktop? Preferably ...
2
votes
1answer
225 views

Alfred takes longer to show results, database disk image is malformed

I don't know why, but about a week ago I started seeing a lot of errors like this in system.log: 9/15/12 5:55:21.769 AM Alfred[263]: DB Query: select item, count(item) as used from knowledge where ts ...
-1
votes
2answers
2k views

Alfred - Open selected url in browser

I'm looking for a way to open the url in clipboard with Alfred - using shortcut key. Can we do this ? Example: I select an url then I click a combo key. My browser will open that url
5
votes
3answers
1k views

Time Tracking App with Alfred integration

Is there a time tracking that integrates with Alfred, so you can start/stop time tracking using typed commands?
8
votes
3answers
1k views

How can I start Bluetooth tethering using the command line?

I'd like a quick way to start tethering using my iPhone, hopefully just using the keyboard. Using the bluetooth menu, I can choose the Connect to Network option in the submenu for my device, but is it ...
3
votes
2answers
1k views

Combining Finder's File Open/save dialog with Alfred

Finder's Open/Save File dialog is actually very dumb (in terms of flexibility). When I look for a file or its location, I can probably find it much faster using Alfred. However, in many cases, you ...