hey people, i just finished with a script that does the same thing as jarvas in the movie Iron Man, the only real difference is the voice synthesizing, so it doesn’t sound like him, but it uses the system voice on your computer. There are some minor, differences to, like the fact that it opens up thunderbird, and itunes plays music from a playlist - in this case “Skillet” (favorite band). You might want to edit it alittle to fit what you want. If there is any updates to this script, please post here or contact me some how. It totals to about 92 Kb
any way here is the script:
(*This script is copyright by Curtranhome - All Rights Reserved - Complete Access to this script is for everyone, but will need to present the script to Curtranhome*)
tell application "iTunes"
	activate
	play the playlist ("Skillet")
end tell
set volume 6
delay (10)
set weatherurl to "http://weather.yahoo.com/"
set city to "Sacramento CA"
tell application "Safari"
	activate
	make new document with properties {URL:weatherurl}
	repeat
		set docstate to (do JavaScript "document.readyState" in document 1)
		if docstate is "complete" then
			exit repeat
		end if
	end repeat
	delay 5
	do JavaScript "document.forms[2].elements[0].value = \"" & city & "\"" in document 1
	do JavaScript "document.forms[2].elements[1].click()" in document 1
	delay 5
	set websitesource to source of document 1
	close document 1
	set todayoffset to offset of "<strong>Today:</strong>" in websitesource
	set partwebsitesource to (characters todayoffset through -1 of websitesource) as text
	set listoffset to offset of "F" in partwebsitesource
	set todayweather to (characters 26 through (listoffset - 1) of partwebsitesource) as text
end tell
tell application "Thunderbird" to activate
delay (10)
(*Resize windows of iTunes, Safari and Thunderbird*)
tell application "Finder"
	set screen_resolution to bounds of window of desktop
	set screen_width to item 3 of screen_resolution
	set screen_height to item 4 of screen_resolution
end tell
set desired_width to 1000
set side_space to screen_width - desired_width
set left_bound to (side_space / 2)
set right_bound to left_bound + desired_width
set bottom_bound to screen_height
set top_bound to 22 (* for the menu bar *)
try
	tell application "iTunes"
		activate
		set the bounds of the first window to {left_bound, top_bound, right_bound, bottom_bound}
	end tell
end try
try
	tell application "Thunderbird"
		activate
		set the bounds of the first window to {left_bound, top_bound, right_bound, bottom_bound}
	end tell
end try
delay (5)
(*Say the Date*)
set myDate to get (current date)
set myMonth to get month of (current date)
set myDay to get day of (current date)
set myYear to get year of (current date)
if myDay is 1 then
	say ("Today is: " & myMonth & " 1st - " & myYear & "!")
else if myDay is 2 then
	say ("Today is: " & myMonth & " 2nd - " & myYear & "!")
else if myDay is 3 then
	say ("Today is: " & myMonth & " 3rd - " & myYear & "!")
else if myDay is greater than 3 then
	say ("Today is: " & myMonth & "  " & myDay & "th- " & myYear & "! ")
else if myDay is 31 then
	say ("Today is: " & myMonth & " 31st " & myYear & "!")
else if myDay is 21 then
	say ("Today is: " & myMonth & " 21st " & myYear & "!")
else if myDay is 22 then
	say ("Today is: " & myMonth & " 22nd " & myYear & "!")
else if myDay is 23 then
	say ("Today is: " & myMonth & " 23rd " & myYear & "!")
else
	say ("There is something wrong with the date applescript")
end if
(*say the current weather - scripted above*)
tell me
	say "and the weather is: " & todayweather & " degrees"
end tell
(*say the current time*)
set myHour to get hours of (current date)
set myMinute to get minutes of (current date)
if myHour is 1 then
	say ("it is now one-" & myMinute & " -A-M!")
else if myHour is 2 then
	say ("it is now two-" & myMinute & " -A-M!")
else if myHour is 3 then
	say ("it is now three-" & myMinute & " -A-M!")
else if myHour is 4 then
	say ("it is now four-" & myMinute & " -A-M!")
else if myHour is 5 then
	say ("it is now five-" & myMinute & " -A-M!")
else if myHour is 6 then
	say ("it is now six-" & myMinute & " -A-M!")
