Jump to content

Mr Pennyworth

Member
  • Content Count

    121
  • Joined

  • Last visited

  • Days Won

    5

Mr Pennyworth last won the day on December 14 2020

Mr Pennyworth had the most liked content!

4 Followers

About Mr Pennyworth

  • Rank
    Member

Profile Information

  • Location
    Gotham

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Quite likely not possible with just Alfred. If you don't mind using https://karabiner-elements.pqrs.org/ which is free and open source, it is easy. Note: for this to work, you'll have to set Alfred Preferences > Appearance > Options > Focusing to "Compatibility Mode" Just add the following rule to ~/.config/karabiner/karabiner.json: { "description": "Tab as down arrow in Alfred", "manipulators": [ { "conditions": [ { "bundle_identifiers": [ "^com.runningwithcrayons.Alfred" ], "type": "fron
  2. I love this discussion minus the part where @Chris Messina felt unwelcome. From my limited interactions with @deanishe and @vitor I feel damn confident that no one on this thread means to attack / argue in bad faith with anyone. MacOS settings: I don't agree with the thesis that Apple's "Default Web Browser" setting is misleading or incomplete. "Web" implies http(s), no? I don't see any ambiguity there. Apple is saying "choose an app to open http(s) urls". It is just that for all other URL schemes, Apple hasn't provided a UI. But whatever UI is present, it is precise, and comp
  3. @Shakti Here's the download link: https://github.com/ibnuh/alfred-character-counter-workflow/releases/download/1.0/Character.Word.Counter.alfredworkflow Here's the link to the page, in which the downloads are listed: https://github.com/ibnuh/alfred-character-counter-workflow/releases
  4. @Espresso Edit: Here's your workflow modified to do exactly what you were aiming for: https://drive.google.com/file/d/1eX_pa_E3thrMvdKVKzYDpjrKyOT2oLyS/view?usp=sharing I haven't edited the python script at all, just re-arranged and edited some stuff in the workflow editor. Now it looks like this: For a crude explanation of how it works, refer below: Before edit: The following workflow does precisely what you've described: https://github.com/mr-pennyworth/alfred-gif I know you want to write your own, so, you can take a loo
  5. Hmm... Not sure whether it is possible... I for sure can't think of a way I'm not sure whether this could be somehow used: https://karabiner-elements.pqrs.org/ but give it a look? Till then, I guess you're stuck with pressing enter to paste
  6. Agreed. You can always create your own keybindings though. Check this link for an example and explanation: Just create a workflow with the following:
  7. The following work too: control-n (for down) control-p (for up)
  8. Whoops! My bad Meant Alfred's debugger. This is great!! The browser tab for authentication opens. There are no "command not found" errors in the debugger anymore. If you do the exact same thing as in the video, but with the actual secret and ID. I want to say "it'll work!". However, you've repeatedly told us that it didn't Sadly, I've got nothing further to help but to say, "try one last time exactly like in video, but with the id and the secret"
  9. Same thing for me! Here's a last-ditch effort: I loved how you shared that video! It was very helpful Based on the back-and-forth so far, I feel like we'd be able to spot what's going wrong if you could share an entire video of the download-edit-save-run process with console open. To make sure that you're not sharing the client secret in the video, in the "edit" phase, just add 'xxxxxxxxxxxxx' to the relevant lines in the rb file instead of actual secret. (by the way, I should clarify that it is perfectly fine to share the app id and client secret f
  10. Can you confirm that this is the first line of google-drive.rb file? #!/usr/bin/ruby
  11. As @deanishe has pointed out, This isn't how it should be done. Try the following: Download the workflow (the .alfredworkflow file): https://github.com/azai91/alfred-drive-workflow/releases/download/v2.1/Google-Drive.alfredworkflow Double click on the downloaded file to open it with alfred Right click on the workflow inside Alfred, and select "Open in Finder" In the finder window that's opened in (3), edit the google-drive.rb file with your own credentials. Save the file Run the workflow
  12. https://www.alfredapp.com/help/workflows/inputs/script-filter/json/ Search for "Rerunning script filters automatically" on that page
  13. That can easily be determined. Free versions have a limit of 100 searches per month or so. (for all of the services listed there) Q: Do you want "search as you type"? A: If yes, free version won't be enough because because each query in alfred could result in tens of queries to the service. Q: Do you see yourself using this workflow more than thrice a day on average? A: If yes, free version won't be enough because you'll run out of your quota way before the month ends.
  14. @allenrowand try this: import decimal import sys query = float("{query}") output = str(round(decimal.Decimal((query*.029)+.3),2)) sys.stdout.write(output) sys.stdout.flush() The newline is coming from the `print` function
  15. 1) Copy image file in finder -> paste in firefox (Hangouts) works! 2) Copy something else -> Use Alfred's clipboard history to paste the same file from (1) -> doesn't work! It always works in chrome though. So looks like something wonky with firefox!
×
×
  • Create New...