Apple script to delete the Safari Bookmarks
This below code is not working In script editor to delete the bookmarks. any help or suggestion please.
tell application "Safari"
activate
delay 1
tell application "System Events"
keystroke bookmarkName
delay 1
keydown control
key code 63
key up control
delay 1
key code 125
delay 1
keystroke return
delay 1
end tell
end tell