Hallo Zusammen,
da ich nicht nur vor dem Mac sitze aber am Mac hauptsächlich Safari nütze und der nur .webloc kann habe ich nach einer Lösung gesucht um .webloc Dateien in .url Dateien zu konvertieren.
Wünschenswert wäre ein Droplet und ein Script für Ordneraktionen
Die Lösung habe ich auch gefunden:
http://www.macosxhints.com/article.php?story=20040728185233128
leider bekomme ich immer die Fehlermeldung:
"could not delete the file currently at the destination (-35)"
Ein Rechteproblem ist es aber nicht, es passiert egal wo ich das Script ausführe und manuell kann ich die Dateien löschen.
Jetzt nütze ich folgendes Script um direkt aus Safari Links als .url zu speichern:
DANKE und schöne Grüsse
da ich nicht nur vor dem Mac sitze aber am Mac hauptsächlich Safari nütze und der nur .webloc kann habe ich nach einer Lösung gesucht um .webloc Dateien in .url Dateien zu konvertieren.
Wünschenswert wäre ein Droplet und ein Script für Ordneraktionen
Die Lösung habe ich auch gefunden:
http://www.macosxhints.com/article.php?story=20040728185233128
leider bekomme ich immer die Fehlermeldung:
"could not delete the file currently at the destination (-35)"
Ein Rechteproblem ist es aber nicht, es passiert egal wo ich das Script ausführe und manuell kann ich die Dateien löschen.
Jetzt nütze ich folgendes Script um direkt aus Safari Links als .url zu speichern:
HTML:
try
tell application "Safari"
set theURL to URL of (document of window 1)
set theTitle to name of window 1
end tell
-- Pfade ändern: kopieren aus als Unix aus Path Finder
do shell script "echo \"[InternetShortcut]\" > /Volumes/work/download/\"" & theTitle & ".url\""
do shell script "echo \"URL=" & theURL & "\" >> /Volumes/work/download/\"" & theTitle & ".url\""
on error x
activate me
display dialog x
end try
DANKE und schöne Grüsse
Anhänge
Zuletzt bearbeitet: