| EverythingDigital | RSS Feed | Flickr Photos | What Is Podcasting? |


« Blog Editor Reccomendations? | Main | Quotes of the Day 5.18.05 »

May 17, 2005

Vendetta Online User Tracker

For all you Vendetta Online players out there, this is an applescript that, when opened, asks for the name of a user. Once entered, the app will open the vendetta active users site in Safari (which you can collapse to the dock if you wish) and refreshes it to see when the selected user comes online. It will then notify you via a dialog box that the user is now online.

DOWNLOAD: VOTracker | VOTracker Source


--VOTracker v1.0

--Created by Alan Joyce
--http://everythingdigital.org

--Licensed Under Creative Commons 2005

copy text returned of (display dialog "What user would you like to track?" default answer "") to theUser

repeat
tell application "Safari"
try
get document "Vendetta Online - Players online now"
on error
open document
delay 10
set the URL of document "Failed to open page" to "http://vendetta-online.com/h/active.html"
end try
delay 10
set the URL of document "Vendetta Online - Players online now" to "http://vendetta-online.com/h/active.html"
delay 10
set docText to text of document "Vendetta Online - Players online now"
end tell
tell application "Finder"
if docText contains theUser then
copy button returned of (display dialog theUser & " is now logged into Vendetta.") to theButton
end if
end tell
try
if theButton is "OK" then
exit repeat
end if
end try
delay 60
end repeat

Posted by Alan Joyce at May 17, 2005 08:28 PM

Trackback Pings

TrackBack URL for this entry:
http://www.everythingdigital.org/cgi-bin/mt-tb.cgi/458

Comments

Post a comment




Remember Me?



(You must preview before you post. This is to prevent spam.)