Jump to content

simonk83

Member
  • Posts

    3
  • Joined

  • Last visited

simonk83's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. Right, managed to get something working I basically have: Keyword ---> Open URL (using http://www.google.com/search?q=imdb.com/{query}&btnI=745, which gets the IMDB page of the guy you enter) ---> Run Script The script (applescript) is: delay 3 tell application "Google Chrome" activate set theURL to URL of active tab of first window set the clipboard to "<a href=\"" & theURL & "\">{query}</a>" as string end tell I had to add the delay to give the url time to properly resolve. Probably a terrible way to do it, but it works for now
  2. Hmm, well as far as snippets go, that sounds good but it's probably going to be a pain, as I'll need several steps first to load the url, then another to grab the url, and then as you said I'm stuck with the missing keyword. The workflow sounds better but I'm going to need an example if you don't mind, I'm a novice user it seems and am not great with scripts Thanks!
  3. Hi So I've been trying to work this out for a while, but I think I might have to admit defeat and ask for help Essentially, what I'd like to do is the following: Enter a search term (let's say James Cameron for example) Have Alfred open IMDB in Chrome using the following to get to Cameron's page: http://www.google.com/search?q=imdb.com/{query}&btnI=745 The above I can already do, what I'd then like is: Copy the above url and the initial keyword to the clipboard with the following formatting: <a href="URL">KEYWORD</a> Essentially I do a lot of posting daily in the above format, and am always looking for ways to make my life easier The best I've been able to manage to do is generate the following: <a href="">KEYWORD</a>, so basically everything aside from the url. I can't work out how to pass multiple [query]'s I guess. Any help would be awesome! Thanks
×
×
  • Create New...