Jump to content

selfmade69

Member
  • Posts

    28
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    selfmade69 reacted to vitor in How can I execute an external workflow with a passed argument without Alfred displaying the search window?   
    You don’t have to do that.
     
     
    The Script Filter isn’t running code to change the Night Shift value, it’s only there to present an interface for you to insert a value. That value is then passed to the Run Script, which is making the change.
  2. Like
    selfmade69 reacted to giovanni in introducing yaanki – yet another anki alfred (workflow) 📇   
    is Anki open? Unfortunately the workflow only works with Anki closed. 
  3. Like
    selfmade69 reacted to giovanni in introducing yaanki – yet another anki alfred (workflow) 📇   
    yaanki – yet another anki alfred (workflow) is a workflow to quickly review or add new cards to your anki decks. Anki is a complex software and I have not tested all possible use cases. Also, the scheduling algorithm is simplified (more details in the readme file). Please remember to backup your decks and let me know if you see bugs or have other suggestions. 
     
    https://github.com/giovannicoppola/alfred-yaanki
     
    usage 📖
    creating new cards 📝
    - you can create a new card by entering the corresponding keyword (default: !a) or hotkey, then entering (or pasting into Alfred) the text of front and back separated by //. --b will invert front and back. New cards will be added to the deck listed in the DEFAULT_DECK_NEW Alfred environment variable, or – if that is not set – the `Default` deck. 
    - Universal Action: new cards can also be created by selecting text in any app, then launching Universal Actions and selecting 'Create New Anki Card with yaanki`. 
     
    looking up a card 📇
    - launch yaanki by entering the corresponding keyword (default: !s) or hotkey and search for a card by typing in Alfred. yaanki will show the front of the card, and the deck it is from. The Anki star color will indicate the due status. Hitting Enter will show the back of the card and the times (or days) it will be due based on the outcome you will indicate. 
    - ctrl-Enter will show card details (date creation, number of reviews, due date etc)
    - option-Enter  will show the card front in large type
    - 🖼️ denotes an image present in the card front or back. Hit `Shift` to show it in preview 
     
    studying with yaanki 🗂️ 
    - you can set the decks from which cards are presented by entering yaanki:decks in Alfred, or setting a hotkey. shift-Enter will add or remove a deck from the list. The deck list can also be edited in Alfred's workflow variables. 
    - launch yaanki with keyword or hotkey. if no search text is entered, cards are presented ordered by due date (new cards first), so review all the ones that are overdue
  4. Like
    selfmade69 reacted to vitor in Making Python 2 Workflows work on macOS Monterey 12.3 and above   
    With macOS Monterey 12.3, Apple removed the bundled Python 2 interpreter. That means older Workflows dependent on Python 2 will no longer work without modification.

    You can reinstall Python 2, but some Workflows will still require a tweak to work. It’s simple enough to do if you know what to look for, but not everyone does. The Updated Third-Party Python 2 Workflows repository on GitHub is meant to close that gap.

    Check the list of available Workflows. If the one you need isn’t present, ask for it there or as a reply on this thread. Be sure to include a link to the original.
     
    Note this is only for Python 2 Workflows which break on Monterey 12.3 and above due to the Python 2 removal. If a Workflow stops working for any other reason, contact the author as usual.
  5. Like
    selfmade69 reacted to MrAu in Toggle grayscale/greyscale   
    Hi,
    This workflow lets you quickly toggle macOS Accessibility grayscale setting:
     
    I complied the code from this stack exchange discussion https://apple.stackexchange.com/a/342551 so I could quickly execute it in Alfred.  
     
    Download it here https://github.com/fxjkhr/alfred-workflows/tree/master/Toggle-Grayscale
     
  6. Like
    selfmade69 got a reaction from nicooprat in OCR: extract text from snapshot   
    This is some insanely productive and underrated plugin. It made my note taking life 10x easier
  7. Like
    selfmade69 got a reaction from JJJJ in OCR: extract text from snapshot   
    This is some insanely productive and underrated plugin. It made my note taking life 10x easier
  8. Like
    selfmade69 reacted to nicooprat in OCR: extract text from snapshot   
    Hi there,
     
    Just sharing my first workflow. Some OCR workflow already exist but are relying on some obscur chinese API with exposed personal credentials... This one use your system own installation of `tesseract`. Just take a snapshot and paste the text. The script usually takes no more than a few seconds.
     
    https://github.com/nicooprat/alfred-ocr
     

     
    PR welcome.
    Hope it helps!
  9. Thanks
    selfmade69 reacted to deanishe in [SOLVED] Using find and replace on clipboard and pass it to terminal   
    You don't need double filters: you can use regular expression groups. You want something like Replace .+wvideo=([^"]+)" with http://fast.wistia.net/embed/iframe/$1
  10. Thanks
    selfmade69 reacted to deanishe in Open search query with specific Chrome Profile   
    Why isn't this workflow suitable?
     
     
    You don't pass a query to Chrome, you pass a URL. And you pass the profile directory at the same time as the URL. The command is:

    open -a "Google Chrome" --args "https://example.com?query=blah" --profile-directory="Profile 1"
    Obviously, you need to change the URL and the name of the profile directory to match your requirements.
  11. Confused
  12. Thanks
    selfmade69 reacted to deanishe in Unable to get clipboard history   
    Alfred's ".alfdb" files are just SQLite3 databases with a different file extension, so you fix them the same way. Unfortunately, it's likely irreversibly mangled. You might have more luck digging an old version (from when clipboard history was still working) out of your Time Machine backup.
  13. Thanks
    selfmade69 reacted to Vero in Unable to get clipboard history   
    @selfmade69 When you say "The clipboard is still not working", what does and doesn't get copied? For Clipboard Merge to work, there already has to be content in your clipboard. At what point did the issue arise?
     
    If the above don't give you any hints as to what could be happening on your Mac, you can quit Alfred, navigate to your user directory under ~/Library/Application Support/Alfred 3/Databases/ and delete the clipboard.alfdb file. This will delete the clipboard database, and remove any potential corruption.
     
    Let me know how you get on!
     
    Cheers,
    Vero
  14. Thanks
    selfmade69 reacted to Vero in Unable to get clipboard history   
    @selfmade69 Are you using more than one clipboard manager, or another tool that could interfere with the normal operation of the clipboard? We have a few Macs on 10.12, and haven't seen any behaviour like this over the years.
     
    I'd recommend creating a new user profile on your Mac temporarily, to see whether you see normal behaviour on the new account. Let me know how you get on!
     
    Cheers,
    Vero
  15. Like
    selfmade69 reacted to jdfwarrior in Google Calculator Percentage xxx% of xxx   
    The Google Suggest workflow will do this as well.
  16. Like
    selfmade69 reacted to ShogunPanda in alfred-chrome - Open URL in Google Chrome (also with specific profile)   
    Also available here: http://www.packal.org/workflow/alfred-chrome
     
    Introduction
     
    This workflow allows you to open a URL in Google Chrome.
     
    To trigger the workflow, type chrome or cr. Optionally you can add a URL.
    Between the results you will a list of profiles to use to open the URL (or simply to open a new window).
    If you hold the `Alt` key while selecting the result item, the window will be open using incognito mode.
     
    Installation
     
    Double click (or open in Alfred settings) the Alfred Chrome.alfredworkflow file.
    This workflow is for Alfred 3 only therefore it works on macOS 10.9+ (Mavericks and following).
     
    Uninstallation
     
    Remove the workflow via Alfred settings.
     
    Specifying a different flavor of Chrome
     
    If you use Canary version of Chrome or similar applications, like Chromium, you can instruct the workflow to use it.
    To do it:
     
    In the Workflows settings, select Alfred Chrome workflow. Open the Configure workflow and variables by clicking on the second icon on right section of the workflow header. Under the Workflow Environment Variables section, create a variable called ALFRED_CHROME_NAME and enter the same name you see in your Applications folder. Click on Save and you're good to go!
  17. Thanks
    selfmade69 reacted to vitor in Pass search query through Python script   
    Get rid of the print(r.cookies) line. Then connect an Open URL Action to the end of your Run Script and you’re done.
     
    Keep in mind that if you want to package the Workflow for redistribution, you’ll have to bundle requests with it.
  18. Like
    selfmade69 reacted to vitor in Create a custom http search query with Alfred app   
    Replied in your other post.
×
×
  • Create New...