-
Posts
628 -
Joined
-
Last visited
-
Days Won
22
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by Tyler Eich
-
-
i love it .. but I'm not sure how to bring up the color picker other than launching the color utility. or is the newer version than the one on packal?
You can't get the color panel to open? Packal does host the latest version…do you have any logs in Console.app related to "Colors.app"?
-
Is there a way Alfred differentiates cmd,alt,shift right and left keys? Many Mac applications do, so why not Alfred?
Would be Christmas for keyboard shortcuts freaks
It already does on results. What do you mean, exactly?
I think he means e.g. left Cmd vs. right Cmd
-
To any who may be interested: Percentage calculator workflow
Type "100 + 10%", get "110" as the output. It emulates the behavior of a 4-function pocket calculator.
Enjoy
-
This is a totally cosmetic issue (I'm almost embarrassed to submit it. Almost.), but three successive periods is actually an ellipsis, so an ellipsis should be used in its place.
Above: custom calculator using ellipsis
Below: default calculator using three periods
-
You can use the built-in Web Search feature to load a website when you type in a keyword. For example, you could create an entry that opens 'https://www.facebook.com' when you type 'facebook'.
More information on Web Search features in Alfred v2
I don't know of any way to filter bookmarks by folder in Alfred's default interface. This may be possible for a workflow, but I don't know much about Safari's bookmark system…
-
Hi
If I load up the clipboard/snippet viewer it opens up and that's fine. At the top of the list I can open up a list of available snippets or I can click on one of the items in the list of clipboard items if I wish to. However, if I open the list of available snippets and then decide that I want to go back to the list of clipboard items instead how do I do that? I've tried all the keys I can think of to no avail and at the moment I have to press the esc key to close the pane and then toggle Alfred again. I'm sure there is another way of going back to the opening list that I have failed to find.
Thanks,
Q
You just blew my mind. As far as I know, there is no way to return to the original combined list of snippets and clipboard history once you choose "All Snippets".
I do think this should be allowed. The key to do it should be 'Esc', just like the File Actions panel.
-
This is driving me nuts. Sometime in the past I feel like I was able to drag and drop Workflow Objects (up and down) in Alfred, but it's eluding me. I've tried ⌘, ⌃, ⌥, ⇧ in practically every combination + dragging, and up/down arrows.
In the mean time I've taken to editing the info.plist files. Finding objects, then linking them via their uid (eg. 48A46073-4B6E-4C2E-AB2B-A18169383256) then editing their ypos is laborious.
It's rare when I need it but sometimes I need it, eg. when adding multiple modifiers, connections start to overlap and can start becoming hard to click.
Someone tell me there's a better way and I'm a big dummy for forgetting it. I beg you.
Dragging and dropping is how you rearrange workflow objects. If it's not working for you, something is wrong on your system (I just checked; it works on my end)
Are there any warnings or errors from Alfred in the Console.app?
-
Hi Tyler Eich !
Thanks for your great Colors.
I would like to submit a feature request : Add Swift support for colors :-)
Glad you like it
I plan to add Swift support at some point; good to hear someone's interested it having it
-
Hi Andrew,
I've tried googling around for a layman explanation of GCMathParser's method of doing percentages but it doesn't seem very straightforward. =10%100 = 10 (ok this is easy!) =10%200 = 10 (hang on…) = 10%1000 = 10 (wtf?). I had come across the Percentage plugin and have been using that, which seems much more sensible in usage (to me anyway).
Cheers
The % operator means "remainder" in GCMathParser (and in many programming languages). So 7 % 3 = 1, because 7 divided by 3 is 2 *remainder 1*. 10 % 10 is actually 0, because 10 divides into 10 once with *no remainder*.
Try typing "7 % 3" into Google; you should see the same result Alfred gives you.
I might also note: few computer languages have an operator for percentages, just because its so simple to do with division (divide by 100, multiply by percentage)
Hope this helps
-
As far as I know, there are ways to do this. An instance of NSWindow can be placed in a layer higher than NSNormalWindowLevel (the default), like NSFloatingWindowLevel.
The only hurdle is deciding which level to put the window on. There are higher levels than NSFloatingWindow, so other apps who have used these levels will be above Alfred.
-
I think a {selection} token, used like {query}, would be a better solution. Internally, Alfred captures the selected text on opening and passes the text of the cached selection to instances of {selection}.
Then the original clipboard should be preserved to prevent confusion for other apps that depend on the clipboard (like MenuClip). Alfred has had to deal with other apps that hijack the clipboard; it seems silly to do implement a similar behavior into Alfred himself…
Please correct me if I'm misunderstanding the technical details
-
I get this error on "Colors" v1.41 running Yosemite with alfred v2.5.1.
[ERROR: alfred.workflow.input.scriptfilter] Code 255: Fatal error: Call to undefined function imagecreatefrompng() in /Users/lajlev/Dropbox/Privat/Alfred/Alfred.alfredpreferences/workflows/user.workflow.5BD4F2BF-D506-464D-B683-03A0EBCC93C9/colors.php on line 123 [ERROR: alfred.workflow.input.scriptfilter] XML Parse Error 'The operation couldn’t be completed. (NSXMLParserErrorDomain error 4.)'. Row 1, Col 1: 'Document is empty' in XML: Fatal error: Call to undefined function imagecreatefrompng() in /Users/lajlev/Dropbox/Privat/Alfred/Alfred.alfredpreferences/workflows/user.workflow.5BD4F2BF-D506-464D-B683-03A0EBCC93C9/colors.php on line 123
Sorry, but v1.41 is not under active development, so any existing bugs will remain unfixed. If you'd like to update to the latest version, please download and reinstall the workflow from Packal
The workflow is working well for me on Yosemite, except the color picker doesn't seem to copy the eyedropper selected colour to the clipboard (or copy anything to the clipboard)
Thanks for pointing this out! It seems that OS X is taking focus away from the color picker after sampling the screen color. I've programmed the color picker to terminate when focus is lost, which causes this behavior. I'll see what I can do
-
In my mind, a better (and additional) solution would be to allow object labels. Developers could use this feature to 'comment' their workflows and would help when dealing with especially intricate connections and in workflows with many similar objects.
-
Hi! Will there be an update for Yosemite? The workflow stopped working for me after I updated.
Thanks!
What features are you having issues with? It still works on my end…
Running Alfred 2 v2.5.1 (306) on Mac OS X 10.10 (14A389)
-
A big +1. For me, this is the only glaring omission in Alfred's Quicklook implementation
-
Is it still true that the only "type" available is "file"? I really wish there was a reference document for these kinds of question...
I think you'll like this: http://support.alfredapp.com/workflows:config:inputs-script-filter
-
hsl(0, 0, 0) returns hsl(0, 0%, nan%) when it should return hsl(0, 0%, 0%).
Actually, hsl(0, 0, .0000000000000000000000000000000000000000001) get the proper thing, but add just one more zero and you get the Nan!
Just so you know, I'm investigating this issue. For some ungodly reason, Colors isn't compiling at all with Xcode 6, so I'm having a rather difficult time debugging the code. I'll try to fix this (and a few other lingering bugs/annoyances) before too long!
-
I did that, and as expected, the .Spotlight-V100 folder on the external drive was not touched by this process. It only indexed the main system drive, which is not where the problem lies. I know this because I enabled hidden files to be shown and watched what happened in the root directories of both drives once I started the rebuild process.
My file search results still include the contents of iPhoto Library packages. This isn't a Spotlight issue, this is something else relating to these iPhoto Library packages on the external drive. The current remedy is to manually add the package contents to the Spotlight privacy exclusion list. It's a hack, but it works.
You might try using a workflow I made to reindex your external drives:
Open Alfred, type "force reindex ", then choose the drive that's giving you problems. Once you hit enter, AppleScript will ask for your administrator password. It will then execute the following commands (used by Andrew and found originally at SkillZ Design, before Alfred's handy "Rebuild OS X Metadata" button appeared) :
sudo rm -R /Volumes/{Drive Name}/.Spotlight-V100 sudo mdutil -i on /Volumes/{Drive Name}/ sudo mdutil -E /Volumes/{Drive Name}/
This will delete the existing metadata index on the drive and force mdutil (Spotlight's backend) to rebuild the metadata.
Note that reindexing can take a significant amount of CPU power and several hours.
-
Hmmm…
This sounds like a metadata problem. Is your external drive formatted as "Mac OS Extended"? You can find this out by right clicking the drive in Finder, choosing "Get Info", and looking for the "Format" entry.
If this isn't the problem, I can't be of much help . Maybe another forum member will have something better to say.
-
The easiest way to do this is to add the folders in question to Spotlight's Privacy tab. I've answered a question similar to this in the past; it might help you in this scenario too
http://www.alfredforum.com/topic/4344-ignore-files-from-application-folders/?p=26218
-
I just tested this with my Colors workflow. I attached a hotkey to one of the script filters (any of them will do; they all use the same argument settings). On pressing the hotkey, the default result ('OS X Color Panel') appears until input is given. This result is only available once the backend codebase is run.
TL;DR: I'm not able to replicate this issue.
Alfred 2 v2.5 (295) on Mac OS X 10.9.4 (13E28)
-
Tyler,
This helpful little guy broken in v2.4:277. Now you can set the blur under Appearance->Options, and the problem is that, at least when syncing is set to true, the preference is stored in a different plist, namely:
/path/to/sync/folder/Alfred.alfredpreferences/preferences/local/[HASH]/appearance/options/prefs.plist
The workflow could easily be fixed by checking to see if the new environmental variables (+=2.4:277) are set, and, if so, constructing the path from those to set it in the correct plist.I'm undecided about maintaining this workflow. Since v2.4 added a slider for blur, the functionality here is no longer needed. If Alfred has an official way of implementing a feature, I don't like to hack his internal preferences myself.
-
I ran into a similar issue with Alfred 2.4 (275) the Yosemite Public Beta 1. Ironically, a simple restart solved it for me
Try the latest prerelease (i.e. v2.4) and see if the issue remains
-
Hi Tyler,
Your Workflow is splendid!
I still have one question, could you help? When hitting ⌘, the pasted data into Growl includes more informations than the one pasted in the clipboard with ⌥ (I get only the main line displayed in Alfred).
Is there any way to paste the result we get in Growl into the clipboard?
(Maybe with another shortcut or by changing the ⌥ behavior)
Thank you very much!
Vadim
Sure, you can edit the workflow to do this without much work on my end
Basically, you're going to find the connection between a Run Script object and a Growl output. When you find this connection, simply add another connection between that Run Script object and a Copy to Clipboard output.
On my end, the screenshot below does what I described above. If you don't want the Growl notification, simply delete the Growl object from the workflow
Colors—convert color formats & access the OS X color panel
in Share your Workflows
Posted
Ah, there is a known issue with the eye dropper. You can see it on Github.