Jump to content

Mafraja

Member
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

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

Mafraja's Achievements

Helping Hand

Helping Hand (3/5)

1

Reputation

  1. Thank you @vitor, this worked perfectly! Noted on the need to post the actual workflow, I read the topic you linked and will know better next time.
  2. Hi everyone, I am a brand new Alfred user and I love it! However, it's my first time customising a workflow and tailoring it to my needs, and I'm a little perplexed. Now I found a perfect script for my use (on this forum btw, thank you!) that allows me to put together and then open an URL by defining a set of argument: query="{query}" arg1=$(echo $query | cut -d " " -f 1) arg2=$(echo $query | cut -d " " -f 2) arg3=$(echo $query | cut -d " " -f 3) arg4=$(echo $query | cut -d " " -f 4) url="https://www.domain.com/$arg1/$arg2/$arg3/$arg4/" open "$url" Now in my particular case, I would like that if the value of $arg4 is, for example, "vws", it be automatically replaced with "video-with-sound", and then url would open with that full value. The goal is for me to be able to use shortcuts when the values would be very intricate to type out. Is that something that would be doable? I would greatly appreciate some help and/or guidance. Thank you very much in advance!
×
×
  • Create New...