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
Apple Computing Products:
macOS - Operating System
Apple-Script question
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="Markuse" data-source="post: 1239116" data-attributes="member: 202199"><p>Hello everybody,</p><p></p><p>I have a question regarding Apple-script.</p><p>For the more advanced users it should be a simple task i guess.</p><p>Basically i need a script that refreshes Safari (Firefox would be ok, as well) automatically and deletes the cookies afterwards... what i have by now is this:</p><p></p><p>repeat</p><p> tell application "Safari"</p><p> activate</p><p> end tell</p><p> </p><p> tell application "System Events"</p><p> tell process "Safari"</p><p> keystroke "r" using {command down}</p><p> </p><p> delay 120</p><p> end tell</p><p> end tell</p><p>end repeat</p><p></p><p>I just can't figure out how the shortcut for "delete cookies" can be done...</p><p></p><p>Thank you very much for your help in advance... oh and just in case, this is no script to be used to bring a server down or similar. It's to help me checking my planned music-social-network platform.</p><p></p><p>Cheers,</p><p></p><p>m</p></blockquote><p></p>
[QUOTE="Markuse, post: 1239116, member: 202199"] Hello everybody, I have a question regarding Apple-script. For the more advanced users it should be a simple task i guess. Basically i need a script that refreshes Safari (Firefox would be ok, as well) automatically and deletes the cookies afterwards... what i have by now is this: repeat tell application "Safari" activate end tell tell application "System Events" tell process "Safari" keystroke "r" using {command down} delay 120 end tell end tell end repeat I just can't figure out how the shortcut for "delete cookies" can be done... Thank you very much for your help in advance... oh and just in case, this is no script to be used to bring a server down or similar. It's to help me checking my planned music-social-network platform. Cheers, m [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Apple-Script question
Top