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
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