Passing quotes “do shell script” in AppleScript… Again
问题 I have the following line in AppleScript set msgDate to (current date) as string set removalString to "\"rm -f ~/Library/LaunchAgents/com.playlister.\"" as string do shell script "echo do shell script " & removalString & msgDate & ".plist" & ">> ~/Library/Playlister/" & msgDate & ".applescript" What I'm trying to do, yet again, is pass the string do shell script "rm -f ~/Library/LaunchAgents/com.playlister.whateverthedatestampis.plist" with the quotes in the correct place. I'm moving stuff