Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
General Discussions
Switcher Hangout (Windows to Mac)
Safari
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Brown Study" data-source="post: 311542" data-attributes="member: 3889"><p>If you save this as an application, it should work. I made your log-in folder "Del" in the AppleScript, so you'd have to change it to whatever it really is.</p><p></p><p>tell application "Safari"</p><p> quit</p><p>end tell</p><p>tell application "Finder"</p><p> delay 1</p><p> if every item of folder "Safari" of folder "Caches" of folder "Library" of folder "Del" of folder "Users" of startup disk exists then</p><p> delete every item of folder "Safari" of folder "Caches" of folder "Library" of folder "Del" of folder "Users" of startup disk</p><p> end if</p><p> end tell</p></blockquote><p></p>
[QUOTE="Brown Study, post: 311542, member: 3889"] If you save this as an application, it should work. I made your log-in folder "Del" in the AppleScript, so you'd have to change it to whatever it really is. tell application "Safari" quit end tell tell application "Finder" delay 1 if every item of folder "Safari" of folder "Caches" of folder "Library" of folder "Del" of folder "Users" of startup disk exists then delete every item of folder "Safari" of folder "Caches" of folder "Library" of folder "Del" of folder "Users" of startup disk end if end tell [/QUOTE]
Verification
Post reply
Forums
General Discussions
Switcher Hangout (Windows to Mac)
Safari
Top