You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ontheSplit(theString, theDelimiter)
-- save delimiters to restore old settingssetoldDelimiterstoAppleScript's text item delimiters-- set delimiters to delimiter to be usedsetAppleScript's text item delimitersto theDelimiter
-- create the arraysettheArraytoeverytextitemof theString
-- restore the old settingsetAppleScript's text item delimitersto oldDelimiters
-- return the resultreturn theArray
end theSplit
tellapplication"Finder"setdestFolderto (system attribute"DEST_FOLDER")
setfilestrto"{query}"setfileListtomy theSplit(filestr, ";")
repeatwiththeItemin fileList
setcpStrto"cp "& theItem &""& destFolder
do shell script cpStr
end repeatend tell
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Beta Was this translation helpful? Give feedback.
All reactions