Jump to content

jarrah

Member
  • Posts

    6
  • Joined

  • Last visited

jarrah's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. I've been looking into how Alfred can open custom Web Searches in a specific browser and found a useful post that said to use the Workflow template "Open custom URL in specified browser", and this works great. However, how do I do the same for the script in this post? The "open" command is tied to the script because of the variables, so not sure how I can pass that to another object that says open Chrome for example. Thanks.
  2. Thanks Vitor! I lost track of this thread so apologies for the late response, and thanks for the improved descrip code!
  3. Thanks for pointing me in the right direction Andrew. After a bit of Google'ing I found the following solution works for me: #!/bin/bash alfin="{query}" idnum=`echo $alfin | awk '{print $1}'` descrip=$(echo $alfin | cut -d " " -f2-) open "https://domain.com/subscription/sub?s&what=data&id=$idnum&note=$descrip"
  4. Sounds great, thank you Andrew and Vitor! PowerPack is now purchased and I'm very appreciative and looking forward to your help. This should save me around 10 clicks and 3 lots of extra text entry so can't wait!
  5. Hello, I'm on the verge of purchasing the PowerPack because I'm hoping the following is possible, and if it is possible I'll buy it, but I just need help implementing it please. I would like to feed the following query into Alfred to launch a URL to a website: "subscribe 123456789 Reminder phrase with multiple spaces" The first two will always be in the same format, with subscribe being the keyword and the number being the reference. The text after the number will vary and will have multiple spaces, but needs to be treated as the second query that can be any size (though not more than 255 chars). Keyword - "subscribe" Query1 - "<an ID with no spaces>" Query2 - "A text phrase with multiple spaces" The URL that needs to be generated looks like this: https://domain.com/subscription/sub?s&what=data&id={query1}&note={query2} e.g. https://domain.com/subscription/sub?s&what=data&id=123456789&note=Reminder%20phrase%20with%20multiple%20spaces I'm no good at scripting so I'm hoping someone wouldn't mind helping out with this if possible please? Thanks!
×
×
  • Create New...