Jump to content

bhanquier

Member
  • Content Count

    17
  • Joined

  • Last visited

  • Days Won

    1

bhanquier last won the day on February 9

bhanquier had the most liked content!

About bhanquier

  • Rank
    Newbie

Recent Profile Visitors

296 profile views
  1. Gained a perfectly working workflow in Office, and I finally understand what "Escaping" means in this case. Thanks a bunch!
  2. Hi, First thanks for the great workflow. I've noticed an anomaly in its behavior with Microsoft Office apps (in Excel in particular is a bummer as that's where it's most useful). It's adding a backlash before any parenthesis (at least that's the only one I've identified, it doesn't touch { nor [ ). I'm adding a screenshot of the text in Excel (blue background, ordinary spaces, no line returns), and of the resulting text in Case Converter. Any idea? Thanks a lot!
  3. Awesome! I adopted Vitor's solution, with deanishe's approval. Thanks so much to both of you!
  4. Hi, I'm looking for a way to surround selected text with the usual (I think html?) codes for bold, italic and strike ( [b][/b] ) with a keyboard shortcut. Nothing fancy nor extensive. I understand one can do this with the Transform function in Alfred. Problem is, as far as I understand it would have to be done using a regex? I would add my voice to the usual "just learn it", but the maybe twice I've approached regex in my entire life (and I'm no spring chicken) I've felt as if I was trying to climb a mountain to get to a pebble, maybe usual, but not a diamond. So, I humbly ask: would anyone with knowledge of the Dark Arts be kind enough to help me? One example of the structure would be great, I think I'm not that dumb that I couldn't adapt to the others. Thanks for the generous one(s).
  5. I support the request. When updating stuff for instance, it would be awesome to have the version number of any app with a few keystrokes.
  6. I back the motion too. It's driving me crazy to tell the truth. And indeed, the "hat" option serves absolutely no purpose at all, so…
  7. Hi, Is it possible to adapt this workflow for Chromium? I see it refers to a open_in_chrome.scpt, but I don't know how or where to get and modify this? Edit: sorry, I hadn't tried to use it and assumed the process would just use some code identification to find Chrome; as it is, the script asks for Chrome's location, i just chose Chromium and it works like a charm. Thanks a lot, very handy.
  8. Thanks to your help I've made it into an OS X service, and now with a keystroke I get things done. Thanks again Vitor!
  9. Got it! There were a couple of lines at the beginning of my config file that are dedicated to setting up xml-rpc connections in order to control aria2 via web browser; I guess they were interfering with any other means of communication. I removed them, and now it's working like a charm!
  10. It's also very nice of you to spend the time to take me by the hand. I've tried a couple of possible configurations. By default aria2 is supposed to look for the config file in $HOME/.aria/aria2.conf (but it doesn't), so there's the original there, and I made symlinks to it in various places to see if that would work, and no dice. Just so you know, my HOME folder is an entire partition, maybe it makes a difference - I'm saying this because I know it's given problems with bitcasa for instance, even though it's an entire different type of software, you never know. So the last code I tried was as such: ./aria2c --conf-path=/Volume/bhanquier/Library/Preferences/aria2.conf -x15 "$(pbpaste)" and I've also tried putting a symlink in the workflow folder, where the aria2c binary is by the way: ./aria2c --conf-path=./aria2.conf -x15 "$(pbpaste)" To get the download in the proper place I had to add an argument in the script, other wise it would download in the workflow folder: ./aria2c --dir=/Volumes/bhanquier/Downloads -x15 "$(pbpaste)" One fortunate unexpected thing is, I get a notification when the download is finished, and I didn't do a thing about it expect link a notification sheet!
  11. It actually works, I'm thrilled! Still a little of tinkering (took me ages to get it to download in the proper folder, for some reason I can't get the config file to be read… could it be a problem with the "--" before the prefix?), but it's already a very good start. Thanks so much Vitor.
  12. Muito obrigado Vitor. Wow… that's certainly not something I could do! What about a script like, copy the link in the clipboard, call an action in Alfred and paste the link to download? I've tried to do that and couldn't get anything working… Like I said I'm really not proficient in command-line and scripts and stuff, even though I try before I call for help.
  13. Hi guys, Well, I already posted something about how to launch aria2 (http://aria2.sourceforge.net) with Alfred. What would be nice, if anybody can do that, would be to highlight or copy a link to the clipboard, from any place (Safari or otherwise) and have aria2 download it thanks to a hotkey for instance. I've been tinkering a little with workflows, but my knowledge is so limited I'm really stuck with this. So if anyone was kind enough to do it for me, I'd be more than thankful! Cheers to all
  14. Thanks for the information David, it might be of some help for future trials and errors
  15. Why, it seems my "problem" doesn't interest much Anyways, after much tinkering, I've found out a solution: apparently you need to specify the whole path to the command-line tool in question… command-line will elude me for the rest of my life I guess! So in my case (YMMV) it gives: /usr/local/bin/aria2c --enable-rpc --rpc-allow-origin-all \ --conf-path $HOME/.aria/aria2.conf \ --load-cookies $HOME/.aria/cookies.sqlite3 \ --daemon \ or you can bundle the utility in the workflow, in which case it will be: ./aria2c --enable-rpc --rpc-allow-origin-all \ --conf-path $HOME/.aria/aria2.conf \ --load-cookies $HOME/.aria/cookies.sqlite3 \ --daemon \ If it can be of help to someone else…
×
×
  • Create New...