Vorheriges Thema anzeigen :: Nächstes Thema anzeigen |
Autor |
Nachricht |
macgix •--->


Anmeldedatum: 13.12.2000 Beiträge: 206 Wohnort: K–ln
|
Verfasst am: 21.08.2001 - 14:52 Titel: Explorercache löschen - Fuer's Onlinebanking |
|
|
Folgendes Skript löscht den Cache wirklich und ruft die zuletzt geöffnete Web-Seite wieder auf (nur die des Fensters im Vordergrund):
[font=geneva]on run
set tPath to (path to preferences folder) & "MS Internet Cache:Cache.waf" as text
set tURL to false
tell application "Finder" to set tList to name of processes whose visible is true
if "Internet Explorer" is in tList then
tell application "Internet Explorer"
activate
set tURL to do script "javascript:window.location;"
quit
end tell
repeat
tell application "Finder" to set tList to name of processes whose visible is true
if "Internet Explorer" is not in tList then exit repeat
end repeat
end if
try -- Ist vielleicht schon gelöscht worden
deleteFile tPath
on error errtext number errnum
activate
-- File not found erlauben
if errnum is not -43 then display dialog ¨
( "Fehler:" & return & return & "\"" & errtext & "\"" & return & return & errnum) ¨
buttons { "Uff" } default button 1 giving up after 5 with icon stop
end try
if tURL is false then tell application "Internet Explorer" to GetURL tURL
end run
[/font]
Benötigt Jon's Commands
Njoy!
Thomas _________________ [macgix] |
|
Nach oben |
|
 |
|
|
Du kannst keine Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum nicht antworten. Du kannst deine Beiträge in diesem Forum nicht bearbeiten. Du kannst deine Beiträge in diesem Forum nicht löschen. Du kannst an Umfragen in diesem Forum nicht mitmachen.
|
Powered by phpBB © 2001, 2002 phpBB Group Deutsche Übersetzung von phpBB.de
|
|
|