AppleScript path to application support
Hi, this script works but the folder I want to move "Omnis" ends up in the global "application support" folder.
I'm trying to get it moved to the users "application support" folder.
I can't figure out how to define, and set, the path to [current user]/Library/application support
-----
set dT to (path to desktop) -- this returns the current user's desktop path
set a to (path to application support) -- this returns the current user's "application support" folder
tell application "Finder"
set sourceFolder to folder "Omnis" of dT
set destFolder to folder a
move sourceFolder to destFolder with replacing
end tell
Mac mini, macOS 10.15