-
Posts
4,954 -
Joined
-
Last visited
-
Days Won
325
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Everything posted by Andrew
-
Copying a Variable to clipboard?
Andrew replied to mikejandreau's topic in Workflow Help & Questions
@mikejandreau Yes, if the workflow variable is called appvar, use: tell application (system attribute "appvar") to activate -
Copying a Variable to clipboard?
Andrew replied to mikejandreau's topic in Workflow Help & Questions
You'll need to switch to using a Run Script object set to /usr/bin/osascript (AS), then you'll have access to script environment variables. Alfred sets all workflow variables to the environment before running the osascript. A simple example of getting at a workflow variable named 'away' into an AppleScript as var1 is as follows: on run argv set var1 to system attribute "away" return var1 end run In your case you'd be able to do the following: set the clipboard to system attribute "away" Cheers, Andrew -
@Leighton As @deanishe says, this is actually a pretty complex issue. One option is to simplify the problem by making the document more generic. If you export it as a PDF, then there are more options available for printing (even if they aren't perfect). Once you have a pdf, you could use the lpr command with a HotKey object connected to a Run Script object in an Alfred workflow. For example, if the document was called test.pdf on your desktop, the command would be lpr ~/Desktop/test.pdf Rather than giving more examples, here is a forum thread I found which discusses the issue (and highlights that it's not as simple as one may think): https://macscripter.net/viewtopic.php?id=39359 Cheers, Andrew
-
Clipboard History sorting javascript functions first
Andrew replied to dfmjr's topic in Discussion & Help
@dfmjr Alfred orders the clipboard history by date (date added / date last used). Just a theory (or wild guess)... It looks like those Javascript functions all come from Microsoft Studio Code, which can be configured to "Copy on Select". If this is configured, the functions would be placed at the top of Alfred's clipboard history when you just select them in MSC. Does this sound like a possibility? Cheers, Andrew -
I'm seeing improved search behaviour in Catalina Beta 7. Ensure that you have ~/Library/CloudStorage/iCloudDrive added to your default search scope in Alfred (this will be added in the default scopes in a future release). I suspect there are still some more improvements to come from Apple in the beta. Cheers, Andrew
-
@rinodattilo I'm not seeing this issue, I just configured a new hotkey to launch Safari and it worked as expected
-
@dp_ucsd adding to what @vitor said, you'll need to duplicate one of the default themes (or create a brand new theme) as the default themes are not editable. Once you have a custom theme selected, move the mouse around the Alfred window within the theme editor and you'll see a highlight for the item you'll be editing (resizing, colouring etc). Cheers, Andrew
-
@yoyodi I've just checked our mail logs, and your incoming mail server returned a 550 Mail content denied error and blocked it. Véro will reply to your email as soon as possible with your code. (we have a large number of emails to handle at the moment, so please be patient). Cheers, Andrew
-
Finding files with multiple kMDItemKeywords
Andrew replied to luckman212's topic in Discussion & Help
Alfred's built in search works as designed (less noise), so the behaviour you are seeing is correct. You have control over file search behaviour if you use a file filter in a workflow. For example, to arbitrarily search keywords, you would use something similar to this: You can add in other fields if you want to search by e.g. display name also. Here is more info on using file filters: https://www.alfredapp.com/help/workflows/inputs/file-filter/ Cheers, Andrew -
This is usually down to Alfred's preferences not being available when Alfred starts. Have you set Alfred's preferences to be in a different location to standard, for example an external volume or a mapped drive? Cheers, Andrew
-
Custom keyboard layouts not supported?
Andrew replied to Jakub Sypiański's topic in Discussion & Help
Alfred fully relies on standard Apple APIs to obtain the key code / key mappings which are used when simulating key combinations. I've added a ticket to look into this more deeply, but I can't promise any timescales as this is the first time it's come up and it has to be treated as a corner case. Cheers, Andrew -
Please do not exclusively lock Alfred's databases, as this will have a severe impact on Alfred's ability to operate normally. Cheers, Andrew
-
@politicus does 4.0.4 fix the issue for you?
-
Is this the same as this:
-
@craig this should now be fixed in the 4.0.4 b1098 pre-release
-
@deanishe Hmm, looking into this, I had set an arbitrary limit many years ago. This may have been to work around an old macOS (performance?) bug, but I don't seem to have logged why I set this limit. I'm going to increase it to 4096 for now, and add a ticket to do some proper investigation into this. Cheers, Andrew
-
-
Custom keyboard layouts not supported?
Andrew replied to Jakub Sypiański's topic in Discussion & Help
Alfred should discover the correct combos / key codes per keyboard layout used. I've just tested with a few obscure built-in Apple layouts with Alfred's internal logging running and Alfred adapts accordingly. There is a chance that being a custom layout, Bépo may have an underlying mapping issue. We also can't discount that Apple's custom keyboard layout handling could be iffy. Cheers, Andrew -
@dfay could it have been the bleep bloop you get when there is a notification or message on the forum?
-
solved [SOLVED] Dragging to Copy to Desktop
Andrew replied to AutumnAdrift's topic in Discussion & Help
@AutumnAdrift Alfred now matches the standard macOS (Finder) behaviour: Holding the option key will perform a copy action. Dragging to an external volume will perform a copy by default Cheers, Andrew -
Keyword-order-insensitive Clipboard History Search
Andrew replied to ssppjj's topic in Discussion & Help
There is so much more to consider than this just being "simple to implement" though, especially with a significant data set such as the clipboard history. There is a very sensitive balance between getting useful matches vs noisy irrelevance. As @deanishe said, some decent concrete examples may help shape future matching. -
@174353576 This is a bug in Catalina, I've posted a response here: Users have noticed that if you open an app, it can then be successfully indexed!