Applescript: Admin Privileges
It's my understanding that you can only use "with administrator privileges" for a shell script.
In my AppleScript, I have several statements as follows:
duplicate POSIX file "/path/to/file" to POSIX file "/path/to/file" with replacing
The new location of these files requires an administrator username and password to modify it. The script runs without error and works exactly as I intended, except that Finder asks the user to enter their password for every single file that's moved. Is there any way I can just have them enter the password once to grant permission to move all the files?
MacBook Pro with Retina display-OTHER, OS X Mavericks (10.9.5), 15 in, Late 2013, 256GB, 8GB RAM