Inside Leopard: Safari and Automator
#1
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
#2
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
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
#3
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
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
#4
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?
I'd appreciate it if somebody could tell me if it is possible to do that anymore?
#5
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... ( @ _ @)'
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... ( @ _ @)'
#7
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.
#9
Posted 25 October 2007 - 01:10 PM
I agree totally with Kresh & Ubert regarding Automator 2.
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.
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?This ability to record actions in Automator is a long-awaited addition.
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.
#12
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 "myaccountnumber"
keystroke return
delay 3
keystroke "mypassword"
delay 1
keystroke return
end tell
end tell
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 "myaccountnumber"
keystroke return
delay 3
keystroke "mypassword"
delay 1
keystroke return
end tell
end tell
#13
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.
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.
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.
#14
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 "myaccountnumber"
keystroke return
delay 3
keystroke "mypassword"
delay 1
keystroke return
end tell
end tell
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 "myaccountnumber"
keystroke return
delay 3
keystroke "mypassword"
delay 1
keystroke return
end tell
end tell



Sign In
Register
Help


MultiQuote