Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Open new Safari window with an AppleScript application' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Open new Safari window with an AppleScript application
Authored by: larkost on Dec 10, '03 12:01:58PM
Oohhh.. fun AppleScript for a change!

set aWindowIsOpen to false
tell application "Safari"
	repeat with thisWindow in windows
		if (not miniaturized of thisWindow) then
			set aWindowIsOpen to true
		end if
	end repeat
	
	if (aWindowIsOpen) then
		activate
	else
		make new document with properties {URL:"http://www.macosxhints.com"}
	end if
end tell
Clicking on this script should do what you want.

[ Reply to This | # ]