Re: Safari Question
Re: Safari Question
- Subject: Re: Safari Question
- From: Joshua See <email@hidden>
- Date: Mon, 14 Jul 2003 09:40:20 -0500
On Sunday, July 13, 2003, at 11:12 PM, Rob Jorgensen wrote:
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
At 10:14 PM +0930 7/13/03, Nathan Day wrote:
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.
Using an idle handler, maybe the script could check the Safari history
file's modification date to see if it has changed since the last
check. If the date has changed, Safari is in use.
You might want to look to Netscape/Mozilla instead, which have a
"register URL echo" feature in their dictionaries intended specifically
for tasks like this.
--
Sincerely,
Joshua See
_______________________________________________
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.