Sunday, November 27, 2022

#1 2003-04-14 09:49:52 am

Ray Barber
Site Admin
From:: Lake Dallas, Texas
Registered: 2002-11-20
Posts: 352

Safari History is history, pt. 2.

Unlike the following example, this code will delete Safari's history by using the Finder. From the AppleScript Users List.

OS version: OS X


set f to "" & (path to "cusr") & "library:safari:history.plist"
tell app "Finder" to if exists file f then move file f to the trash
tell app "Safari" to quit
do shell script "open -a safari"

Ray Barber
Admin | MacScripter



Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)