Hi -
Let me begin by saying I’m learning quite a bit from the experienced developers on this forum. You are all great teachers, demonstrating the power of AppleScript by example after example and it is an incredible resource for someone like me – an experienced developer with skills that are very strong in a totally different type of “programming” (my specialty is optimizing SQL for faster – preferably sub second – execution). I have several of the recommend books on the way and I’ve been reading the excellent guides linked to here. Again - I profusely thank everyone who has taken the time to aid anyone learning because you helped not just that person, but everyone who came along later (like me).
There are some basics that I can’t find in a simple FAQ – so I thought I’d ask here and post a summary in several of my blogs that are most visited along with a link to the posts here that provide the details.
- That little character that looks like a “Return” symbol - what is that and why is it used?
- I found the great sample libraries here http://applescript.bratis-lover.net/library/ and I’m wondering if there is a more effective way to reference script libraries. The examples provided there count on the scpt files being in specific locations. Is there a “path” nomenclature for scripts where I can store libraries that would work consistently when deploying a packaged script to a client or should I just include the script libraries (like the string manipulation one) in the local folder that the script I write will live in, which in my case would be ~/Library/Application Scripts/com.apple.mail ?
- With your vast experience, are there reasons you’d avoid AppleScript in favor of Perl or Ruby to do small amounts of string manipulation (as they are definitely faster for handling strings in many cases)?
Thanks again for everything - I’m so thrilled to have been accepted to this community and I promise to do more searching, less posting of questions so you folks aren’t repeating yourselves on the basics over and over. I see already I have a lot of reading to do!
All the best,
Christopher
Model: MacBookPro13,3
Browser: Safari 602.2.14
Operating System: Mac OS X (10.10)