Jump to content

mklement0

Member
  • Content Count

    45
  • Joined

  • Last visited

  • Days Won

    2

mklement0 last won the day on December 14 2015

mklement0 had the most liked content!

About mklement0

  • Rank
    Member

Contact Methods

  • Website URL
    http://same2u.net

Recent Profile Visitors

885 profile views
  1. E.g., searching for "Dunbar's number" correctly shows the preview of the Dictionary.app article, but submitting the entry in order to display it in Dictionary.app quietly fails - a blank page is shown. Omitting the apostrophe (single quote) - searching for "Dunbar number" - works as expected.
  2. Note: This is not a workflow, but a helper CLI (command-line utility) geared toward Alfred users who manage development of multiple workflows intended for sharing. I suggest installing via the npm registry, if you have Node.js installed - if not, consider installing it just to benefit from its great package manager, npm; try curl -L http://git.io/n-install | bash ): [sudo] npm install -g awf Alternatively, here are instructions for manual installation. Note, however, that the npm-based installation makes updating to a newer version much easier. Below is a high-level overview
  3. The workflow comes with two distinct feature groups: Speak the active application's text with a specific voice; useful for multilingual setups where you want to have text spoken in one of several languages on demand. For instance, you could have one global keyboard shortcut for speaking text in English, and another one for Spanish. Speak specified text with one or more voices, selectable by name(s) or language(s); useful for interactive experimentation with multiple voices, such as to contrast regional accents. For details, see the repo. Here's the direct download link to the most rece
  4. Below is a fairly robust AppleScript that uses tel:// to prepare a call and then presses the Call button using GUI scripting (Alfred needs to be authorized once via System Preferences > Security & Privacy > Accessibility). It's trivial to adapt it to using facetime:// or facetime-audio:// instead. In my case I've assigned it to an /usr/bin/osascript Run Script action attached to a Contact Action trigger named 'Instantly call with iPhone' in a custom workflow, and I've associated that contact action with the Phone field in Alfred Preferences > Features > Contacts > Cust
  5. - It stopped working with the very same contacts that it used to work with? If they're different ones, there may be a problem with their formatting: try retyping the number from scratch in the contact-card field. - On your iPhone, is Settings > FaceTime > iPhone Cellular Calls still turned on? Can you still *accept* calls on your Mac?
  6. By "modal" query type I mean one created by connecting a hotkey directly to a script filter, or by calling an external trigger directly connected to a script filter. (Alfred then show's that script filter's icon (in place of Alfred's) and directs all input to that script filter - no keyword is being shown.) As an aside: is there an established/better name for this? - Currently, the typed-query history (pressing up-arrow or, if turned on, having the last query automatically redisplayed) doesn't work in such modal queries at all. - Similarly, query strings entered in a modal query do not
  7. Great tip. Note that the // part is optional, tel:{query} will do. On a related note, facetime:{query} (audio+video) and facetime-audio:{query} (audio only) work as well. A caveat, though it may unique to my setup: among my contacts I found phone numbers with no-break spaces (Unicode 0xa0; UTF-8: 0xc2 0xa0) instead of regular spaces - these won't work.
  8. As of v2.4 (279) If a workflow name contains words in parentheses/curly braces/square brackets, searching for the word immediately following the opening parenthesis/curly brace/square bracket doesn't work in Preferences (Workflows tab). Example: Say you have a workflow with the following name: Ask Different (StackExchange site) Searching for any of these words in isolation in Preferences works, EXCEPT for "StackExchange", seemingly because it immediately follows the "(" - the same applies to "{" and "[" - possibly to others. Perhaps this is related to use of regular expressions
  9. @chadv: Thanks for investigating and letting me know. Shame indeed, especially given that it hasn't been fixed in OS X 10.10 (the current public beta), which still ships with the same libiconv version (1.11). Curiously, 3- and 6-byte UTF8 emoji sequences as well as those 7-byte sequences that start with an ASCII char. byte (followed by combining characters) do work properly, but the majority of emoji (4-byte sequences) do not. On a side note, Terminal.app, while *rendering* emoji as expected, doesn't handle them properly in terms of cursor placement, printing the next character, and ba
  10. @Andrew's normalise utility works great, but I've since found that there is an alternative using the standard utility iconv with the (somewhat obscurely named) UTF8-MAC encoding scheme: Note: The following examples use bash. iconv expects its input via a filename or stdin. Applied to the example above: # Converts NFD form of 'й' to NFC form iconv -f UTF8-MAC <<<'й' Some background: The following examples use input string 'ü' in NFC form, $'\xc3\xbc' - i.e., bytes 0xC3 0xBC, which is the UTF8 encoding of Unicode codepoint 0xFC in NFD form, $'u\xcc\x88' - i.e
  11. @Andrew: Just an FYI (given that your `normalise` CLI solved the problem): using `iconv -t ASCII/TRANSLIT` to replace accented characters with their base form, as described in the stackoverflow.com answer you linked to, does NOT work properly on OS X as of 10.9.2. For instance echo 'aüé' | iconv -f UTF8 -t ASCII//TRANSLIT yields 'a"u'e' rather than 'aue'.
  12. > That's what computers work with Not consistently: OS X has reported base-10 numbers with respect to drive capacity (in line with manufacturers' specs.) since Snow Leopard (10.6). Confusion exists, but it can be avoided by using distinct unit names for the base-10 and base-2 definitions: GB (gigabyte)= base 10 = 10 ^ 9 GiB (gibibyte [sic]) = base 2 = 2 ^ 30 (analogous distinction for KB/KiB, ...) This distinction was adopted by the IEC (International Electrotechnical Commission) and "the IEC Standard had been adopted by the IEEE, EU, and NIST." Source: https://en.wikipedia.
  13. Thanks, Vero - works great. +1 on Carlos' suggestion re 'uid' as an element, too. Carlos, I'm afraid I don't understand the Quick Look suggestion. Do you mean having Alfred show the value of 'arg' in the result list if there's no 'title' or 'subtitle' element? What other workflow tasks do you mean?
×
×
  • Create New...