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


Click here to return to the 'Enhancements' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Enhancements
Authored by: MtnBiker on Jan 24, '03 11:38:02AM

i've been doing this for years and have evolved for Explorer, Safari, and Netscape. Started this when Frontier showed me how to do this.

Enhancement: Different sites for different days. I have sites that I check every second, third, or fifth day. I also check some sites on the 1st and 15th. If I don't check on those days, i just miss them, but these are low activity sites I want to look at periodically..

Once you figure out the date thing this is all fairly easy. I have the script in my menu script window and manually activate it.

I've edited my script to show how I do it. I hope I haven't taken out any critical parts:

set theDate to current date
weekday of theDate --result: Saturday eg
set dayMonth to day of theDate

-- twice a month
if dayMonth = 11 or dayMonth = 23 then
open location
open location
end if

if (dayMonth mod 3) = 0 then --- sites checked every day divisible by 3
open location
end if

if (dayMonth mod 5) = 0 then --- sites checked every day divisible by 5
open location
open location
end if

if (dayMonth mod 2) = 1 then -- odd days

open location
open location
else -- even days
open location
open location
end if

-- every day
open location "http://www.macosxhints.com"
open location "http://www.latimes.com/"
open location "http://www.versiontracker.com/"

if weekday of theDate is not Sunday then -- don't open these sites on Sunday.
open location "http://deal-mac.com/"
end if



[ Reply to This | # ]
Enhancements
Authored by: xyz3 on Jan 24, '03 02:44:07PM

Here is my version (Note the ignoring application responses) :

property kAllURL : {"http://www.versiontracker.com/macosx/", "www.macosxhints.com/"} --add more as needed - or read from a text file if you are so inclined

on run
repeat with kURL in kAllURL
ignoring application responses
open location (kURL as string)
end ignoring
end repeat
end run



[ Reply to This | # ]
Enhancements
Authored by: palnudb on Jan 24, '03 03:13:33PM

I have added my locations, but the script opens them one after another in the same window in IE 5 on my OS9 box. how can I fix this?



[ Reply to This | # ]
Enhancements
Authored by: palnudb on Jan 24, '03 06:17:48PM

I reworked for just IE in OS9 and used openURL and toWindow commands fixed it right up.
8)



[ Reply to This | # ]