You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
do shell script "rm -rf webloc_files && mkdir webloc_files"
tell application "Finder"
set current_path to container of (path to me) as text
end tell
set theWebloc to (choose file with prompt "Please select .webloc file(s)" of type "webloc" default location (path to desktop) with multiple selections allowed)
tell application "Finder"
duplicate theWebloc to current_path & "webloc_files"
end tell
do shell script "cd webloc_files && ./../webloc2url.sh"
set weblocOne to first alias of theWebloc
set posixWebloc to POSIX path of weblocOne
tell application "Finder"
set containerDir to POSIX path of (get (container of (weblocOne)) as text)