Re: Open Safari and Script
Re: Open Safari and Script
- Subject: Re: Open Safari and Script
- From: Michelle Steiner <email@hidden>
- Date: Fri, 28 Dec 2007 23:47:05 -0700
On Dec 28, 2007, at 11:28 PM, John Koch wrote: Wow don't count your chickens before they hatch....This email below looked like it would be right but it gives me an error
tell application "Script Editor" activate make new document end tell
tell application "Safari" if (count of windows) is greater than 0 then close windows end tell
It doesn't give me any errors. It would help a lot if you told us what the error was, and on what line it occurred.
-- Michelle
-- Help, I've caught a cult, and can't get out!
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden