Code to capture NOC webpage then display as screensaver.

Applescript Code to takes a snapshot of the Network Operations Center status page. Used URL2Thumb process to capture page image and store as a 1024×768 .jpg file. 1. Using ScriptSaver (ScreenSaver App.) to launch my code which then runs ArtSaver (Secondary Screensaver) to display image captured.

tell application “System Events”
if (exists (process “ScreenSaverEngine”)) then
repeat until (exists (process “ScreenSaverEngine”)) = false
if (exists (process “ScreenSaverEngine”)) then
do shell script “/Applications/Utilities/./url2thumb http://”Server_IP”/em?print_stat_list_384EBF6F00000001 /users/administrator/Temp/NOCmonitor.jpg 1024 768”
delay 30
end if
end repeat
end if
end tell


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s