Re: Simple Script Request
Re: Simple Script Request
- Subject: Re: Simple Script Request
- From: Malcolm Fitzgerald <email@hidden>
- Date: Fri, 10 Mar 2006 13:14:10 +1100
On 10/03/2006, at 12:06 PM, Takaaki Naganoya wrote:
tell application "Internet Explorer"
try
set bList to ListWindows
on error
quit
end try
end tell
ListWindows returns a list. If there are no windows it returns an empty
list not an error. This works.
tell application "Internet Explorer"
if (ListWindows) is {} then OpenURL "" toWindow 0 -- open home
page in new window
end tell
malcolm
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden