Re: Safari Question
Re: Safari Question
- Subject: Re: Safari Question
- From: Nathan Day <email@hidden>
- Date: Sun, 13 Jul 2003 22:14:21 +0930
You could save a script as an applet and add it to the login items thru
System Preferences. Getting Safari to go to load a page thru
applescripts is easy enough
tell application "Safari"
activate
set URL of document 1 to "
http://www.apple.com/"
end tell
to check if when it was last active, I don't think this is possible
unless you can do something with javascripts. You should be able to
keep track of when your AppleScript was last run by setting the a
property of your script with the current time, properties are
maintained between execution of your script, though I am not sure how
to get the current date. You could you use do 'do shell script ' and
the terminal command 'time' but trying to compare times like this would
be difficult, it would be easier if there is a pure AppleScript way of
getting the current date since you can compare 'date' data types.
On Friday, July 11, 2003, at 06:04 AM, William Miller wrote:
is it possible to script safari to launch at startup and go to a
specific url if it has not been active for a specific amount of time?
I am very new to apple script...any help would be great...thanks
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
Nathan Day
http://homepage.mac.com/nathan_day/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.