Jump to content

2Pants

Member
  • Posts

    12
  • Joined

  • Last visited

Posts posted by 2Pants

  1. 4 hours ago, vitor said:

    Getting a local dictionary to work is easy. The hard part is making it a good experience where the user doesn’t have to do any external setup.


    What do you mean?  Say if I use a python script for example.  The user would have to have that version of python installed and those python packages installed.  Is that what you're referring to?  

    Yeah that's where the API has an advantage.  

  2. On 6/29/2020 at 5:46 PM, deanishe said:

     

    No. Like Vero said, you'll be asked to grant Automation permission as needed. There's no mechanism to authorise it in advance.

     

    Judging by your description of your problem in the other thread, you've configured a Hotkey in the workflow that's already assigned in the application's Edit menu, so you're actually calling some application action, not the workflow.

     

    Check the Edit menu to see if it contains a shortcut the same as the Hotkey you've assigned in Alfred. If there's nothing obvious in there, you can also use Shortcut Detective to see which application actually receives a keyboard shortcut/hotkey.


    Tried it.  Turns out that's not the case.  The edit menu doesn't have anything for that shortcut.  I created another shortcut with a 3 button combo that's very unique and it has the same behavior. 

  3. 50 minutes ago, Vero said:

    @2Pants Alfred will request Automation permissions when he needs it. What isn't working as expected?

     

    Could you also let us know which version of Alfred and macOS you're using? 

     

    Cheers,
    Vero

    The automation doesn't work.  See my other post linked below.  

    4.0.9 [1144]

     

     

  4. I recnetly updated from Alfred 3 to Alfred 4, and one of my automations isn't working.  I'm thinking there may be a problem with my permissions but I'm not sure what to do.

    I see Alfred 4 has permissions everywhere except automations.  But for some reason Alfred 4 isn't available to check in automations.  But Alfred 3 is.... What do I need to do to fix this?

    See screenshots below.  

    https://imgur.com/a/lwOmkbU

     

    Thanks

  5. Hello @vitor  Am I doing something wrong using your tool?  I'm trying the english shortcut where it should replace the misspelled word with the highest suggested correct word. It doesn't seem to replace it.  I can tell something is happening becuase I see the edit menu flash on my mac.  But it doesn't replace the selected word.  I've tried this in Notes and TextEdit on my Mac. 

    The "Show with alfred's spell keyword" pops up the menu just fine.  But when I select something, it doesn't overwrite the highlighted text either.  

    Any suggestions?

    https://imgur.com/ILmlrl1

    https://imgur.com/WvEyasP

    I think this might be a permissions issue, I posted a question here:  

     

  6. 7 hours ago, deanishe said:

    There aren't any. Alfred allows you to write workflows in basically any programming language. Pick one with a good HTTP library.

     

    Great idea!  I prefer python.  

     

     

    Quote

    Personally, I'd use a locally-installed spellchecker, not an API. Either something like hunspell (which you can install via Homebrew) or Apple's own spellcheck API. There's no point uploading stuff to the cloud when it isn't necessary, and local is almost always faster. And free.

     

    Great idea!  Didn't think of that one.  That would save a lot of delays.  

  7. I'd like to make a spell check helper.  Basically a keyboard shortcut driven auto-correct spell checker.  

     

    1.) User selects text

    2.) Issue a keyboard shortcut or some simple trigger

    3.) Take the highlighted text and make an API call to some service (maybe this or something similar) and get the suggested correct spelling

    4.) Parse the response of the API call 

    5.) Paste that new text overtop of the selected text

    It's like a spell check that will work anywhere on the computer.  Has anyone done anything like this?  It seems like it could be possible.  The trick part I think would be making the API call and parsing the response.  I've built many work flows in Alfred before, but I haven't tried this one yet. 

    What's the best way to do this?  I'm thinking to either trigger a script, apple script, or just a terminal command.  I didn't see any built in API related features in Alfred.  


    This makes me wonder.  Is there a timeout for an action?  I haven't ever used Alfred to trigger a script.  What happens if the API call takes 30 seconds.  I could assume it failed and change screens only to have the text paste somewhere else undesirable.  

  8. I've been using alfred for a while but to a very limited extent.  I want to get better and use more features.  Here's something I want to do, is this possible?

     

    Now: 

    Step 1.) Copy and paste a long string of text

    Step 2.) Switch to Chrome

    Step 3.) Open a new tab

    Step 4.) type in URL/place

    Step 5.) paste my clipboard, so it ends up as URL/place/clipboardContents

     

    Is there a way I can automate this?  I do this probably 10-20x per day... and I'd love to get that 5 step process down to 1 or 2 steps.  I feel like Alfred can do this, but i'm not sure where to start. 

×
×
  • Create New...