Macworld Forums: Inside Leopard: Safari and Automator - Macworld Forums

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Inside Leopard: Safari and Automator

#1 User is offline   MW Forums Icon

  • Power User
  • PipPipPipPip
  • Group: Members
  • Posts: 12,220
  • Joined: 02-August 04

Posted 24 October 2007 - 11:20 PM

Many of the changes in Safari 3 have been known since Apple released a beta of the browser in June. Many of the changes in Automator 2 have been overshadowed by other additions and enhancements in Leopard. Rob Griffiths evaluates both OS X mainstays, looking at what's new with each app. more
0

#2 User is offline   kresh Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 222
  • Joined: 11-October 05

Posted 25 October 2007 - 02:55 AM

Thanks Rob. That was a very nice piece on Automator 2.
Automator in Tiger has been a hit and miss affair for me in Tiger. Sometimes it's just plain akward to get Automator to do what you want. Automator 2 sounds like a huge improvement, and you're right, I haven't heard it's features trumpted much.
These are the kinds of articles that keep me coming to MacWorld! /forums/ubbthreads/images/graemlins/grin.gif
0

#3 User is offline   zwei Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 221
  • Joined: 05-February 07

Posted 25 October 2007 - 08:32 AM

I have found a lot of instances where my automator actions end up being 3 easy automator actions with a custom AppleScript at the end to finish it off. I'm used to AppleScript, so it doesn't really matter all that much ...but Automator 2 sounds like things are going to get a heck of a lot easier!
Automation is one of the biggest reasons I love the Mac. I'm very happy to see they are still focused on making it better in each release. /forums/ubbthreads/images/graemlins/cool.gif
0

#4 User is offline   Terrin Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 357
  • Joined: 04-May 06

Posted 25 October 2007 - 09:45 AM

With OS 9 I used to have a ton of useful scripts. For instance, if I wanted to go to an online bank account. I would record a script that launched the browser, went to the website, and logged me into my account. That would save me a lot of time because once the script was recorded all I would have to do is double click on the script. Moreover, all that was necessary to record the script was me hitting a record button. From that point on, it would record all my actions. With the switch over to OSX, I lost the ability to record scripts like that. At least, it wasn't as clear on how to do this, and scripts I tried to record wouldn't work.
I'd appreciate it if somebody could tell me if it is possible to do that anymore?
0

#5 User is offline   uchuugaka Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 505
  • Joined: 12-April 05

Posted 25 October 2007 - 09:49 AM

You forgot to mention the ability to rearrange tabs and the other assorted tabbed browsing improvements...
Safari 3 beta has been a joy, though the occasional crash often wiped the View settings.
I'm sweating the wait or update to Leopard... buy it ( or jump on a new machine ) or wait a few weeks to see what others suffer first.
Gotta get my hands on the new dev tools though... ( @ _ @)'
0

#6 User is offline   griffman Icon

  • Advanced Member
  • Icon
  • Group: Moderators
  • Posts: 8,605
  • Joined: 09-January 01

Posted 25 October 2007 - 10:11 AM

Given that the Safari 3 Public Beta has been out for months, and we've covered its major features here a couple times, I focused on the few things that are totally new in 10.5 -- mainly the web clip feature.
-rob.

#7 User is offline   Ubert Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 10
  • Joined: 25-October 07

Posted 25 October 2007 - 10:26 AM

Great write up on Automator. I'm so glad that Automator is getting an overhaul. I have created a couple dozen Automator apps in which I've had to delve into AppleScript. It's good to know that now I should be able to just record an action rather than trying to combine Automator and AppleScript to do the same thing.
0

#8 User is offline   montgomery_burns Icon

  • Veteran
  • PipPipPip
  • Group: Members
  • Posts: 1,060
  • Joined: 31-August 04

Posted 25 October 2007 - 10:34 AM

I've read that the new version of Safari has controls for zooming PDF files viewed in the browser. Does it also have controls for rotating a PDF 90 degrees clockwise or counterclockwise?
0

#9 User is offline   Schneb Icon

  • Veteran
  • PipPipPip
  • Group: Members
  • Posts: 1,727
  • Joined: 10-December 02

Posted 25 October 2007 - 01:10 PM

I agree totally with Kresh & Ubert regarding Automator 2.
Quote:

This ability to record actions in Automator is a long-awaited addition.

You're not just whistling Dixie. I've been waiting and crying for this ever since OS6 and Macromaker!! Remember the little cassette recorder interface?
As for Safari, it's still not going to replace Firefox. Why? No support for extensions. I cannot live without my AdBlocker and Google Notebook button.
0

#10 User is offline   Imaginos1892 Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 30
  • Joined: 06-February 07

Posted 25 October 2007 - 02:53 PM

Does "Reopen All Windows And Tabs From Last Session" include history within the tabs?
-----------------
Nobody expects the Spanish Inquisition!!
0

#11 User is offline   tatilsever Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 126
  • Joined: 09-June 06

Posted 25 October 2007 - 03:47 PM

Can Safari-3 let me shift focus to the tab created by "Open New Tab", but keep the focus on the current tab when I "Open Link in New Tab"?
0

#12 User is offline   ohno Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 234
  • Joined: 29-November 06

Posted 25 October 2007 - 04:39 PM

I have a script for that very same purpose. Try this;

tell application "Safari"
activate
make new document
set URL of document 1 to "https://www.yourbankloginpage.com"
end tell

--wait for the page to load. Your delay time may vary.
delay 5

--this is with my bank asking for my account number and then my password
tell application "System Events"
tell process "Safari"
keystroke "my
accountnumber"
keystroke return
delay 3
keystroke "my
password"
delay 1
keystroke return
end tell
end tell
0

#13 User is offline   Terrin Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 357
  • Joined: 04-May 06

Posted 25 October 2007 - 05:22 PM

I do not know why people keep saying that. Safari does support extensions. There just aren't as many of them as there are for Firefox. For instance, I use the Saft plugin for Safari. It greatly enhances the feature set on Safari, including blocking ads. Check out:
http://pimpmysafari.com/plugins/
As far as Google Notebook goes for Safari, I suspect if enough people complain, Google will eventually develop a plugin for Safari. The issue is Google, not Apple.
Quote:

As for Safari, it's still not going to replace Firefox. Why? No support for extensions. I cannot live without my AdBlocker and Google Notebook button.


0

#14 User is offline   Terrin Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 357
  • Joined: 04-May 06

Posted 25 October 2007 - 05:27 PM

Nice, I will try this. Yet, I still wish I could make that happen by hitting a record button. Hitting a record button meant I didn't need to know scripting language. Banking is just one of many useful scripts I had.
Quote:

I have a script for that very same purpose. Try this;

tell application "Safari"
activate
make new document
set URL of document 1 to "https://www.yourbankloginpage.com"
end tell

--wait for the page to load. Your delay time may vary.
delay 5

--this is with my bank asking for my account number and then my password
tell application "System Events"
tell process "Safari"
keystroke "my
accountnumber"
keystroke return
delay 3
keystroke "my
password"
delay 1
keystroke return
end tell
end tell


0

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users