Hello applescript users!
There is most likely a very simple answer to this, but i cannot find code that allows you to tell applescript to change the name of "FolderA" to "BFolder" (as an example).
Here is a sample scenario that i want to use it in:
Where
-- (*TEXTHERE*)
is just there to note what i want there. The (*ETC*) is other code that is unnecessary in the scenario.
Thanks everyone!
CountrySeacow
There is most likely a very simple answer to this, but i cannot find code that allows you to tell applescript to change the name of "FolderA" to "BFolder" (as an example).
Here is a sample scenario that i want to use it in:
Code:
tell application "Finder"
activate
if exists folder "Macintosh HD:Users:USERNAME:Library:Application Support:FolderA" then
--(*rename "FolderA" to "BFolder"*)
else
--(*ETC*)
end if
end tell
Where
-- (*TEXTHERE*)
is just there to note what i want there. The (*ETC*) is other code that is unnecessary in the scenario.
Thanks everyone!
CountrySeacow