1

I'd like to have Safari automatically open up a webpage when an action is run, but with this action, it appears there is no area where I can enter the particular webpage that I want Safari to display (e.g. macrumors.com, ...).

Thanks in advance.

enter image description here

1

You need something to give the action an input. The Display Webpages action doesn't request for user input by default, since it could use the value of a variable, etc as the URL.

Use an action such as Ask For Text before the Display Webpages action. Note that the Ask For Text action doesn't parse URLs, so you'll need the http://.

11
  • Is it possible to just have it do this automatically with multiple URLs? (E.g. Open 5 URLs in new tabs in one Safari window, one after another) – JFW Jan 13 '14 at 21:38
  • @JFW Yeah, see the other answer. – grg Jan 13 '14 at 21:39
  • Brilliant, just did that. Is it possible to have Automator (it is a long shot) to, after opening all these webpages, save each one as a .webarchive (+S, confirm)? Thanks. – JFW Jan 13 '14 at 21:40
  • Also is it possible to make Safari open a new window before starting this sequence of commands? (I've already found Launch Application --> Safari. Just need to do this.) – JFW Jan 13 '14 at 21:43
  • @JFW There's no built-in action to download URLs as webarchive, but you could script a ⌘S, ↩︎, ⌃⇥ (save, confirm, next tab, repeat). – grg Jan 13 '14 at 21:44
1

The intended URLs can be passed into the action by the Get Specified URLs action, or one of the other Safari actions to get web addresses. Getting text works as well.

2
  • Brilliant, just did that. Is it possible to have Automator (it is a long shot) to, after opening all these webpages, save each one as a .webarchive (+S, confirm)? Thanks. – JFW Jan 13 '14 at 21:40
  • Also is it possible to make Safari open a new window before starting this sequence of commands? (I've already found Launch Application --> Safari. Just need to do this.) – JFW Jan 13 '14 at 21:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .