Aus Safari Links als .url per Script speichern -> seit heute geht nicht mehr

masdeirf

Mitglied
Thread Starter
Dabei seit
25.12.2003
Beiträge
24
Reaktionspunkte
1
Hallo,

ich nütze folgenden Script um Links aus Safari als .url zu sichern:
Code:
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

Ich nütze ihn auf drei Macs. Seit heute erhalte ich die Fehlermeldung "Die Variable "theURL" ist nicht definiert" auf allen Macs. An den Macs selber sind keine Veränderungen vorgenommen worden (Updates, etc.)

Es ist zum ...
DANKE und schöne Grüsse
 
Zurück
Oben Unten