tell application "System Events"
name of current user
end tell
tell application "System Events"
set answer to name of current user
end tell
tell application "Finder"
delete ((POSIX file "/Users/answer/Desktop/untitled folder"))
end tell
tell application "Finder"
empty the trash
end tell
मैं इस विशिष्ट फ़ोल्डर को हटाने के लिए एक सार्वभौमिक कोड बनाना चाहता हूं लेकिन मैं उद्धृत मार्ग में अपना चर (= उत्तर) काम नहीं कर सकता।
answer
।
delete ((POSIX file "/Users/answer/Desktop/untitled folder"))