Hi Scripting Gods,
Still new to Applescript.
Is there a way to reverse a list or string or alias so I can get the reverse order of a file/folder location?
eg
“UserSpace:Users:UserName:Desktop:TestApp:folder_Folder:Personal Folders:Deleted Items” to
“Deleted Items:Personal Folders:folder_Folder:TestApp:Desktop:UserName:Users:UserSpace”
set thePath to "UserSpace:Users:UserName:Desktop:TestApp:folder_Folder:Personal Folders:Deleted Items"
set {TID, text item delimiters} to {text item delimiters, ":"}
set thePath to reverse of text items of thePath as Unicode text
set text item delimiters to TID