Jump to content

JolinM

Member
  • Content Count

    49
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Thanks
    JolinM got a reaction from deanishe in Workflows that access internet always blocked by Little Snitch   
    So basically, you just need to uncheck the Check process identity box in Little Snitch for Alfred 4.

  2. Thanks
    JolinM reacted to Nikersify in Polyglot - yet another Google Translate workflow   
    Hey,
     
    I've made my own translation workflow, as the existing ones which I could find didn't quite suit my needs or lacked in some aspects.
     
    Features:
    "Natural language" input Text auto correction, language auto correction Easy setup Configurable 100% free  
    Preview:

     

     

     

     

     
    Dependencies:
    node.js >=7.6
     
    Installation:
    Just run the following command in your terminal:
    $ npm i -g alfred-polyglot ...or (not recommended) you can download it directly from the GitHub releases page if you don't want to use npm. Note that if you would like to use the npm way in the future you will have to uninstall the workflow completely first.
     
    You can also go through the easy, but optional setup.
     
    Have fun!
     
    GitHub
     
  3. Like
    JolinM reacted to vitor in create new folder   
    @JolinM You’re writing a shell script, so get used to quoting variables to not fall into these issues:
     

    myPath="$(…)" cd "$myPath"
  4. Like
    JolinM reacted to Jasondm007 in create new folder   
    @Carlos-Sz Is there any way you could post your workflow again (re: file action to move files to a new folder)? The previous link no longer works. Thanks for your help!
     
    Or, of others have an updated version, that'd be great, too. Thanks!
  5. Like
    JolinM reacted to deanishe in Pasting {query} losses diacritic   
    Chain what? I'm not sure what the workflow is supposed to do.
     
     
    If you're getting the input via Alfred, there is no formatting: Alfred only supports plaintext. If you want to preserve formatting, you should initiate copy and paste yourself.
     
    Your menu-click function is probably overkill: for copy and paste, you can just simulate ⌘C and ⌘V keypresses.
  6. Like
    JolinM reacted to deanishe in How do I filter based on the presence of a {query}?   
    If you mean in regular expressions, yes it is. But if you're trying to match a regular expression, you need to set it to "matches regex", not "is less than".
     
     
    Then use "is equal to" or "is not equal to" and leave the box empty.
     
    FWIW, the correct regular expression for this case would be .+ (i.e. one or more characters). If you just use . that means “one, and only one, character”
     
  7. Like
    JolinM reacted to Vero in How do I filter based on the presence of a {query}?   
    @JolinM You could just do "If query is equal to [blank], take the first path, else (when there is a query) do the "else" action". Sounds like it should do what you want?
     
    Or I may have misunderstood your question, in which case, please provide more details  
     
    Cheers,
    Vero
  8. Like
    JolinM reacted to deanishe in How to write {query} in Applescript   
    Alfred doesn't do French, so have you tried the command in English?
  9. Like
    JolinM reacted to AntidoteConnect in Antidote 10   
    Hello!
     
    What's also new in 4.2 is the ability to use Apple Script in English. Your script would look like : 
     
    tell application "AgentAntidoteConnect"
    launch module dictionaries resource definitions word q
    end tell
     
    You'd then be able to plug that back in Alfred.
  10. Thanks
    JolinM reacted to deanishe in Safari Assistant   
    ? Much better. But one more thing: if you modify a workflow, change its bundle ID, especially if you send it back to the author. I don't want to overwrite my working, canonical version of the workflow with your broken one, so I had to unpack it, edit info.plist, and then repack it to install.
     
    As for the problem, somehow you'd managed to add the UTF-16 BOM (0xFEFF) in front of the ./alsf command, which is why the command couldn't be found.
     
    Delete the contents of the Script box and then type the command into it (i.e. don't copy-and-paste it).
  11. Like
    JolinM reacted to samvlu in Find Folder — Search by Folder Name Workflow   
    Find Folder
    Download here:
    http://samvlu.com/download/Find_Folder.alfredworkflow.zip
     
    Search by folder name.
    Enjoy!!
  12. Like
    JolinM got a reaction from paulw in Instapaper Text bookmarklet   
    I managed to do it with the javascript code from http://www.instapaper.com/save
     
    Here is the code I got:
    tell application "Safari" to do JavaScript "javascript:function iprl5(){var d=document,z=d.createElement('scr'+'ipt'),b=d.body,l=d.location;try{if(!b)throw(0);d.title='(Saving...) '+d.title;z.setAttribute('src',l.protocol+'//www.instapaper.com/j/4Vifm0CMV6m8?a=read-later&u='+encodeURIComponent(l.href)+'&t='+(new Date().getTime()));b.appendChild(z);}catch(e){alert('Please wait until the page has loaded.');}}iprl5();void(0)" in the current tab of the front window And here is the updated workflow.
  13. Like
    JolinM got a reaction from paulw in Instapaper Text bookmarklet   
    Here is a workflow I use to instantly view any compatible web page in Instapaper's Text view, without adding it to your Instapaper account.
    In the workflow, there is two scripts. The upper one (currently connected) is for Chrome. The one on the bottom is for Safari.
     

     
    http://d.pr/f/cp39
  14. Like
    JolinM got a reaction from Sridhar Katakam in Instapaper Text bookmarklet   
    Here is a workflow I use to instantly view any compatible web page in Instapaper's Text view, without adding it to your Instapaper account.
    In the workflow, there is two scripts. The upper one (currently connected) is for Chrome. The one on the bottom is for Safari.
     

     
    http://d.pr/f/cp39
×
×
  • Create New...