Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Julianqwe

macrumors newbie
Original poster
May 24, 2011
5
0
Hi,
I'm looking for something simple that, on at a time, can show 5 different websites every 30 seconds.

Does anyone know anything I can use?

It must be running on a macmini connected to flat screen.

Thanks in advance Julian
 
Thank you for your reply!
I'm afraid I don't know how you make an applescript.
Is that something you do in automator?

Does anyone know if it is possible to make it in html?
 
Try this in AppleScript Editor :

Code:
set url1 to "http://www.google.com/"
set url2 to "http://www.apple.com/"
set url3 to "http://en.wikipedia.org/wiki/Main_Page"

repeat
	tell application "Safari"
		open location url1
		delay 5
		open location url2
		delay 5
		open location url3
		delay 5
	end tell
end repeat

Just add your own URL's and change the delay to whatever suits.
 
Wauv this is just what I wanted!!

But I have one thing left to wish for.

Is it possible to make the new website load in the same safari window? :)
Now it opens a new window for every website.

Thank you so much!
 
Add a section to open each URL first. Put it just before the repeat.

Code:
tell application "Safari"
	open location url1
	tell window 1
		set current tab to (make new tab with properties {URL:url2})
		set current tab to (make new tab with properties {URL:url3})
	end tell
end tell
 
Thanks allot! Just tried it and it worked really great!!!

However does anyone now why I can't quit the program that I have made with applescript?

I can't use cmd + Q ?
 
Oh found it on google.

You have to press cmd + .

Thanks Jimmy and Miles for your help :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.