Jump to content

giovanni

Member
  • Posts

    520
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by giovanni

  1. Thank you for this great workflow @vitor!! Would you consider adding the battery status, if available? @zeitlings had a script to retrieve it.
  2. @Dorv happy to help. A couple of questions: first, can you confirm that you are using the older ('Legacy') version of Outlook? second: are these real emails or tests? The first seems to be from 'None' to 'None' third: when you use `em`, do you get an error or is a draft created?
  3. remove the second do printerName=$(echo $line | awk '{print $1}') you can also replace the second if with elif, in which case you would need to delete the first fi
  4. here you go @macrospect Currently parsing lpstat -d, but I left the example string in the code in case you want to refine.
  5. it looks like the database was not downloaded. can you try forcing a refresh with todoist::refresh?
  6. @macrospect how does the output of your command (not sure which one, perhaps lpstat -a ?) look like? I can help with parsing it.
  7. If you don't need the file-based tasks which will require more work, this version works for me. I am not too familiar with BibDesk, let me know if there are things I missed...
  8. there are actually a couple of ways to open a minimized app via keyboard. It takes a bit to get used to them though
  9. @Beery are you able to edit the code? The fix in this thread worked for me.
  10. Is Alfred allowed to send notifications? Check in System Settings > Notifications
  11. Inspired by I-sheet-you-not, this Workflow creates new Workflows to access individual Google Sheets with Alfred. ⬇️Download Note: this setup is more complex than the average workflow. I tried to document all the steps, feel free to point to unclear steps or instructions. A screencast of the process is here. 🚀Usage Open a Google Sheet in your browser. Launch alfred-gsheets via keyword (default: gshe) or hotkey alfred-gsheets will check the frontmost page with one of three outcomes: will check the frontmost page with one of three outcomes: The website is not a Google Sheet ▶️ check URL The website is a Google Sheet but you don’t have the right permissions ▶️ review the Setting up section The website is a Google Sheet and you have at least viewing privileges ▶️ go to step 4 alfred-gsheets will list the individual worksheets. Select one to generate a alfred-gsheets Workflow instance to browse that Sheet. Once a new Workflow is created, ↩️ will lead you to its Workflow Configuration, where changes to keyword etc. can be made: Header Row (column headers). Row containing the column headers. Set this to 0 if no header.[/*] columns for Alfred’s Title (required), Subtitle and Arg variables. Alternatively, a custom layout can be set as follows: up to three lines (for Title (required), Subtitle and Arg variables), with layout text in quotes and column numbers in square brackets. For example:[/*] Title: "College 🎓: [1]" Subtitle: "City: [2]" Arg: "URL: [3]" Note: if a custom layout is used, the Title, Subtitle and Arg fields will be ignored. Append column: If you have writing privileges on your Google Sheet (see Setting up), you can indicate a column to which append values via alfred-gsheets using a keyword (default: [main workflow keyword]::append, e.g. uni::append) or hotkey[/*] [/list] 🧮 New workflow: usage entering the main keyword (default: first three letters of the workflow name) will list sheet columns according to the Title, Subtitle, and Arg variables. If the argument is a URL, Enter↩️ will open it in your browser. If not, Enter↩️ will copy it to the clipboard
  12. @luciano @pseudometa I came across this nice tool to convert DOIs and I added it to our workflow. Running it while a DOI URL is selected will now also produce a BibTeX entry.
  13. I added this function to a workflow I made in the past. install the workflow, then: select the text you want to edit open Universal Actions (default hotkey: ^ ⌘ \) find Delete text after last period press ↩️. the text will be replaced with the new text or, if you can't write in the current app, will be in the clipboard
  14. if you are OK with using Python, this will work: import sys s = sys.argv[1] s = s.rsplit('.', 1)[0] + '. ' print (s,end='')
  15. at this point, do you still get the /usr/bin/python: bad interpreter: No such file or directory error? If so, you still have an older version somewhere. If not, can you post the error?
  16. @kaidelm @benlim it seems to work fine for me. have you checked the SSL certificate as described in the Troubleshooting section of the documentation?
  17. it is failing to parse your due dates. What timezone are you on? Are you using UTC by any chance?
  18. great workflow! a couple of suggestions: 1) to add the option of showing thousand separators e.g. speed of light: 2) it would be great to accept as input imperial measurements (e.g. 5ft8in to cm), 3) accept ' for ft and '' for inches (e.g. 5'8'')
  19. Hi @PB-Panda welcome to the forum! You are correct, a script filter is not needed, and neither is a JSON output. You just need to print (or sys.stdout.write) your output so that it becomes available to the next item in the workflow. This is a similar workflow to which I have added a space removal universal action using Python, which should be helpful to you as a template. I hope this helps!
  20. great to hear! I deleted Kindle Classic and the workflow seems to work except it won't open dowloaded books in the new kindle app. is that your experience as well?
  21. @luciano it's failing to fetch the book covers. I can add an error handling to skip the covers that fail, but I am curious why it is happening. I tried your cover and I can see it. Can you access this link in your browser? https://ecx.images-amazon.com/images/P/B081SDJHJN.01 is this the amazon link for the book? https://www.amazon.com/Gambell-Lawrence-Island-Studies-Western-ebook/dp/B081SDJHJN what OS are you on? which country/amazon market are you on? your URL root might be different
  22. the debugger ends like that, with a truncated line? I removed it in this version, but it did not cause problems before. What python version are you using?
×
×
  • Create New...