else if myHour is 7 then
	say ("it is now seven-" & myMinute & " -A-M!")
else if myHour is 8 then
	say ("it is now eight-" & myMinute & " -A-M!")
else if myHour is 9 then
	say ("it is now nine-" & myMinute & " -A-M!")
else if myHour is 10 then
	say ("it is now ten-" & myMinute & " -A-M!")
else if myHour is 11 then
	say ("it is now eleven-" & myMinute & " -A-M!")
else if myHour is 12 then
	say ("it is now twelve-" & myMinute & " -PM!")
else if myHour is 13 then
	say ("it is now one-" & myMinute & "-PM!")
else if myHour is 14 then
	say ("it is now two-" & myMinute & "-PM!")
else if myHour is 15 then
	say ("it is now three-" & myMinute & "-PM!")
else if myHour is 16 then
	say ("it is now four-" & myMinute & "-PM!")
else if myHour is 17 then
	say ("it is now five-" & myMinute & "-PM!")
else if myHour is 18 then
	say ("it is now six-" & myMinute & "-PM!")
else if myHour is 19 then
	say ("it is now seven-" & myMinute & "-PM!")
else if myHour is 20 then
	say ("it is now eight-" & myMinute & "-PM!")
else if myHour is 21 then
	say ("it is now nine-" & myMinute & "-PM!")
else if myHour is 22 then
	say ("it is now ten-" & myMinute & "-PM!")
else if myHour is 23 then
	say ("it is now eleven-" & myMinute & "-PM!")
else if myHour is 0 then
	say ("it is now twelve-" & myMinute & "-A-M!")
else
	say ("Error: there is something wrong with the time applescript number one.")
end if
delay (600)
(* Quit Thunderbird/Mail *)
say "Thunderbird will now quit"
tell application "Thunderbird" to quit
(*say the time after everything is done*)
set myHour to get hours of (current date)
set myMinute to get minutes of (current date)
if myHour is 1 then
	say ("it is now one-" & myMinute & " -A-M!")
else if myHour is 2 then
	say ("it is now two-" & myMinute & " -A-M!")
else if myHour is 3 then
	say ("it is now three-" & myMinute & " -A-M!")
else if myHour is 4 then
	say ("it is now four-" & myMinute & " -A-M!")
else if myHour is 5 then
	say ("it is now five-" & myMinute & " -A-M!")
else if myHour is 6 then
	say ("it is now six-" & myMinute & " -A-M!")
else if myHour is 7 then
	say ("it is now seven-" & myMinute & " -A-M!")
else if myHour is 8 then
	say ("it is now eight-" & myMinute & " -A-M!")
else if myHour is 9 then
	say ("it is now nine-" & myMinute & " -A-M!")
else if myHour is 10 then
	say ("it is now ten-" & myMinute & " -A-M!")
else if myHour is 11 then
	say ("it is now eleven-" & myMinute & " -A-M!")
else if myHour is 12 then
	say ("it is now twelve-" & myMinute & " -PM!")
else if myHour is 13 then
	say ("it is now one-" & myMinute & "-PM!")
else if myHour is 14 then
	say ("it is now two-" & myMinute & "-PM!")
else if myHour is 15 then
	say ("it is now three-" & myMinute & "-PM!")
else if myHour is 16 then
	say ("it is now four-" & myMinute & "-PM!")
else if myHour is 17 then
	say ("it is now five-" & myMinute & "-PM!")
else if myHour is 18 then
	say ("it is now six-" & myMinute & "-PM!")
else if myHour is 19 then
	say ("it is now seven-" & myMinute & "-PM!")
else if myHour is 20 then
	say ("it is now eight-" & myMinute & "-PM!")
else if myHour is 21 then
	say ("it is now nine-" & myMinute & "-PM!")
else if myHour is 22 then
	say ("it is now ten-" & myMinute & "-PM!")
else if myHour is 23 then
	say ("it is now eleven-" & myMinute & "-PM!")
else if myHour is 0 then
	say ("it is now twelve-" & myMinute & "-A-M!")
else
	say ("Error: there is something wrong with the time applescript number 2.")
end if
(*End of Script*)
Model: Power Mac
Browser: Safari 531.9
Operating System: Mac OS X (10.4)