Jump to content

Tom6

Member
  • Posts

    23
  • Joined

  • Last visited

Posts posted by Tom6

  1. Actually the user is myself 😊
    My list of tasks is long (I query database for tens of rows and feed them to the script filter)
    If i could have the script filter fill the entire screen that would also be good - if possible?
    I'm mainly looking for a solution that will not make it so easy for me to dismiss it 

    i think i found a solution that may be good for me: is there a way to see if "Large Type" is currently top most window?

  2. Hello,

    I'm using the "script filter" component to show tasks
    And I'd like to 'force' the user to select anything from the list - and not allow him to exit without selecting something
    Is it possible?
    If not - any idea along the line of 'forcing' the user to select something?

    Thanks

  3. Hello,

    Is it psosible to change the order of the fields when I'm using Alfred to show a contact?
    I'd like the phone number to be the first field, but I noticed that if the contact has an email then the phone number will be on the second line
    (I'd like to be able to automatically click it, and I set up a custom action to open WhatsApp for that contact)

    Thanks

  4. The reason I'd like to do it is because I want to use an Alfred snippet expansion, which I've set to replace 'LOL' -> 😂 (this is just an example, I have many of those)

    it would have been really nice if I didn't need to switch to english, write the letters, get back to my language to continue typing

    Given what you say I have two options:
    1) make the double-shift just to get that text expansion
    2) create a double for all my snippets so that they will work when I type in another language (and hope that it doesn't coincide with an existing word in that language). This is what I'm doing now, and it works well so far

    Thank you for answering - a 'no' answer is just as important as a 'yes' answer so I can stop looking 🙂

  5. 11 hours ago, deanishe said:

     

    What's that?

     

     

    What do you mean? Are you talking about changing the keyboard layout?

    by multi-lingual I mean that I'm typing with the same keyboard in multiple languages. So sometimes I'm switching between them
    and yes, I am talking about changing the keyboard layout (sorry english isn't my native language 🙃)

     

    basically I want to type in a different language, and when I press shift (or something else) while typing some letter have it written in english - regardless of which language I'm at before I did this. 
    (basically telling the mac - hey, whenever I hold this key, treat every letter I type in english, regardless of what's my current keyboard layout)

     

  6. Hello,

    I have multi-lingual keyboard
    I would like to be able to use a key (let's say SHIFT) so that when it's pressed, it will write the letter in english - regardless if I'm currently typing in a different language
    The reason I'd like to do it is mainly for text expansion, but also because I'm used to this behavior from when I was using Windows OS.

    I looked if it's possible to set it as a keyboard setting in Mac, but unfortunately I don't think so, which leaves me with Alfred.

    Any ideas?

  7. Hello,

    I'm creating an extension using node.js script, while using this library:
    https://github.com/sindresorhus/alfy#caching

    In this library they provide a caching object through which I can store key:value and later retrieve (it is stored in a JSON file)
    I was wondering what would be the best way for me to read this cache? (is my only option to read the file and parse it?)
    Or - alternatively - if there's a better way for me to do it (except returning it to Alfred as script result)

    Thanks

  8. Hi,

    I was wondering if it's possible to run Alfred code from the terminal
    So, for example, if, when I open Alfred and type 'Google Keep' and press 'Enter' it opens google keep.
    I would like to be able to run this "Google Keep" command in Alfred - from my terminal (zsh)

    [I know this specific use case may have other solution(s), but in general I would like to be able to execute Alfred queries from my command line, without having to open Alfred (e.g. for automation)]

    Thanks

  9. 16 hours ago, deanishe said:

    It's not really an inconsistency, it's a fundamental limitation of using Gmail as your email client. It's not possible for Alfred (or any application) to pass a file from your local filesystem to webmail running in your browser

    Makes a lot of sense. I would have preferred it to still open Gmail (because I don't use the default client at all. It could then copy to clipboard for me the path, so I can use it to import it manually).
    But I can see how this would make a better option for most people (would have been great if I were able to choose. I guess my alternative solution is to define my default mail client app with SMTP server for sending only)

    Thanks for your answer!

  10. Hi,
    EmailTo is not behaving as I expected. Am I missing something?

    Use case:
    1) Open Alfred and search for 'find file.pdf'
    2) Click right
    3) Click 'Email to'

    Now I see 2 issues:
    1) I can't find a contact that exists in my Contacts (if I open Alfred and search for a specific contact, it finds it). In fact, I'm not sure where it's getting its contacts from. I would rather have one directory of contacts (e.g. in the Mac's Contacts app)
    2) It then opens the Mac app 'Inbox', instead of gmail which I want (in Alfred settings of contacts I did choose for gmail to handle. so this is an inconsistency)

     

  11. Hi,

    I'm using the script filter component to get results from a custom node.js application
    My code takes ~2 seconds to run, but I can provide 50% of the value in less than 100ms.
    My question is - if it's possible to return 2 times from my app.
    1) 'preliminary results'. after which my code is still running, and then when it's ready:
    2) 'full results' (which will override the results from before. well, actually, the prelimnary results are a subset of the full results

    Is it possible? If not, how would you 'solve' this problem? (waiting 2 seconds every time is too much)

    Thanks

  12. On 2/8/2020 at 1:11 AM, deanishe said:

    Like I said, I can’t really help you without seeing the workflow. Only guess.

     

    As far as I know (and I’ve never written a workflow using Alfy or Node), alfy.output() is only for Script Filters. It outputs JSON, not text, which is why you’re getting \n.

     

    console.log() should write the text correctly to STDOUT.

    console.log() indeed solved my problem. Thanks!

  13. Hello,

    I write my workflow with node.js.
    I return to Alfred a string like this 'first \n second' and I figured it should be printed like this:
    'first
    second'
    but it prints verbatim as 'first \n second'

    I think this issue is related to displaying the value (e.g. when I do console.log in nodejs I do receive it as expected),
    and thus I would expect it to be a feature of Large Type.
    I don't mind doing this conversion in node.js if anyone knows how? (silly, but couldn't find how to do it)

    Thanks

×
×
  • Create New...