Hi All,
I wrote an application in applescript to copy files from a public idisk folder to my harddrive and everything works fine.
Now I want to execute the app on another account with parental control, so with no admin rights. Everything of the application works good only the advise to copy the files doesn’t work(because of no admin rights).
How can I solve the problem?
This is a the critical part of what I wrote:
on copymp3(path_of)
delay 3
tell application “Finder”
set mp3list to every item of folder path_of whose name extension is “mp3”
set anzahl to count mp3list
set var to 1
set counter to 0
if anzahl > 0 then
repeat while var ≤ anzahl
try
move item var of mp3list to folder “Macintosh HD:Users:“username”Testordner:”
set counter to counter + 1
end try
set var to var + 1
end repeat
end if
if counter > 0 then
numberofdata(counter as string) of me
else
noupdateinfo() of me
end if
eject path_of
end tell
end copymp3