Jump to content

Devlan

Member
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Devlan

  1. I am just wondering if there is a way for alfred to highlight text that was just pasted via alfred. For context I've created a workflow for cycling through different capitalization modes. I only want to remember one hotkey for this, so the script will change the text to lower -> sentence -> title -> upper depending on the current state. My idea was that you could just repeat the same command 1-4 times to get to the desired state. It is working, but right now I have to re-highlight the selection each time. The only idea I have right now which might work is to send a repeated shift + left arrow key equal to the number of characters in the original text. Is there a better way than this? Thanks!
  2. As soon as I submitted this, I had a realization. I could just copy the code within the Script Filter object used in this workflow, then create a basic script object and use that. That way I can use the JSON output as I want.
  3. I understand that a Script Filter will output data in a JSON format so that Alfred can use that info to display. I'm wondering if there is a way to get that JSON info and use it as an input for another step. My use case is this. I already have the GCal workflow downloaded [https://github.com/deanishe/alfred-gcal]. This works well, but I have a slightly different use case that this doesn't cover. Specifically, I want to get a plain text list of free time based on my google calendar that I can paste somewhere like gmail. GCal workflow already has good support for selecting the calendars you care about, and getting a list of events for a given day. However, it just displays them in Alfred via a Script Filter. I am hoping to be able to call gcal as an external trigger, then get the output in some format I can consume within my own workflow. Is there an easy way to do this with Alfred?
×
×
  • Create New...