Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How To Manipulate A Result In Applescript

Open this Scriplet in your Editor:

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:



Open this Scriplet in your Editor:

{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?

MacBook Pro with Retina display, OS X Mavericks (10.9.5), 1 TB SSD Drive and Time Capsule

Posted on Sep 3, 2015 10:45 AM

Reply
2 replies

How To Manipulate A Result In Applescript

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.