tell application "Finder"
activate
make new Finder window
set target of front Finder window to folder "test" of desktop
get items in front Finder window
end tell
Hi All! I’d like to learn ways I can manipulate the results of my scripts. For instance, the result of the above script is:
{document file "Untitled.rtf" of folder "Test" of folder "Desktop" of folder "CFCRC-Tech" of folder "Users" of startup disk of application "Finder"}
How can I then rename the document file my script has just produced using the get items line?