Jump to content

Bhishan

Member
  • Content count

    30
  • Joined

  • Last visited

About Bhishan

  • Rank
    Member

Recent Profile Visitors

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

  1. I liked the workflow, but, sadly it did not work in my machine. Info: Macos 10.13.4 (mac os high sierra) date: May 21, 2018 Usage: selected some text, go to alfred and type editwith Then type Notes.app Then nothing happens, it DOES NOT open notes.app with the selected text. similarly, it does not work with any app. Has anybody used this workflow on High Sierra ?
  2. I have created top 20 most anticipated Hollywood movies of 2018. Scroll down to see the movies other than first 9 movies. We can see how many days until the movies. Also, we can click the SHIFT button to see the QuickView of Wikipedia. The workflow is shared on github. We can add and edit the workflow easily. Enjoy the movies and enjoy the workflow!
  3. Is it possible to write an Alfred workflow to turn off wifi after the certain time?
  4. @vitor Solved today, idk what was the problem, but the good news is it works fine now in any text fields.
  5. There is an excellent tutorial about Alfred Script Filter creation explained in this link. Its so easy to create args in that workflow, but how can we use the arguments passed into the script filter in other actions in the same workflow? In the shared workflow, how can we use the variable "Alfred" ? The workflow is shared in github.
  6. The top parts, works but it gives me two outputs of the same thing. Example: 1. text selected: This is practice 2. select the text with mouse 3.hit the keyboard combination, it gives: `This is practice``This is practice` 4. it should give: `This is practice`
  7. Thanks, it works now. I was using var_show previously, forgot to remove var_.
  8. The last bash script in the workflow has following code: query=$1 if [ $query = "hide" ]; then defaults write com.apple.Dock autohide -bool TRUE; killall Dock fi if [ $query = "show" ]; then defaults write com.apple.Dock autohide -bool FALSE; killall Dock fi Can we refactor this code so that it would look nicer, and still works on Alfred? My attempt was this, but it did not work: [[ "${1}" == 'var_show' ]] && defaults write com.apple.Dock autohide -bool FALSE; killall Dock [[ "${1}" == 'var_hide' ]] && defaults write com.apple.Dock autohide -bool TRUE; killall Dock
  9. Is there a simple way of replacing the text in any text editor like this: original text: print('hello') markdown code formatted replace text: `print('hello')` keyboard shortcut: ctrl-opt-c My attempted workflow is shared on github.
  10. @vitor Thanks a lot. It works now. But, can we change the bash script like this: # Wanted version [[ "${1}" == 'var_show' ]] && defaults write com.apple.Dock autohide -bool FALSE; killall Dock [[ "${1}" == 'var_hide' ]] && defaults write com.apple.Dock autohide -bool TRUE; killall Dock # Ugly but working version: query=$1 if [ $query = "hide" ]; then defaults write com.apple.Dock autohide -bool TRUE; killall Dock fi if [ $query = "show" ]; then defaults write com.apple.Dock autohide -bool FALSE; killall Dock fi
  11. @vitor I deleted the redundant python script, but this still does not work. The List Filter is giving problem, If I delete LIST FILTER the script works, but I want to keep it. Is there any way I keep the list filter and when we click on "Hide" on list filter, it will hide the dock ? The updated link is shared here.
  12. I was trying to run dock repositioning commands in Alfred using List filter. The link is given in github. I was can see the list names, but when I click them none of them works. How can we fix them ? Help will be truly appreciated.
  13. I have created an Alfred workflow to show the number of days until some events. We can add any number of events to our taste and also define some other commands such that if we click "FIFA" in this workflow it will show the 2018 Russia Worldcup Schedule. We can find the workflow in my github Days Until Events . Usage: Double-click the downloaded file and click on [x] to see the description how to use this. # Usage: Click on FIFA button to see the worldcup schedule (The time is EST USA). Note: you can download the schedule of your time-zone and use that image. Screenshot:
  14. Bhishan

    Regex - Run and save regular expressions!

    How to use this workflow ? In Alfred 3, I tried "regex tr/that/this" It gives error: Could not open your RegexSequences.pl file.
×